MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / content_hash8

Function content_hash8

mserver/MasterService/src/mods.rs:564–567  ·  view source on GitHub ↗
(bytes: &[u8])

Source from the content-addressed store, hash-verified

562 ) -> Result<ModCatalogEntry> {
563 let mut upload = self.begin_upload().await?;
564 upload.write(&bytes);
565 self.finalize_revision(upload, mod_id, meta).await
566 }
567
568 pub async fn finalize_revision(
569 &self,
570 upload: ArtifactUpload,

Callers 1

publish_modMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected