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

Method fmt

atomic-repository/src/archive.rs:208–215  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

206
207impl fmt::Display for ArchiveFormat {
208 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
209 match self {
210 Self::TarGz => write!(f, "tar.gz"),
211 Self::Tar => write!(f, "tar"),
212 Self::Directory => write!(f, "directory"),
213 Self::Zip => write!(f, "zip"),
214 }
215 }
216}
217
218// Archive Options

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected