diff options
Diffstat (limited to 'fs/fs.go')
-rw-r--r-- | fs/fs.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -29,10 +29,13 @@ type RegularFile interface { type Dir interface { File Readdir() ([]File, error) + GetChild(name string) (File, error) // Must return os.ErrNotExist, if child doesn't exist CreateChildFile(name string, exec bool) (RegularFile, error) CreateChildDir(name string) (Dir, error) CreateChildSymlink(name string, target string) (Symlink, error) + + RenameChild(oldname, newname string) error } type Symlink interface { |