Esempio n. 1
0
 public bool FileVersionExists( object repositoryId, long version )
 {
     if( fileRetriever == null )
     {
         fileRetriever = new FileRetriever( this.connectionSettings );
     }
     return fileRetriever.CanGetFile( (string) repositoryId, version );
 }
Esempio n. 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 );                    
 }
Esempio n. 3
0
 public DiffTwoFileVersions( VaultRepositoryAuthSettings settings, ExternalToolsSettings externalToolsSettings )
     : this(settings.Host, settings.Repository, settings.User, settings.Password)
 {
     this.externalToolsSettings = externalToolsSettings;
     fileRetriever = new FileRetriever( settings );
 }