Exemple #1
0
 public bool FileVersionExists( object repositoryId, long version )
 {
     if( fileRetriever == null )
     {
         fileRetriever = new FileRetriever( this.connectionSettings );
     }
     return fileRetriever.CanGetFile( (string) repositoryId, version );
 }
Exemple #2
0
 public string GetFile( object repositoryId, long version, TemporaryDirectory tempDir )
 {
     if( fileRetriever == null )
     {
         fileRetriever = new FileRetriever( this.connectionSettings );
     }
     return fileRetriever.GetFile( (string) repositoryId, version, tempDir );                    
 }
 public DiffTwoFileVersions( VaultRepositoryAuthSettings settings, ExternalToolsSettings externalToolsSettings )
     : this(settings.Host, settings.Repository, settings.User, settings.Password)
 {
     this.externalToolsSettings = externalToolsSettings;
     fileRetriever = new FileRetriever( settings );
 }