feat(tvix/store): implement iteration over Directory nodes

This provides a `Directory.nodes()` function, returning an iterator over
all three node types in an ordered fashion.

Change-Id: Ib98696c03a9db8b6c613d6e2bf5587c1ae35133f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7955
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
Florian Klink 2023-01-29 18:41:12 +01:00 committed by flokli
parent 1ee6bd06e3
commit 9e809e21cc
3 changed files with 163 additions and 1 deletions

View file

@ -1,4 +1,5 @@
mod directory;
mod directory_nodes_iterator;
mod directory_service;
mod path_info_service;
mod pathinfo;