Commit 98d0cf6b authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Document FileSystemConnector.createChild().

parent bac6e8ed
......@@ -72,6 +72,8 @@ func (me *FileSystemConnector) newInode(isDir bool) *Inode {
return data
}
// createChild() creates a child for given as FsNode as child of 'parent'. The
// resulting inode will have its lookupCount incremented.
func (me *FileSystemConnector) createChild(parent *Inode, name string, fi *os.FileInfo, fsi FsNode) (out *EntryOut, child *Inode) {
if fsi.Inode() == nil {
child = parent.CreateChild(name, fi.IsDirectory(), fsi)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment