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

Function memory_validate

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

Source from the content-addressed store, hash-verified

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

Callers 1

runMethod · 0.85

Calls 2

openFunction · 0.85
validate_entityFunction · 0.85

Tested by

no test coverage detected