Skip to main content

attestable_commit

Function attestable_commit 

Source
pub fn attestable_commit(
    revision: &str,
    tree_state: GitTreeState,
) -> Option<&str>
Expand description

Return a commit only when its source tree was clean at build time.

The rule is pure so stampers can exercise both branches without rebuilding.