C# Class DXVcs2Git.DXVcs.DXVcsRepository

Inheritance: IDXVcsRepository
ファイルを表示 Open project: Xarlot/DXVcs2Git

Private Properties

Property 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

Public Methods

Method 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

Method 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 method

public AddFile ( string vcsFile, byte fileBytes, string comment ) : void
vcsFile string
fileBytes byte
comment string
return void

AddProject() public method

public AddProject ( string vcsPath, string comment ) : void
vcsPath string
comment string
return void

CheckInFile() public method

public CheckInFile ( string vcsFile, string localFile, string comment ) : void
vcsFile string
localFile string
comment string
return void

CheckOutFile() public method

public CheckOutFile ( string vcsFile, string localFile, string comment, bool dontGetLocalCopy = false ) : void
vcsFile string
localFile string
comment string
dontGetLocalCopy bool
return void

CreateLabel() public method

public CreateLabel ( string vcsPath, string labelName, string comment ) : void
vcsPath string
labelName string
comment string
return void

DeleteFile() public method

public DeleteFile ( string vcsPath, string comment ) : void
vcsPath string
comment string
return void

DeleteProject() public method

public DeleteProject ( string vcsPath, string comment ) : void
vcsPath string
comment string
return void

Get() public method

public Get ( string vcsFile, string fileName, int version ) : void
vcsFile string
fileName string
version int
return void

GetFileData() public method

public GetFileData ( string vcsFile ) : FileStateInfo
vcsFile string
return FileStateInfo

GetFileHistory() public method

public GetFileHistory ( string vcsFile ) : DXVcs2Git.DXVcs.FileVersionInfo[]
vcsFile string
return DXVcs2Git.DXVcs.FileVersionInfo[]

GetFileWorkingPath() public method

public GetFileWorkingPath ( string vcsFile ) : string
vcsFile string
return string

GetLatestFileVersion() public method

public GetLatestFileVersion ( string vcsFile, string fileName ) : void
vcsFile string
fileName string
return void

GetLatestReplaceFile() public method

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

GetLatestVersion() public method

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
return bool

GetLiveLinks() public method

public GetLiveLinks ( string vcsPath ) : LinkInfo[]
vcsPath string
return LinkInfo[]

GetLocalFileModified() public method

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
return bool

GetProject() public method

public GetProject ( string vcsPath, string localPath, System.DateTime timeStamp ) : void
vcsPath string
localPath string
timeStamp System.DateTime
return void

GetProjectData() public method

public GetProjectData ( string vcsProject ) : ProjectStateInfo
vcsProject string
return ProjectStateInfo

GetProjectHistory() public method

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
return IList

GetProjects() public method

public GetProjects ( string vcsProject ) : ProjectStateInfo[]
vcsProject string
return ProjectStateInfo[]

GetUsers() public method

public GetUsers ( ) : UserInfo[]
return UserInfo[]

HasLiveLinks() public method

public HasLiveLinks ( string vcsPath ) : bool
vcsPath string
return bool

IsCheckedOut() public method

public IsCheckedOut ( string vcsFile ) : bool
vcsFile string
return bool

IsCheckedOutByMe() public method

public IsCheckedOutByMe ( string vcsFile ) : bool
vcsFile string
return bool

IsUnderVss() public method

public IsUnderVss ( string vcsFile ) : bool
vcsFile string
return bool

MoveFile() public method

public MoveFile ( string vcsPath, string newVcsPath, string comment ) : void
vcsPath string
newVcsPath string
comment string
return void

UndoCheckout() public method

public UndoCheckout ( string vcsFile, string localFile ) : void
vcsFile string
localFile string
return void