MCPcopy Index your code
hub / github.com/PowerShell/DSC / function

Function function

dsc/src/subcommand.rs:542–549  ·  view source on GitHub ↗
(subcommand: &FunctionSubCommand)

Source from the content-addressed store, hash-verified

540}
541
542pub fn function(subcommand: &FunctionSubCommand) {
543 let functions = FunctionDispatcher::new();
544 match subcommand {
545 FunctionSubCommand::List { function_name, output_format } => {
546 list_functions(&functions, function_name.as_ref(), output_format.as_ref());
547 },
548 }
549}
550
551#[allow(clippy::too_many_lines)]
552pub fn resource(subcommand: &ResourceSubCommand, progress_format: ProgressFormat) {

Callers 1

mainFunction · 0.85

Calls 3

list_functionsFunction · 0.85
newFunction · 0.50
as_refMethod · 0.45

Tested by

no test coverage detected