MCPcopy Create free account
hub / github.com/arraypad/each / load_formats

Function load_formats

src/formats/mod.rs:23–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21}
22
23pub fn load_formats() -> IndexMap<&'static str, Box<dyn Format>> {
24 let mut formats: IndexMap<&'static str, Box<dyn Format>> = IndexMap::new();
25 formats.insert(JsonId, Box::new(JsonFormat {}));
26 formats.insert(CsvId, Box::new(CsvFormat::default()));
27
28 formats
29}
30
31#[allow(clippy::borrowed_box)]
32pub fn guess_format<'a>(

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…