public void AddPathRepoMapping(string path, string repoName) { lock (this.collectionLock) { this.pathToRepoNameMapping[path] = repoName; } }