Cleanup
This commit is contained in:
parent
57fa972b78
commit
ed1c8bc1e6
4
node.go
4
node.go
@ -53,10 +53,6 @@ func newVersionedNodeStat(path string, parent *versionedNode, ver *version, info
|
|||||||
return &versionedNode{path, info, parent, nil, ver}
|
return &versionedNode{path, info, parent, nil, ver}
|
||||||
}
|
}
|
||||||
|
|
||||||
// func (this *versionedNode) version() (*versionedNode, error) {
|
|
||||||
// return nil, nil
|
|
||||||
// }
|
|
||||||
|
|
||||||
func (this *versionedNode) setAttr(req *fuse.SetattrRequest, resp *fuse.SetattrResponse) error {
|
func (this *versionedNode) setAttr(req *fuse.SetattrRequest, resp *fuse.SetattrResponse) error {
|
||||||
if req.Valid&fuse.SetattrMode != 0 {
|
if req.Valid&fuse.SetattrMode != 0 {
|
||||||
if err := os.Chmod(this.rebasedPath(), req.Mode); err != nil {
|
if err := os.Chmod(this.rebasedPath(), req.Mode); err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user