Skip to main content

build_cache_from_resolved

Function build_cache_from_resolved 

Source
pub fn build_cache_from_resolved(
    config: &Config,
    fingerprint: &str,
    resolved_str: &str,
) -> CmdCache
Expand description

Build a cache from externally resolved command existence results.

Used when the calling shell (e.g. PowerShell) checks command existence via Get-Command instead of which::which(). Only commands referenced in the config’s when_command_exists are included.