Skip to main content

ensure_counted

Function ensure_counted 

Source
pub fn ensure_counted(fs: &Arc<FileStore>, zone: &str, wait: Duration) -> bool
Expand description

zone’s output counted: true when it has an epoch within wait. Cheap when it already has one (or only needs catching up); otherwise the count starts if none is running and is waited for. False means it is still being counted, or could not be (the file moved under the scan): ask again later.