Skip to main content

source_tree_sha256

Function source_tree_sha256 

Source
pub fn source_tree_sha256(files: &[SourceFile]) -> Result<String, String>
Expand description

Computes the canonical pup-workspace-tree-v1 source identity accepted by Super API.

ยงErrors

Returns an error when a content digest or path cannot be encoded canonically.