about summary refs log tree commit diff
path: root/tvix/store/src/tests/mod.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-01-29T17·41+0100
committerflokli <flokli@flokli.de>2023-01-31T13·29+0000
commit9e809e21ccb1768567fc2516c5526ad0cdd56df0 (patch)
treeff52c15e5ce4c4a87842a54b368bba05b8c77ff5 /tvix/store/src/tests/mod.rs
parent1ee6bd06e32d49690f536a2a5a901055d69bc1c0 (diff)
feat(tvix/store): implement iteration over Directory nodes r/5790
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
Diffstat (limited to 'tvix/store/src/tests/mod.rs')
-rw-r--r--tvix/store/src/tests/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/store/src/tests/mod.rs b/tvix/store/src/tests/mod.rs
index b340fcff5d32..4022c329798b 100644
--- a/tvix/store/src/tests/mod.rs
+++ b/tvix/store/src/tests/mod.rs
@@ -1,4 +1,5 @@
 mod directory;
+mod directory_nodes_iterator;
 mod directory_service;
 mod path_info_service;
 mod pathinfo;