docs(tvix/castore/directory): update docstring for get_recursive
The rust trait was missing to document the order of the elements in the stream. Document that, and also the reasoning behind this. Change-Id: I27ef0b2020082783fc41c2015233175e2b8e716d Reviewed-on: https://cl.tvl.fyi/c/depot/+/11203 Reviewed-by: raitobezarius <tvl@lahfa.xyz> Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
65b8359ff3
commit
591edf0d5b
1 changed files with 4 additions and 1 deletions
|
@ -44,7 +44,10 @@ pub trait DirectoryService: Send + Sync {
|
|||
/// Rust doesn't support this as a generic in traits yet. This is the same thing that
|
||||
/// [async_trait] generates, but for streams instead of futures.
|
||||
///
|
||||
/// The individual Directory messages *must* be valid.
|
||||
/// The individually returned Directory messages *must* be valid.
|
||||
/// Directories are sent in an order from the root to the leaves, so that
|
||||
/// the receiving side can validate each message to be a connected to the root
|
||||
/// that has initially been requested.
|
||||
fn get_recursive(
|
||||
&self,
|
||||
root_directory_digest: &B3Digest,
|
||||
|
|
Loading…
Reference in a new issue