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

Function rejects_non_base32_long_tokens

atomic-remote/src/http/upload.rs:561–565  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

559
560 #[test]
561 fn rejects_non_base32_long_tokens() {
562 // Contains 0/1/8/9 (not in base32 [A-Z2-7]) → not a hash.
563 let msg = "error 00000000000000000000000000000000000000000000000000";
564 assert!(extract_change_hashes(msg).is_empty());
565 }
566}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected