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

Function exact_revision_allows_the_pull

atomic-cli/src/commands/vault/show.rs:152–156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150
151 #[test]
152 fn exact_revision_allows_the_pull() {
153 assert!(require_revision("memory/auth.md", Some("ABC"), "ABC").is_ok());
154 assert!(require_revision("memory/auth.md", Some("abc"), "ABC").is_ok());
155 assert!(require_revision("memory/auth.md", None, "ABC").is_ok());
156 }
157
158 #[test]
159 fn revision_requires_json_at_the_cli_boundary() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected