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

Enum ArchiveFormat

atomic-repository/src/archive.rs:153–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151/// Supported archive formats.
152#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
153pub enum ArchiveFormat {
154 /// Gzip-compressed tarball (.tar.gz)
155 #[default]
156 TarGz,
157
158 /// Uncompressed tarball (.tar)
159 Tar,
160
161 /// Plain directory copy
162 Directory,
163
164 /// ZIP archive (.zip)
165 Zip,
166}
167
168impl ArchiveFormat {
169 /// Get the file extension for this format.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected