Skip to main content

close_cached_writer

Function close_cached_writer 

Source
pub fn close_cached_writer(dir: &Path) -> bool
Expand description

Drop the cached writer for dir, releasing its flock. Used at shutdown and to hand the journal to another writer role (e.g. the reconciler opening the same directory after the OAuth writer is done). Returns true if a cached writer existed.