Skip to main content

pending_captures

Function pending_captures 

Source
fn pending_captures(
    fs: &FileStore,
    uid: &str,
    dir: &Path,
    dir_id: &str,
    settle: Duration,
) -> Result<Vec<PendingCapture>, StoreError>
Expand description

What capture_while_running would record now: files whose content differs from what was projected here, while the record hasn’t moved on since (the head is still that projection). Files the record changed elsewhere meanwhile are left for the next spawn’s reconcile, which raises the conflict; deletions too, with its missing-folder guards.