C# Class DXVcs2Git.DXVcs.DXVcsRepository

Inheritance: IDXVcsRepository
Afficher le fichier Open project: Xarlot/DXVcs2Git

Private Properties

Свойство Type Description
CleanUpDirectory void
CreateAccessDict AccessDeniedInfo>.Dictionary
CreateDirectory void
CreateFile void
CreateProject void
DXVcsRepository System
EqualsCheckOutParams bool
EqualsCheckOutParams bool
GetFileName string
GetProjectPath string
GetWorkingFolder string
IsProject bool
MoveFileInternal void
PrepareProjectHistoryRequest ProjectHistoryRequest
ProcessException void
QueueAll void
QueueBlock void
RemoveProjectIfNeeded void
RenameFile void
SafeDeleteFile bool
SafeDeleteProject bool
SelectFileTime System.DateTime
StartTouchThread System.Threading.ManualResetEvent
ValidateService void

Méthodes publiques

Méthode Description
AddFile ( string vcsFile, byte fileBytes, string comment ) : void
AddProject ( string vcsPath, string comment ) : void
CheckInFile ( string vcsFile, string localFile, string comment ) : void
CheckOutFile ( string vcsFile, string localFile, string comment, bool dontGetLocalCopy = false ) : void
CreateLabel ( string vcsPath, string labelName, string comment ) : void
DeleteFile ( string vcsPath, string comment ) : void
DeleteProject ( string vcsPath, string comment ) : void
Get ( string vcsFile, string fileName, int version ) : void
GetFileData ( string vcsFile ) : FileStateInfo
GetFileHistory ( string vcsFile ) : DXVcs2Git.DXVcs.FileVersionInfo[]
GetFileWorkingPath ( string vcsFile ) : string
GetLatestFileVersion ( string vcsFile, string fileName ) : void
GetLatestReplaceFile ( FileDataLocation fileLocation, System.DateTime fileTime, bool exists, bool checkedOut ) : void
GetLatestVersion ( string vcsPath, string localProjectPath, bool buildTree, object option, bool recursive, bool makeWritable, ReplaceWriteable replaceWriteableState, FileTime fileTimeState, VcsClientBatchState batchState ) : bool
GetLiveLinks ( string vcsPath ) : LinkInfo[]
GetLocalFileModified ( FileStateInfo info, string localPath, string vcsPath, System.DateTime projectDate, FileBaseInfoState &fileState, System.DateTime lastWrite ) : bool
GetProject ( string vcsPath, string localPath, System.DateTime timeStamp ) : void
GetProjectData ( string vcsProject ) : ProjectStateInfo
GetProjectHistory ( string vcsPath, bool recursive, System.DateTime from = null, System.DateTime to = null ) : IList
GetProjects ( string vcsProject ) : ProjectStateInfo[]
GetUsers ( ) : UserInfo[]
HasLiveLinks ( string vcsPath ) : bool
IsCheckedOut ( string vcsFile ) : bool
IsCheckedOutByMe ( string vcsFile ) : bool
IsUnderVss ( string vcsFile ) : bool
MoveFile ( string vcsPath, string newVcsPath, string comment ) : void
UndoCheckout ( string vcsFile, string localFile ) : void

Private Methods

Méthode Description
CleanUpDirectory ( string localProjectPath ) : void
CreateAccessDict ( AccessDeniedInfo accessList ) : AccessDeniedInfo>.Dictionary
CreateDirectory ( string curLocalFolder ) : void
CreateFile ( string vcsPath, string fileName, byte fileBytes, string comment ) : void
CreateProject ( string vcsPath, string name, string comment ) : void
DXVcsRepository ( string serviceUrl, string user, string password ) : System
EqualsCheckOutParams ( FileStateInfo fsi, FileLocation fl, bool &differentHost ) : bool
EqualsCheckOutParams ( FileStateInfo fsi, string localPath, bool &differentHost ) : bool
GetFileName ( string vcsPath ) : string
GetProjectPath ( string vcsPath ) : string
GetWorkingFolder ( string vcsProject ) : string
IsProject ( string vcsPath ) : bool
MoveFileInternal ( string vcsPath, string newVcsPath, string comment ) : void
PrepareProjectHistoryRequest ( System.DateTime from, System.DateTime to, string findUser, string findComment, HistoryItems whatItems, bool showFileHistory ) : ProjectHistoryRequest
ProcessException ( Queue exceptionQueue ) : void
QueueAll ( string id, int blockIndex, AutoResetEvent getDataEvent, AutoResetEvent decompressEvent, AutoResetEvent saveEvent, string localPath, string path, System.DateTime fileTime, bool doCheckOut, bool setNormal, bool fileExists, Queue exceptionQueue, double step ) : void
QueueBlock ( string id, AutoResetEvent getBlockEvent, BlockInfo info, Queue exceptionQueue ) : void
RemoveProjectIfNeeded ( string oldProjectPath, string comment ) : void
RenameFile ( string vcsPath, string newFileName, string projectPath, string comment ) : void
SafeDeleteFile ( string vcsPath, string fileName, string comment ) : bool
SafeDeleteProject ( string vcsPath, string name, string comment ) : bool
SelectFileTime ( FileStateInfo info, FileTime fileTimeState ) : System.DateTime
StartTouchThread ( string id ) : ManualResetEvent
ValidateService ( ) : void

Method Details

AddFile() public méthode

public AddFile ( string vcsFile, byte fileBytes, string comment ) : void
vcsFile string
fileBytes byte
comment string
Résultat void

AddProject() public méthode

public AddProject ( string vcsPath, string comment ) : void
vcsPath string
comment string
Résultat void

CheckInFile() public méthode

public CheckInFile ( string vcsFile, string localFile, string comment ) : void
vcsFile string
localFile string
comment string
Résultat void

CheckOutFile() public méthode

public CheckOutFile ( string vcsFile, string localFile, string comment, bool dontGetLocalCopy = false ) : void
vcsFile string
localFile string
comment string
dontGetLocalCopy bool
Résultat void

CreateLabel() public méthode

public CreateLabel ( string vcsPath, string labelName, string comment ) : void
vcsPath string
labelName string
comment string
Résultat void

DeleteFile() public méthode

public DeleteFile ( string vcsPath, string comment ) : void
vcsPath string
comment string
Résultat void

DeleteProject() public méthode

public DeleteProject ( string vcsPath, string comment ) : void
vcsPath string
comment string
Résultat void

Get() public méthode

public Get ( string vcsFile, string fileName, int version ) : void
vcsFile string
fileName string
version int
Résultat void

GetFileData() public méthode

public GetFileData ( string vcsFile ) : FileStateInfo
vcsFile string
Résultat FileStateInfo

GetFileHistory() public méthode

public GetFileHistory ( string vcsFile ) : DXVcs2Git.DXVcs.FileVersionInfo[]
vcsFile string
Résultat DXVcs2Git.DXVcs.FileVersionInfo[]

GetFileWorkingPath() public méthode

public GetFileWorkingPath ( string vcsFile ) : string
vcsFile string
Résultat string

GetLatestFileVersion() public méthode

public GetLatestFileVersion ( string vcsFile, string fileName ) : void
vcsFile string
fileName string
Résultat void

GetLatestReplaceFile() public méthode

public GetLatestReplaceFile ( FileDataLocation fileLocation, System.DateTime fileTime, bool exists, bool checkedOut ) : void
fileLocation FileDataLocation
fileTime System.DateTime
exists bool
checkedOut bool
Résultat void

GetLatestVersion() public méthode

public GetLatestVersion ( string vcsPath, string localProjectPath, bool buildTree, object option, bool recursive, bool makeWritable, ReplaceWriteable replaceWriteableState, FileTime fileTimeState, VcsClientBatchState batchState ) : bool
vcsPath string
localProjectPath string
buildTree bool
option object
recursive bool
makeWritable bool
replaceWriteableState ReplaceWriteable
fileTimeState FileTime
batchState VcsClientBatchState
Résultat bool

GetLiveLinks() public méthode

public GetLiveLinks ( string vcsPath ) : LinkInfo[]
vcsPath string
Résultat LinkInfo[]

GetLocalFileModified() public méthode

public GetLocalFileModified ( FileStateInfo info, string localPath, string vcsPath, System.DateTime projectDate, FileBaseInfoState &fileState, System.DateTime lastWrite ) : bool
info FileStateInfo
localPath string
vcsPath string
projectDate System.DateTime
fileState FileBaseInfoState
lastWrite System.DateTime
Résultat bool

GetProject() public méthode

public GetProject ( string vcsPath, string localPath, System.DateTime timeStamp ) : void
vcsPath string
localPath string
timeStamp System.DateTime
Résultat void

GetProjectData() public méthode

public GetProjectData ( string vcsProject ) : ProjectStateInfo
vcsProject string
Résultat ProjectStateInfo

GetProjectHistory() public méthode

public GetProjectHistory ( string vcsPath, bool recursive, System.DateTime from = null, System.DateTime to = null ) : IList
vcsPath string
recursive bool
from System.DateTime
to System.DateTime
Résultat IList

GetProjects() public méthode

public GetProjects ( string vcsProject ) : ProjectStateInfo[]
vcsProject string
Résultat ProjectStateInfo[]

GetUsers() public méthode

public GetUsers ( ) : UserInfo[]
Résultat UserInfo[]

HasLiveLinks() public méthode

public HasLiveLinks ( string vcsPath ) : bool
vcsPath string
Résultat bool

IsCheckedOut() public méthode

public IsCheckedOut ( string vcsFile ) : bool
vcsFile string
Résultat bool

IsCheckedOutByMe() public méthode

public IsCheckedOutByMe ( string vcsFile ) : bool
vcsFile string
Résultat bool

IsUnderVss() public méthode

public IsUnderVss ( string vcsFile ) : bool
vcsFile string
Résultat bool

MoveFile() public méthode

public MoveFile ( string vcsPath, string newVcsPath, string comment ) : void
vcsPath string
newVcsPath string
comment string
Résultat void

UndoCheckout() public méthode

public UndoCheckout ( string vcsFile, string localFile ) : void
vcsFile string
localFile string
Résultat void