MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / empty_name_ok

Function empty_name_ok

nodedb-wal/src/tombstone.rs:153–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151
152 #[test]
153 fn empty_name_ok() {
154 let p = CollectionTombstonePayload::new("", 7);
155 let decoded = CollectionTombstonePayload::from_bytes(&p.to_bytes().unwrap()).unwrap();
156 assert_eq!(decoded, p);
157 }
158}

Callers

nothing calls this directly

Calls 1

to_bytesMethod · 0.45

Tested by

no test coverage detected