diff options
author | Florian Klink <flokli@flokli.de> | 2023-06-30T11·49+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-06-30T12·30+0000 |
commit | 3edc580e8070cff1cbfc1d93e78b9128b9b43ecc (patch) | |
tree | fdfc71b211a932a7dfc9f02dbd0b98c134d99896 /tvix/store/src | |
parent | 9f600de22671ee1f88e6fb9e53a5a385b434871b (diff) |
docs(tvix/store/blobservice): update docstring r/6369
Change-Id: I6ae693a66530e1ecca57723a97d56b309fa0651a Reviewed-on: https://cl.tvl.fyi/c/depot/+/8881 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/store/src')
-rw-r--r-- | tvix/store/src/blobservice/memory.rs | 2 | ||||
-rw-r--r-- | tvix/store/src/blobservice/sled.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tvix/store/src/blobservice/memory.rs b/tvix/store/src/blobservice/memory.rs index 244055258ef9..8963deefd42b 100644 --- a/tvix/store/src/blobservice/memory.rs +++ b/tvix/store/src/blobservice/memory.rs @@ -54,7 +54,7 @@ impl BlobService for MemoryBlobService { pub struct MemoryBlobWriter { db: Arc<RwLock<HashMap<B3Digest, Vec<u8>>>>, - /// Contains the Vec and hasher, or None if already closed + /// Contains the buffer Vec and hasher, or None if already closed writers: Option<(Vec<u8>, blake3::Hasher)>, /// The digest that has been returned, if we successfully closed. diff --git a/tvix/store/src/blobservice/sled.rs b/tvix/store/src/blobservice/sled.rs index 22dcd757f2bb..bff50ff3eb4a 100644 --- a/tvix/store/src/blobservice/sled.rs +++ b/tvix/store/src/blobservice/sled.rs @@ -82,7 +82,7 @@ impl BlobService for SledBlobService { pub struct SledBlobWriter { db: sled::Db, - /// Contains the Vec and hasher, or None if already closed + /// Contains the buffer Vec and hasher, or None if already closed writers: Option<(Vec<u8>, blake3::Hasher)>, /// The digest that has been returned, if we successfully closed. |