Fail-safe file sequence
Implemented in Rust. Inspired by this Java implementation
Usage
let initial_value = 1;
let seq = new.unwrap;
// Get current value
seq.value.unwrap;
// Increment by 1 and get
seq.increment_and_get.unwrap;
// Get, then increment by 1
seq.get_and_increment.unwrap;
Changelog
0.2.0 (2020-09-07)
- Ignore errors on
FileSeq::delete
function #1