diff options
Diffstat (limited to 'tvix/castore/src/fixtures.rs')
-rw-r--r-- | tvix/castore/src/fixtures.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tvix/castore/src/fixtures.rs b/tvix/castore/src/fixtures.rs index a206d9b7ddc6..3ebda64a818a 100644 --- a/tvix/castore/src/fixtures.rs +++ b/tvix/castore/src/fixtures.rs @@ -85,4 +85,19 @@ lazy_static! { ], ..Default::default() }; + pub static ref DIRECTORY_D: proto::Directory = proto::Directory { + directories: vec![ + DirectoryNode { + name: b"a".to_vec().into(), + digest: DIRECTORY_A.digest().into(), + size: DIRECTORY_A.size(), + }, + DirectoryNode { + name: b"b'".to_vec().into(), + digest: DIRECTORY_B.digest().into(), + size: DIRECTORY_B.size(), + } + ], + ..Default::default() + }; } |