MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / algorithm

Method algorithm

crates/fs-utils/src/compression.rs:34–39  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

32
33impl CompressType {
34 pub fn algorithm(&self) -> Option<CompressionAlgorithm> {
35 match self {
36 Self::None => None,
37 Self::Algorithm(algo) => Some(*algo),
38 }
39 }
40
41 pub fn zstd() -> Self {
42 Self::Algorithm(CompressionAlgorithm::Zstd)

Callers 1

compress_snapshotMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected