Beispiel #1
0
 protected override void OnUpdate(FilePath[] localPaths, bool recurse, IProgressMonitor monitor)
 {
     foreach (var workspace in GroupFilesPerWorkspace(localPaths))
     {
         var getRequests = workspace.Select(file => new GetRequest(file, recurse ? RecursionType.Full : RecursionType.None, VersionSpec.Latest)).ToList();
         workspace.Key.Get(getRequests, GetOptions.None, monitor);
     }
     cache.RefreshItems(localPaths);
 }