public ITask UnlockFile(NPath file, bool force) { var task = GitClient.Unlock(file, force) .Then(() => DataNeedsRefreshing?.Invoke(CacheType.GitLocks)); return(HookupHandlers(task, false)); }