pub(crate) fn used_by_another(
fs: &FileStore,
mstore: &Store,
uid: &str,
dir: &Path,
) -> Result<bool, StoreError>Expand description
Whether another agent uses dir: it has claimed it (in any channel), or
resolves to it in this channel’s store. Read-only. For offering a folder
for adoption (spec §2.1.4), which must exclude folders shared with
another agent.