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

Function fm

atomic-canonical/src/memory.rs:265–280  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

263 use serde_json::json;
264
265 fn fm() -> Map<String, Value> {
266 json!({
267 "uid": "01J8ZC4R8T",
268 "memoryKind": "constraint",
269 "status": "active",
270 "about": ["urn:atomic:module:storage", "urn:atomic:module:replication"],
271 "derivedFrom": [
272 "urn:atomic:intent:word-5",
273 "urn:atomic:change:abc123",
274 "urn:atomic:memory:source-1"
275 ]
276 })
277 .as_object()
278 .unwrap()
279 .clone()
280 }
281
282 #[test]
283 fn lift_memory_from_frontmatter_and_body() {

Calls 2

cloneMethod · 0.45
unwrapMethod · 0.45