Skip to main content

checkpoint_path

Function checkpoint_path 

Source
pub fn checkpoint_path(state_dir: &Path, stream: &str, subject: &str) -> PathBuf
Expand description

Path of the checkpoint file for one stream and subject.

ยงExamples

checkpoint_path("/state", "labjack", "avenars.i69.mu1.lj2.live.ch08")
    -> "/state/labjack/avenars.i69.mu1.lj2.live.ch08.json"