C# Class Gilgame.SEWorkbench.Services.BackupManager

显示文件 Open project: gilgame/SEWorkbench Class Usage Examples

Public Methods

Method Description
BackupFile ( string original, string contents ) : void
BackupManager ( string project ) : System
GetBackup ( string original ) : Models.BackupItem

Private Methods

Method Description
Compare ( string file1, string file2 ) : bool
FirstIsNewer ( string file1, string file2 ) : bool
HashFilename ( string path ) : string

Method Details

BackupFile() public method

public BackupFile ( string original, string contents ) : void
original string
contents string
return void

BackupManager() public method

public BackupManager ( string project ) : System
project string
return System

GetBackup() public method

public GetBackup ( string original ) : Models.BackupItem
original string
return Models.BackupItem