pub fn has_object( fs: &impl Fs, paths: &StorePaths, doc_id: &str, hash: &str, ) -> bool
True if an object with hash already exists for doc_id.
hash
doc_id