Expand description
Branch garbage collector implementation.
Identifies and tombstones memories associated with deleted git branches.
Structsยง
- Branch
Garbage Collector - Garbage collector for branch-scoped memories.
- GcResult
- Result of a garbage collection operation.
Functionsยง
- branch_
exists - Performs a quick check if the current branch exists.
- duration_
to_ ๐millis - Safely converts Duration to milliseconds as u64, capping at
u64::MAX. - u64_
to_ ๐f64 - Converts u64 to f64 for metrics, capping at
u32::MAX. - usize_
to_ ๐f64 - Converts usize to f64 for metrics, capping at
u32::MAX.