Commit 3342667f authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

fuse/nodefs: document the File.SetInode API.

parent 0531d69c
...@@ -129,7 +129,9 @@ type Node interface { ...@@ -129,7 +129,9 @@ type Node interface {
// FileSystem.Create. Include the NewDefaultFile return value into // FileSystem.Create. Include the NewDefaultFile return value into
// the struct to inherit a null implementation. // the struct to inherit a null implementation.
type File interface { type File interface {
// Called upon registering the filehandle in the inode. // Called upon registering the filehandle in the inode. This
// is useful in that PathFS API, where Create/Open have no
// access to the Inode at hand.
SetInode(*Inode) SetInode(*Inode)
// The String method is for debug printing. // The String method is for debug printing.
......
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