[#970] fstree: Move delete implementation to a separate file

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-02-08 17:53:27 +03:00 committed by Evgenii Stratonikov
parent 7f692409cf
commit fb74524ac7
5 changed files with 52 additions and 25 deletions

View file

@ -19,7 +19,7 @@ func (t *FSTree) Init() error {
if !t.readOnly {
f := newSpecificWriteData(t.fileCounter, t.RootPath, t.Permissions, t.noSync)
if f != nil {
t.writeData = f
t.writer = f
}
}