MCPcopy Create free account
hub / github.com/git/git / hex_len

Method hex_len

src/hash.rs:296–298  ·  view source on GitHub ↗

The length of object IDs in this algorithm in hexadecimal characters.

(self)

Source from the content-addressed store, hash-verified

294
295 /// The length of object IDs in this algorithm in hexadecimal characters.
296 pub const fn hex_len(self) -> usize {
297 self.raw_len() * 2
298 }
299
300 /// The number of bytes which is processed by one iteration of this algorithm's compression
301 /// function.

Callers

nothing calls this directly

Calls 1

raw_lenMethod · 0.80

Tested by

no test coverage detected