fn lock_path(config_dir: &Path, app_support: &Path) -> PathBufExpand description
Machine-local lock path for config_dir under app_support:
<app_support>/locks/<hex-hash-of-config-dir>.lock. The config-dir
path is canonicalised first (best-effort) so symlinked / trailing-slash
variants resolve to one lock.