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

Function hex_encode

atomic-cli/tests/it/git_import_cb9c_test.rs:2751–2753  ·  view source on GitHub ↗
(bytes: &[u8])

Source from the content-addressed store, hash-verified

2749}
2750
2751fn hex_encode(bytes: &[u8]) -> String {
2752 bytes.iter().map(|byte| format!("{byte:02x}")).collect()
2753}
2754
2755#[allow(dead_code)]
2756fn find_raw_object_hex(value: &serde_json::Value, expected: &str) -> bool {

Calls 2

collectMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected