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

Method shutdown

graphlite/src/storage/persistent/traits.rs:103–106  ·  view source on GitHub ↗

Explicitly close the storage driver and release any file locks This is called before dropping to ensure clean shutdown

(&mut self)

Source from the content-addressed store, hash-verified

101 /// Explicitly close the storage driver and release any file locks
102 /// This is called before dropping to ensure clean shutdown
103 fn shutdown(&mut self) -> StorageResult<()> {
104 // Default implementation just flushes
105 self.flush()
106 }
107}
108
109// Helper implementation for Box<dyn StorageTree>

Callers

nothing calls this directly

Implementers 2

memory.rsgraphlite/src/storage/persistent/memor
sled.rsgraphlite/src/storage/persistent/sled.

Calls 1

flushMethod · 0.45

Tested by

no test coverage detected