Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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))]
55
fn main() {
56
write_error(&t!(
"main.windowsOnly"
));
57
exit(EXIT_FIREWALL_ERROR);
58
}
59
60
#[cfg(windows)]
61
fn main() {
Callers
nothing calls this directly
Calls
10
get_rules
Function · 0.85
set_rules
Function · 0.85
export_rules
Function · 0.85
as_str
Method · 0.80
write_error
Function · 0.70
parse_input_arg
Function · 0.70
require_input
Function · 0.70
print_json
Function · 0.70
from_str
Function · 0.50
as_ref
Method · 0.45
Tested by
no test coverage detected