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

Class CatalogWAL

graphlite/src/txn/wal.rs:74–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72/// Separate WAL for catalog operations
73#[derive(Debug)]
74pub struct CatalogWAL {
75 /// Directory for catalog WAL files
76 catalog_wal_dir: PathBuf,
77 /// Current catalog WAL writer
78 writer: Arc<Mutex<Option<BufWriter<File>>>>,
79 /// Catalog WAL file number
80 file_number: Arc<Mutex<u64>>,
81}
82
83impl WALEntry {
84 /// Create a new WAL entry

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected