MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / build_compression

Function build_compression

src/testdrive/src/action/file.rs:45–50  ·  view source on GitHub ↗
(cmd: &mut BuiltinCommand)

Source from the content-addressed store, hash-verified

43}
44
45pub(crate) fn build_compression(cmd: &mut BuiltinCommand) -> Result<Compression, anyhow::Error> {
46 match cmd.args.opt_string("compression") {
47 Some(s) => s.parse(),
48 None => Ok(Compression::None),
49 }
50}
51
52/// Returns an iterator of lines that form the content of a file.
53pub(crate) fn build_contents(

Callers 2

run_appendFunction · 0.85
run_uploadFunction · 0.85

Calls 2

opt_stringMethod · 0.80
parseMethod · 0.45

Tested by

no test coverage detected