Cleanup
This commit is contained in:
parent
48d8aa99df
commit
5b55310dd7
2
dir.go
2
dir.go
@ -60,6 +60,7 @@ func (this *versionedDir) createDir(name string) (*versionedDir, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dir := newVersionedDir(node, this)
|
dir := newVersionedDir(node, this)
|
||||||
|
|
||||||
this.dirs[name] = dir
|
this.dirs[name] = dir
|
||||||
return dir, nil
|
return dir, nil
|
||||||
}
|
}
|
||||||
@ -79,6 +80,7 @@ func (this *versionedDir) createFile(name string, flags int) (*versionedFile, er
|
|||||||
|
|
||||||
file := newVersionedFile(node, this)
|
file := newVersionedFile(node, this)
|
||||||
file.handle = handle
|
file.handle = handle
|
||||||
|
|
||||||
this.files[name] = file
|
this.files[name] = file
|
||||||
return file, nil
|
return file, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user