C# Class DXVcs2Git.DXVcs.DXVcsWrapper

Afficher le fichier Open project: Xarlot/DXVcs2Git Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public CheckIn ( SyncItem item, string comment ) : bool
item DXVcs2Git.Core.SyncItem
comment string
Résultat bool

CheckInChangedFile() public méthode

public CheckInChangedFile ( string vcsPath, string localPath, string comment ) : bool
vcsPath string
localPath string
comment string
Résultat bool

CheckInFile() public méthode

public CheckInFile ( string vcsPath, string localPath, string comment ) : bool
vcsPath string
localPath string
comment string
Résultat bool

CheckInNewFile() public méthode

public CheckInNewFile ( string vcsPath, string localPath, string comment ) : bool
vcsPath string
localPath string
comment string
Résultat bool

CheckOut() public méthode

public CheckOut ( SyncItem item, string comment ) : bool
item DXVcs2Git.Core.SyncItem
comment string
Résultat bool

CheckOutFile() public méthode

public CheckOutFile ( string vcsPath, string localPath, bool dontGetLocalCopy, string comment ) : bool
vcsPath string
localPath string
dontGetLocalCopy bool
comment string
Résultat bool

CreateLabel() public méthode

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

DXVcsWrapper() public méthode

public DXVcsWrapper ( string server, string user = null, string password = null ) : System
server string
user string
password string
Résultat System

FindCommit() public méthode

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

GenerateCommits() public méthode

public GenerateCommits ( IEnumerable historyItems ) : IList
historyItems IEnumerable
Résultat IList

GenerateHistory() public méthode

public GenerateHistory ( TrackBranch branch, System.DateTime from ) : IList
branch DXVcs2Git.Core.TrackBranch
from System.DateTime
Résultat IList

GenerateTrackItems() public méthode

public GenerateTrackItems ( TrackBranch trackBranch, TrackItem trackItem ) : IList
trackBranch DXVcs2Git.Core.TrackBranch
trackItem DXVcs2Git.Core.TrackItem
Résultat IList

GetCommits() public méthode

public GetCommits ( System.DateTime timeStamp, IList items ) : IEnumerable
timeStamp System.DateTime
items IList
Résultat IEnumerable

GetFile() public méthode

public GetFile ( string historyPath, string local ) : string
historyPath string
local string
Résultat string

GetProject() public méthode

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

GetUsers() public méthode

public GetUsers ( ) : IEnumerable
Résultat IEnumerable

MergeCommits() public méthode

public MergeCommits ( IList commits ) : IList
commits IList
Résultat IList

ProcessCheckIn() public méthode

public ProcessCheckIn ( IEnumerable items, string comment ) : bool
items IEnumerable
comment string
Résultat bool

ProcessCheckout() public méthode

public ProcessCheckout ( IEnumerable items, bool ignoreSharedFiles, TrackBranch branch ) : bool
items IEnumerable
ignoreSharedFiles bool
branch DXVcs2Git.Core.TrackBranch
Résultat bool

ProcessUndoCheckout() public méthode

public ProcessUndoCheckout ( IEnumerable items ) : bool
items IEnumerable
Résultat bool

RollbackItem() public méthode

public RollbackItem ( SyncItem item ) : bool
item DXVcs2Git.Core.SyncItem
Résultat bool

UndoCheckoutFile() public méthode

public UndoCheckoutFile ( string vcsPath, string localPath ) : bool
vcsPath string
localPath string
Résultat bool