pub async fn store_document( file: &Path, document: Document<'_>, ) -> Result<(), StoreError>
Stores the document and associated files (checksums, signature, xattrs, timestamps).