(&self, f: &mut std::fmt::Formatter<'_>)
| 74 | |
| 75 | impl Display for TestFileType { |
| 76 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 77 | write!( |
| 78 | f, |
| 79 | "{}", |
| 80 | match self { |
| 81 | Self::BuildInfo => MetadataFileName::BuildInfo.as_ref(), |
| 82 | Self::PackageInfo => MetadataFileName::PackageInfo.as_ref(), |
| 83 | Self::SrcInfo => SRCINFO_FILE_NAME, |
| 84 | Self::MTree => MetadataFileName::Mtree.as_ref(), |
| 85 | Self::RemoteDesc | Self::LocalDesc => "desc", |
| 86 | Self::RemoteFiles | Self::LocalFiles => "files", |
| 87 | Self::Signatures => "sig", |
| 88 | } |
| 89 | ) |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | #[derive(Debug, Parser)] |
nothing calls this directly
no outgoing calls
no test coverage detected