feat(tvix/store): add directoryservice

This adds a DirectoryService trait, and an implementation for it using
sled, and one using a HashMap.

Change-Id: Ida61524b2ca949e1b3a78089a5aa7d9f9800c8d7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8093
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
This commit is contained in:
Florian Klink 2023-02-12 14:24:43 +01:00 committed by flokli
parent 35ea0b0d2e
commit 3af467d7ee
4 changed files with 182 additions and 0 deletions

View file

@ -5,6 +5,7 @@ mod errors;
pub mod blobservice;
pub mod chunkservice;
pub mod directoryservice;
pub mod proto;
pub use blobreader::BlobReader;