MCPcopy Create free account
hub / github.com/PowerShell/DSC / verify_executable

Function verify_executable

lib/dsc-lib/src/discovery/command_discovery.rs:877–881  ·  view source on GitHub ↗
(resource: &str, operation: &str, executable: &str, directory: &Path)

Source from the content-addressed store, hash-verified

875}
876
877fn verify_executable(resource: &str, operation: &str, executable: &str, directory: &Path) {
878 if canonicalize_which(executable, Some(directory)).is_err() {
879 info!("{}", t!("discovery.commandDiscovery.executableNotFound", resource = resource, operation = operation, executable = executable));
880 }
881}
882
883fn add_resources_to_lookup_table(adapted_resources: &DiscoveryResourceCache)
884{

Callers 2

load_resource_manifestFunction · 0.85
load_extension_manifestFunction · 0.85

Calls 1

canonicalize_whichFunction · 0.85

Tested by

no test coverage detected