Skip to main content

object_size

Function object_size 

Source
pub fn object_size(
    fs: &impl Fs,
    paths: &StorePaths,
    doc_id: &str,
    hash: &str,
) -> Result<u64, SessionError>
Expand description

The on-disk (compressed) byte size of the object addressed by hash. Errors if the object does not exist.