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

Method execute_effect

atomic-repository/src/repository/switch.rs:158–169  ·  view source on GitHub ↗
(
        &self,
        effect: &EffectPlan,
        content: Option<&[u8]>,
    )

Source from the content-addressed store, hash-verified

156 }
157
158 fn execute_effect(
159 &self,
160 effect: &EffectPlan,
161 content: Option<&[u8]>,
162 ) -> Result<super::operation::PendingFilesystemEffect, RepositoryError> {
163 self.repository.execute_filesystem_effect(
164 self.operation_lock,
165 self.operation.id(),
166 effect.ordinal,
167 content,
168 )
169 }
170
171 fn execute_absence(
172 &self,

Callers 3

execute_absenceMethod · 0.80
execute_directoryMethod · 0.80
execute_fileMethod · 0.80

Calls 2

idMethod · 0.45

Tested by

no test coverage detected