MCPcopy Create free account
hub / github.com/archlinux/alpm / fmt

Method fmt

alpm-package/src/input.rs:56–67  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

54
55impl Display for MetadataMismatch {
56 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
57 write!(
58 f,
59 "{}: {} => {}\n{}: {} => {}",
60 self.first.file_name,
61 self.first.key,
62 self.first.value,
63 self.second.file_name,
64 self.second.key,
65 self.second.value
66 )
67 }
68}
69
70/// An error that can occur when dealing with package input directories and package files.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected