feat: Implement Move for files and directories

This commit is contained in:
Felix Pojtinger
2021-12-20 23:09:17 +01:00
parent 4544e4c654
commit 4bd709ed9d
2 changed files with 13 additions and 2 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ func (f *FileSystem) RemoveAll(path string) error {
func (f *FileSystem) Rename(oldname, newname string) error {
log.Println("FileSystem.Rename", oldname, newname)
panic(ErrNotImplemented)
return f.writeOps.Move(oldname, newname)
}
func (f *FileSystem) Stat(name string) (os.FileInfo, error) {