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

Function memory_validate

atomic-cli/src/commands/rpc.rs:1608–1616  ·  view source on GitHub ↗
(args: &super::memory::validate::MemoryValidate)

Source from the content-addressed store, hash-verified

1606}
1607
1608pub fn memory_validate(args: &super::memory::validate::MemoryValidate) -> CliResult<bool> {
1609 if args.id_or_path.ends_with(".md") {
1610 return Ok(false);
1611 }
1612 let Some(session) = Service::open()? else {
1613 return Ok(false);
1614 };
1615 validate_entity(&session, Kind::Memory, &args.id_or_path, args.json)
1616}
1617
1618pub fn memory_verify(args: &super::memory::verify::MemoryVerify) -> CliResult<bool> {
1619 let Some(session) = Service::open()? else {

Callers 1

runMethod · 0.85

Calls 2

validate_entityFunction · 0.85
openFunction · 0.50

Tested by

no test coverage detected