Skip to main content

current_javascript_integrity

Function current_javascript_integrity 

Source
pub fn current_javascript_integrity(
    root: &Path,
    command: &[String],
) -> Result<RunIntegrity, String>
Expand description

Fingerprint the current JavaScript project using the same discovery and runtime-shim inputs as a Rust-owned execution. Query callers deliberately treat failure as “staleness unavailable”, matching the frozen CLI contract.