docs(tvix/castore): fix docstrings
There's been some copypasta errors. Change-Id: I8fcad6cfc951ead6c789e0dce823c798adbfcf97 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10337 Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
This commit is contained in:
parent
9c5c717a99
commit
d236b08916
1 changed files with 2 additions and 2 deletions
|
@ -21,10 +21,10 @@ pub use self::traverse::descend_to;
|
||||||
/// digest.
|
/// digest.
|
||||||
#[async_trait]
|
#[async_trait]
|
||||||
pub trait DirectoryService: Send + Sync {
|
pub trait DirectoryService: Send + Sync {
|
||||||
/// Get looks up a single Directory message by its digest.
|
/// Looks up a single Directory message by its digest.
|
||||||
/// In case the directory is not found, Ok(None) is returned.
|
/// In case the directory is not found, Ok(None) is returned.
|
||||||
async fn get(&self, digest: &B3Digest) -> Result<Option<proto::Directory>, Error>;
|
async fn get(&self, digest: &B3Digest) -> Result<Option<proto::Directory>, Error>;
|
||||||
/// Get uploads a single Directory message, and returns the calculated
|
/// Uploads a single Directory message, and returns the calculated
|
||||||
/// digest, or an error.
|
/// digest, or an error.
|
||||||
async fn put(&self, directory: proto::Directory) -> Result<B3Digest, Error>;
|
async fn put(&self, directory: proto::Directory) -> Result<B3Digest, Error>;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue