Commit 8b7e2683 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

nodefs: fix outdated comment

parent 6293a019
...@@ -145,9 +145,7 @@ type SymlinkOperations interface { ...@@ -145,9 +145,7 @@ type SymlinkOperations interface {
Readlink(ctx context.Context) ([]byte, syscall.Errno) Readlink(ctx context.Context) ([]byte, syscall.Errno)
} }
// FileOperations holds operations that apply to regular files. The // FileOperations holds operations that apply to regular files.
// default implementation, as returned from NewFileOperations forwards
// to the passed-in FileHandle.
type FileOperations interface { type FileOperations interface {
Operations Operations
...@@ -264,7 +262,8 @@ type DirOperations interface { ...@@ -264,7 +262,8 @@ type DirOperations interface {
ReadDir(ctx context.Context) (DirStream, syscall.Errno) ReadDir(ctx context.Context) (DirStream, syscall.Errno)
} }
// MutableDirOperations are operations that change the hierarchy of a file system. // MutableDirOperations are operations for directories that can add or
// remove entries.
type MutableDirOperations interface { type MutableDirOperations interface {
DirOperations DirOperations
......
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