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

Function token_present

atomic-cli/tests/it/workspace_txn_routing_cb5c_test.rs:122–124  ·  view source on GitHub ↗
(source: &str, token: &str)

Source from the content-addressed store, hash-verified

120}
121
122fn token_present(source: &str, token: &str) -> bool {
123 source.contains(token)
124}
125
126fn manifest_dir() -> PathBuf {
127 Path::new(env!("CARGO_MANIFEST_DIR")).to_path_buf()

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected