mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-12-17 17:51:20 +08:00
create files correctly!
This commit is contained in:
@@ -21,6 +21,9 @@ type Dir struct {
|
||||
wfs *WFS
|
||||
}
|
||||
|
||||
var _ = fs.Node(&Dir{})
|
||||
var _ = fs.HandleReadDirAller(&Dir{})
|
||||
|
||||
func (dir *Dir) Attr(context context.Context, attr *fuse.Attr) error {
|
||||
attr.Mode = os.ModeDir | 0777
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user