C# Класс DXVcs2Git.DXVcs.DXVcsWrapper

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

CheckIn() публичный Метод

public CheckIn ( SyncItem item, string comment ) : bool
item DXVcs2Git.Core.SyncItem
comment string
Результат bool

CheckInChangedFile() публичный Метод

public CheckInChangedFile ( string vcsPath, string localPath, string comment ) : bool
vcsPath string
localPath string
comment string
Результат bool

CheckInFile() публичный Метод

public CheckInFile ( string vcsPath, string localPath, string comment ) : bool
vcsPath string
localPath string
comment string
Результат bool

CheckInNewFile() публичный Метод

public CheckInNewFile ( string vcsPath, string localPath, string comment ) : bool
vcsPath string
localPath string
comment string
Результат bool

CheckOut() публичный Метод

public CheckOut ( SyncItem item, string comment ) : bool
item DXVcs2Git.Core.SyncItem
comment string
Результат bool

CheckOutFile() публичный Метод

public CheckOutFile ( string vcsPath, string localPath, bool dontGetLocalCopy, string comment ) : bool
vcsPath string
localPath string
dontGetLocalCopy bool
comment string
Результат bool

CreateLabel() публичный Метод

public CreateLabel ( string vcsPath, string labelName, string comment = "" ) : void
vcsPath string
labelName string
comment string
Результат void

DXVcsWrapper() публичный Метод

public DXVcsWrapper ( string server, string user = null, string password = null ) : System
server string
user string
password string
Результат System

FindCommit() публичный Метод

public FindCommit ( TrackBranch branch, bool>.Func func ) : HistoryItem
branch DXVcs2Git.Core.TrackBranch
func bool>.Func
Результат DXVcs2Git.Core.HistoryItem

GenerateCommits() публичный Метод

public GenerateCommits ( IEnumerable historyItems ) : IList
historyItems IEnumerable
Результат IList

GenerateHistory() публичный Метод

public GenerateHistory ( TrackBranch branch, System.DateTime from ) : IList
branch DXVcs2Git.Core.TrackBranch
from System.DateTime
Результат IList

GenerateTrackItems() публичный Метод

public GenerateTrackItems ( TrackBranch trackBranch, TrackItem trackItem ) : IList
trackBranch DXVcs2Git.Core.TrackBranch
trackItem DXVcs2Git.Core.TrackItem
Результат IList

GetCommits() публичный Метод

public GetCommits ( System.DateTime timeStamp, IList items ) : IEnumerable
timeStamp System.DateTime
items IList
Результат IEnumerable

GetFile() публичный Метод

public GetFile ( string historyPath, string local ) : string
historyPath string
local string
Результат string

GetProject() публичный Метод

public GetProject ( string server, string vcsPath, string localPath, System.DateTime timeStamp ) : void
server string
vcsPath string
localPath string
timeStamp System.DateTime
Результат void

GetUsers() публичный Метод

public GetUsers ( ) : IEnumerable
Результат IEnumerable

MergeCommits() публичный Метод

public MergeCommits ( IList commits ) : IList
commits IList
Результат IList

ProcessCheckIn() публичный Метод

public ProcessCheckIn ( IEnumerable items, string comment ) : bool
items IEnumerable
comment string
Результат bool

ProcessCheckout() публичный Метод

public ProcessCheckout ( IEnumerable items, bool ignoreSharedFiles, TrackBranch branch ) : bool
items IEnumerable
ignoreSharedFiles bool
branch DXVcs2Git.Core.TrackBranch
Результат bool

ProcessUndoCheckout() публичный Метод

public ProcessUndoCheckout ( IEnumerable items ) : bool
items IEnumerable
Результат bool

RollbackItem() публичный Метод

public RollbackItem ( SyncItem item ) : bool
item DXVcs2Git.Core.SyncItem
Результат bool

UndoCheckoutFile() публичный Метод

public UndoCheckoutFile ( string vcsPath, string localPath ) : bool
vcsPath string
localPath string
Результат bool