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

Function extension

dsc/src/subcommand.rs:532–540  ·  view source on GitHub ↗
(subcommand: &ExtensionSubCommand, progress_format: ProgressFormat)

Source from the content-addressed store, hash-verified

530}
531
532pub fn extension(subcommand: &ExtensionSubCommand, progress_format: ProgressFormat) {
533 let mut dsc = DscManager::new();
534
535 match subcommand {
536 ExtensionSubCommand::List{extension_name, output_format} => {
537 list_extensions(&mut dsc, extension_name, output_format.as_ref(), progress_format);
538 },
539 }
540}
541
542pub fn function(subcommand: &FunctionSubCommand) {
543 let functions = FunctionDispatcher::new();

Callers 1

mainFunction · 0.85

Calls 3

list_extensionsFunction · 0.85
newFunction · 0.50
as_refMethod · 0.45

Tested by

no test coverage detected