C# Class DXVcs2Git.Core.Serialization.SyncHistoryWrapper

Show file Open project: Xarlot/DXVcs2Git Class Usage Examples

Public Methods

Method Description
Add ( string sha, long timeStamp, string token, SyncHistoryStatus status = SyncHistoryStatus.Success ) : void
CreateNewToken ( ) : string
GetHead ( ) : SyncHistoryItem
GetHistoryHead ( ) : SyncHistoryItem
GetPrevious ( SyncHistoryItem item ) : SyncHistoryItem
Save ( ) : void
SyncHistoryWrapper ( SyncHistory history, DXVcsWrapper vcsWrapper, string vcsHistoryPath, string localHistoryPath ) : System

Method Details

Add() public method

public Add ( string sha, long timeStamp, string token, SyncHistoryStatus status = SyncHistoryStatus.Success ) : void
sha string
timeStamp long
token string
status SyncHistoryStatus
return void

CreateNewToken() public method

public CreateNewToken ( ) : string
return string

GetHead() public method

public GetHead ( ) : SyncHistoryItem
return SyncHistoryItem

GetHistoryHead() public method

public GetHistoryHead ( ) : SyncHistoryItem
return SyncHistoryItem

GetPrevious() public method

public GetPrevious ( SyncHistoryItem item ) : SyncHistoryItem
item SyncHistoryItem
return SyncHistoryItem

Save() public method

public Save ( ) : void
return void

SyncHistoryWrapper() public method

public SyncHistoryWrapper ( SyncHistory history, DXVcsWrapper vcsWrapper, string vcsHistoryPath, string localHistoryPath ) : System
history SyncHistory
vcsWrapper DXVcs2Git.DXVcs.DXVcsWrapper
vcsHistoryPath string
localHistoryPath string
return System