frostfs-node/pkg/local_object_storage/pilorama
Evgenii Stratonikov 7703dd5d7f [#1419] pilorama: Create new nodes in path if needed
Consider a node `{FileName: "dir", Attribute: "xxx"}`. In case we add
a new node by path `["dir", "file.txt"]`, create a new intermediate node
with a single attribute.

`GetByPath` now also considers only nodes with a single attribute while building a path.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-07-21 15:08:24 +03:00
..
boltdb.go [#1419] pilorama: Create new nodes in path if needed 2022-07-21 15:08:24 +03:00
forest.go [#1419] pilorama: Create new nodes in path if needed 2022-07-21 15:08:24 +03:00
forest_test.go [#1419] pilorama: Create new nodes in path if needed 2022-07-21 15:08:24 +03:00
inmemory.go [#1419] pilorama: Create new nodes in path if needed 2022-07-21 15:08:24 +03:00
interface.go [#1419] pilorama: Create new nodes in path if needed 2022-07-21 15:08:24 +03:00
meta.go [#1324] local_object_storage: Implement tree service backend 2022-07-21 15:08:24 +03:00
meta_test.go [#1324] local_object_storage: Implement tree service backend 2022-07-21 15:08:24 +03:00
types.go [#1324] local_object_storage: Implement tree service backend 2022-07-21 15:08:24 +03:00