Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PowerShell/DSC
/ main
Function
main
resources/windows_service/src/main.rs:56–59 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
54
55
#[cfg(not(windows))]
56
fn main() {
57
write_error(&t!(
"main.windowsOnly"
));
58
exit(EXIT_SERVICE_ERROR);
59
}
60
61
#[cfg(windows)]
62
fn main() {
Callers
nothing calls this directly
Calls
10
get_service
Function · 0.85
set_service
Function · 0.85
export_services
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