forked from TrueCloudLab/frostfs-node
[#1326] services/tree: Implement GetSubTree RPC
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
62154da17c
commit
aea855e8f3
10 changed files with 431 additions and 255 deletions
|
@ -20,6 +20,8 @@ type Forest interface {
|
|||
TreeGetByPath(cid cidSDK.ID, treeID string, attr string, path []string, latest bool) ([]Node, error)
|
||||
// TreeGetMeta returns meta information of the node with the specified ID.
|
||||
TreeGetMeta(cid cidSDK.ID, treeID string, nodeID Node) (Meta, error)
|
||||
// TreeGetChildren returns children of the node with the specified ID. The order is arbitrary.
|
||||
TreeGetChildren(cid cidSDK.ID, treeID string, nodeID Node) ([]uint64, error)
|
||||
}
|
||||
|
||||
type ForestStorage interface {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue