parent
80884aca6a
commit
63e63c1c37
18 changed files with 282 additions and 58 deletions
src/vfs
|
@ -37,6 +37,8 @@ type Filesystem interface {
|
|||
Stat(ctx context.Context, filename string) (fs.FileInfo, error)
|
||||
Unlink(ctx context.Context, filename string) error
|
||||
|
||||
Rename(ctx context.Context, oldpath, newpath string) error
|
||||
|
||||
// As filesystem mounted to some path, make sense to have the filesystem implement DirEntry
|
||||
fs.DirEntry
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue