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

Function get_parent_key_path

lib/dsc-lib-registry/src/lib.rs:426–431  ·  view source on GitHub ↗
(key_path: &str)

Source from the content-addressed store, hash-verified

424}
425
426fn get_parent_key_path(key_path: &str) -> &str {
427 match key_path.rfind('\\') {
428 Some(index) => &key_path[..index],
429 None => "",
430 }
431}
432
433fn convert_reg_value(value: &Data) -> Result<Option<RegistryValueData>, RegistryError> {
434 match value {

Callers 2

removeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected