MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / fmt

Method fmt

graphlite/src/storage/persistent/types.rs:44–50  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

42
43impl std::fmt::Display for StorageType {
44 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
45 let name = match self {
46 StorageType::Sled => "sled",
47 StorageType::Memory => "memory",
48 };
49 write!(f, "{}", name)
50 }
51}
52
53/// Error type for storage driver operations

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected