supports mknod, unlink

This commit is contained in:
chrislu
2022-02-13 03:09:24 -08:00
parent 813b868b9a
commit 6a42cb6b0b
4 changed files with 145 additions and 0 deletions

View File

@@ -97,6 +97,7 @@ func (wfs *WFS) Rmdir(cancel <-chan struct{}, header *fuse.InHeader, name string
}
wfs.metaCache.DeleteEntry(context.Background(), entryFullPath)
wfs.inodeToPath.RemovePath(entryFullPath)
return fuse.OK