MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / export_native_digest

Function export_native_digest

src/automation/memory_digest.rs:542–550  ·  view source on GitHub ↗
(
    target: SkillInstallTarget,
    plugin_root: &Path,
    body: &str,
)

Source from the content-addressed store, hash-verified

540}
541
542fn export_native_digest(
543 target: SkillInstallTarget,
544 plugin_root: &Path,
545 body: &str,
546) -> Result<PathBuf> {
547 let path = plugin_root.join(native_digest_relative(target)?);
548 crate::agents::safe_write_text_file(&path, &render_native_digest_file(target, body)?, None)?;
549 Ok(path)
550}
551
552fn remove_native_digest(target: SkillInstallTarget, plugin_root: &Path) -> Result<()> {
553 let path = plugin_root.join(native_digest_relative(target)?);

Callers 1

export_memory_digestFunction · 0.85

Calls 3

native_digest_relativeFunction · 0.85
safe_write_text_fileFunction · 0.85

Tested by

no test coverage detected