C# Class DXVcs2Git.DXVcs.DXVcsWrapper

Mostrar archivo Open project: Xarlot/DXVcs2Git Class Usage Examples

Public Methods

Method Description
CheckIn ( SyncItem item, string comment ) : bool
CheckInChangedFile ( string vcsPath, string localPath, string comment ) : bool
CheckInFile ( string vcsPath, string localPath, string comment ) : bool
CheckInNewFile ( string vcsPath, string localPath, string comment ) : bool
CheckOut ( SyncItem item, string comment ) : bool
CheckOutFile ( string vcsPath, string localPath, bool dontGetLocalCopy, string comment ) : bool
CreateLabel ( string vcsPath, string labelName, string comment = "" ) : void
DXVcsWrapper ( string server, string user = null, string password = null ) : System
FindCommit ( TrackBranch branch, bool>.Func func ) : HistoryItem
GenerateCommits ( IEnumerable historyItems ) : IList
GenerateHistory ( TrackBranch branch, System.DateTime from ) : IList
GenerateTrackItems ( TrackBranch trackBranch, TrackItem trackItem ) : IList
GetCommits ( System.DateTime timeStamp, IList items ) : IEnumerable
GetFile ( string historyPath, string local ) : string
GetProject ( string server, string vcsPath, string localPath, System.DateTime timeStamp ) : void
GetUsers ( ) : IEnumerable
MergeCommits ( IList commits ) : IList
ProcessCheckIn ( IEnumerable items, string comment ) : bool
ProcessCheckout ( IEnumerable items, bool ignoreSharedFiles, TrackBranch branch ) : bool
ProcessUndoCheckout ( IEnumerable items ) : bool
RollbackItem ( SyncItem item ) : bool
UndoCheckoutFile ( string vcsPath, string localPath ) : bool

Private Methods

Method Description
BeforeCheckOutCreateFile ( string vcsPath, string localPath, bool ignoreSharedFiles, TrackBranch branch ) : TestFileResult
BeforeCheckOutDeleteFile ( string vcsPath, string localPath, bool ignoreSharedFiles, TrackBranch branch ) : TestFileResult
BeforeCheckOutModifyFile ( string vcsPath, string localPath, bool ignoreSharedFiles, bool singleSharedFile, TrackBranch branch ) : TestFileResult
BeforeCheckOutMoveFile ( string vcsPath, string newVcsPath, string localPath, string newLocalPath, bool ignoreSharedFiles, TrackBranch branch, SyncAction &newAction ) : TestFileResult
CalcBeforeCheckoutState ( TestFileResult result ) : ProcessState
CalcCheckoutStateAfterCheckout ( TestFileResult result ) : ProcessState
CheckInDeletedFile ( string vcsPath, string localPath, string comment ) : bool
CheckInMovedFile ( string vcsPath, string newVcsPath, string localPath, string newLocalPath, string comment ) : bool
CheckIsSingleSharedFile ( IEnumerable files, SyncItem sharedFile ) : void
CheckOutCreateFile ( string vcsPath, string localPath, string comment ) : bool
CheckOutDeleteFile ( string vcsPath, string localPath, string comment ) : bool
CheckOutModifyFile ( string vcsPath, string localFile, string comment ) : bool
CheckOutMoveFile ( string vcsPath, string newVcsPath, string localPath, string newLocalPath, string comment ) : bool
IsSharedFile ( string vcsPath ) : bool
PerformHasFileTestBeforeCheckout ( string vcsPath ) : bool
PerformSimpleTestBeforeCheckout ( string vcsPath, bool ignoreSharedFiles, bool singleSharedFile, bool allowSingleSharedFile ) : TestFileResult
ProcessBeforeCheckout ( SyncItem item, bool ignoreSharedFiles, TrackBranch branch ) : TestFileResult
ProcessCheckoutItem ( SyncItem item, string comment ) : TestFileResult

Method Details

CheckIn() public method

public CheckIn ( SyncItem item, string comment ) : bool
item DXVcs2Git.Core.SyncItem
comment string
return bool

CheckInChangedFile() public method

public CheckInChangedFile ( string vcsPath, string localPath, string comment ) : bool
vcsPath string
localPath string
comment string
return bool

CheckInFile() public method

public CheckInFile ( string vcsPath, string localPath, string comment ) : bool
vcsPath string
localPath string
comment string
return bool

CheckInNewFile() public method

public CheckInNewFile ( string vcsPath, string localPath, string comment ) : bool
vcsPath string
localPath string
comment string
return bool

CheckOut() public method

public CheckOut ( SyncItem item, string comment ) : bool
item DXVcs2Git.Core.SyncItem
comment string
return bool

CheckOutFile() public method

public CheckOutFile ( string vcsPath, string localPath, bool dontGetLocalCopy, string comment ) : bool
vcsPath string
localPath string
dontGetLocalCopy bool
comment string
return bool

CreateLabel() public method

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

DXVcsWrapper() public method

public DXVcsWrapper ( string server, string user = null, string password = null ) : System
server string
user string
password string
return System

FindCommit() public method

public FindCommit ( TrackBranch branch, bool>.Func func ) : HistoryItem
branch DXVcs2Git.Core.TrackBranch
func bool>.Func
return DXVcs2Git.Core.HistoryItem

GenerateCommits() public method

public GenerateCommits ( IEnumerable historyItems ) : IList
historyItems IEnumerable
return IList

GenerateHistory() public method

public GenerateHistory ( TrackBranch branch, System.DateTime from ) : IList
branch DXVcs2Git.Core.TrackBranch
from System.DateTime
return IList

GenerateTrackItems() public method

public GenerateTrackItems ( TrackBranch trackBranch, TrackItem trackItem ) : IList
trackBranch DXVcs2Git.Core.TrackBranch
trackItem DXVcs2Git.Core.TrackItem
return IList

GetCommits() public method

public GetCommits ( System.DateTime timeStamp, IList items ) : IEnumerable
timeStamp System.DateTime
items IList
return IEnumerable

GetFile() public method

public GetFile ( string historyPath, string local ) : string
historyPath string
local string
return string

GetProject() public method

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

GetUsers() public method

public GetUsers ( ) : IEnumerable
return IEnumerable

MergeCommits() public method

public MergeCommits ( IList commits ) : IList
commits IList
return IList

ProcessCheckIn() public method

public ProcessCheckIn ( IEnumerable items, string comment ) : bool
items IEnumerable
comment string
return bool

ProcessCheckout() public method

public ProcessCheckout ( IEnumerable items, bool ignoreSharedFiles, TrackBranch branch ) : bool
items IEnumerable
ignoreSharedFiles bool
branch DXVcs2Git.Core.TrackBranch
return bool

ProcessUndoCheckout() public method

public ProcessUndoCheckout ( IEnumerable items ) : bool
items IEnumerable
return bool

RollbackItem() public method

public RollbackItem ( SyncItem item ) : bool
item DXVcs2Git.Core.SyncItem
return bool

UndoCheckoutFile() public method

public UndoCheckoutFile ( string vcsPath, string localPath ) : bool
vcsPath string
localPath string
return bool