MCPcopy Create free account
hub / github.com/clawshell/clawshell / validate

Method validate

src/migration/targets/clawshell_toml/mod.rs:168–173  ·  view source on GitHub ↗
(&self, content: &str)

Source from the content-addressed store, hash-verified

166 }
167
168 fn validate(&self, content: &str) -> Result<(), TargetError> {
169 Config::from_str_with_validation(content).map_err(|e| TargetError::Validation {
170 details: e.to_string(),
171 })?;
172 Ok(())
173 }
174}
175
176#[cfg(test)]

Callers 1

migrate_targetsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected