Skip to main content

content_eq_bytes

Function content_eq_bytes 

Source
pub fn content_eq_bytes<S: ObjectSource + ?Sized>(
    store: &S,
    object: &Hash,
    bytes: &[u8],
) -> Result<bool, StoreError>
Expand description

Compare stored content to bytes without reassembling chunked storage.

ยงErrors

Propagates errors from content_fingerprint.