MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / source_pins_sha256

Function source_pins_sha256

xtask/src/main.rs:9227–9230  ·  view source on GitHub ↗
(sources: &SourcesManifest)

Source from the content-addressed store, hash-verified

9225}
9226
9227fn source_pins_sha256(sources: &SourcesManifest) -> Result<String> {
9228 let pins = serde_json::to_vec(&sources.sources).context("serialize source pins")?;
9229 Ok(sha256_bytes(&pins))
9230}
9231
9232fn postgres_catalog_version(source_dir: &Path) -> Result<String> {
9233 let path = source_dir.join("src/include/catalog/catversion.h");

Callers 1

Calls 1

sha256_bytesFunction · 0.85

Tested by

no test coverage detected