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

Function main

resources/windows_firewall/src/main.rs:55–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53
54#[cfg(not(windows))]
55fn main() {
56 write_error(&t!("main.windowsOnly"));
57 exit(EXIT_FIREWALL_ERROR);
58}
59
60#[cfg(windows)]
61fn main() {

Callers

nothing calls this directly

Calls 10

get_rulesFunction · 0.85
set_rulesFunction · 0.85
export_rulesFunction · 0.85
as_strMethod · 0.80
write_errorFunction · 0.70
parse_input_argFunction · 0.70
require_inputFunction · 0.70
print_jsonFunction · 0.70
from_strFunction · 0.50
as_refMethod · 0.45

Tested by

no test coverage detected