MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / observe_operation_effect

Method observe_operation_effect

atomic-repository/src/repository/operation.rs:2707–2714  ·  view source on GitHub ↗

Observe the exact typed value of an effect supported by this repository engine.

(
        &self,
        working_copy: WorkingCopyId,
        target: &EffectTarget,
    )

Source from the content-addressed store, hash-verified

2705
2706 /// Observe the exact typed value of an effect supported by this repository engine.
2707 pub(super) fn observe_operation_effect(
2708 &self,
2709 working_copy: WorkingCopyId,
2710 target: &EffectTarget,
2711 ) -> Result<EffectValue, RepositoryError> {
2712 let target = self.resolve_recovery_target(working_copy, target)?;
2713 self.observe_recovery_target(&target)
2714 }
2715
2716 /// Observe the exact typed value of a working-copy or shelf filesystem effect.
2717 pub(super) fn observe_filesystem_effect(

Calls 2

Tested by

no test coverage detected