Commit 075c0022 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Document hardlink behavior in api.go

parent bcc0741a
......@@ -80,7 +80,12 @@ type FileSystem interface {
// Used for pretty printing.
Name() string
// Attributes
// Attributes. This function is the main entry point, through
// which FUSE discovers which files and directories exist.
//
// If the filesystem wants to implement hard-links, it should
// return consistent non-zero FileInfo.Ino data. Using
// hardlinks incurs a performance hit.
GetAttr(name string, context *Context) (*os.FileInfo, Status)
// These should update the file's ctime too.
......
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