docs(tvix/store/protos): fix docstring
Change-Id: Idf835e9648ab6c95c29960f3f8176153d4888b27 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7951 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
This commit is contained in:
parent
124af9e5d5
commit
42d3c06988
1 changed files with 2 additions and 2 deletions
|
@ -178,8 +178,8 @@ fn insert_once<'n>(
|
|||
}
|
||||
|
||||
impl Directory {
|
||||
// The size of a directory is the number of all regular and symlink elements,
|
||||
// the number of directory elements, and their size fields.
|
||||
/// The size of a directory is the number of all regular and symlink elements,
|
||||
/// the number of directory elements, and their size fields.
|
||||
pub fn size(&self) -> u32 {
|
||||
self.files.len() as u32
|
||||
+ self.symlinks.len() as u32
|
||||
|
|
Loading…
Reference in a new issue