frostfs-node/pkg/local_object_storage/pilorama
Evgenii Stratonikov 7703dd5d7f [] 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 [] pilorama: Create new nodes in path if needed 2022-07-21 15:08:24 +03:00
forest.go [] pilorama: Create new nodes in path if needed 2022-07-21 15:08:24 +03:00
forest_test.go [] pilorama: Create new nodes in path if needed 2022-07-21 15:08:24 +03:00
inmemory.go [] pilorama: Create new nodes in path if needed 2022-07-21 15:08:24 +03:00
interface.go [] pilorama: Create new nodes in path if needed 2022-07-21 15:08:24 +03:00
meta.go [] local_object_storage: Implement tree service backend 2022-07-21 15:08:24 +03:00
meta_test.go [] local_object_storage: Implement tree service backend 2022-07-21 15:08:24 +03:00
types.go [] local_object_storage: Implement tree service backend 2022-07-21 15:08:24 +03:00