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

Method resolve

lib/dsc-lib/src/dscresources/dscresource.rs:560–570  ·  view source on GitHub ↗
(&self, input: &str)

Source from the content-addressed store, hash-verified

558 }
559
560 fn resolve(&self, input: &str) -> Result<ResolveResult, DscError> {
561 debug!("{}", t!("dscresources.dscresource.invokeResolve", resource = self.type_name));
562 if let Some(deprecation_message) = self.deprecation_message.as_ref() {
563 warn!("{}", t!("dscresources.dscresource.deprecationMessage", resource = self.type_name, message = deprecation_message));
564 }
565 if self.require_adapter.is_some() {
566 return Err(DscError::NotSupported(t!("dscresources.dscresource.invokeResolveNotSupported", resource = self.type_name).to_string()));
567 }
568
569 command_resource::invoke_resolve(self, input)
570 }
571}
572
573#[must_use]

Callers

nothing calls this directly

Calls 2

invoke_resolveFunction · 0.85
as_refMethod · 0.45

Tested by

no test coverage detected