pub(crate) fn held_exclusively(
fs: &FileStore,
uid: &str,
dir: &Path,
) -> Result<bool, StoreError>Expand description
Whether uid still holds the only claim on dir — the re-check before
every capture while the agent runs (spec §2.1.3). Read-only: the full
check ran at spawn; this sees any agent that has claimed it since.