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

Method fmt

src/hash.rs:27–29  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

25
26impl Display for InvalidHashAlgorithm {
27 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
28 write!(f, "invalid hash algorithm {}", self.0)
29 }
30}
31
32impl Error for InvalidHashAlgorithm {}

Callers

nothing calls this directly

Calls 2

as_sliceMethod · 0.80
algoMethod · 0.80

Tested by

no test coverage detected