MCPcopy Create free account
hub / github.com/bbengfort/memfs / GenerateInode

Method GenerateInode

memfs.go:183–185  ·  view source on GitHub ↗

GenerateInode is called to pick a dynamic inode number when it would otherwise be 0. Implements the fuse.FSInodeGenerator interface. Not all filesystems bother tracking inodes, but FUSE requires the inode to be set, and fewer duplicates in general makes UNIX tools work better. Operations where the

(parentInode uint64, name string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected