프로퍼티 | 타입 | 설명 | |
---|---|---|---|
BackupRoot | string |
메소드 | 설명 | |
---|---|---|
BackupFiles ( string backupRoot, string key, IEnumerable |
Creates a backup of the specified files using the specified key.
|
|
CreateFileNameKey ( string fileName ) : string |
Creates a system unique key for the specified fileName.
|
|
CreateTempFilePath ( ) : string |
Gets a new temporary file path for use as a directory or filename.
|
|
RestoreFiles ( string backupRoot, string key ) : bool |
Restores all files associated with the specified key.
|
메소드 | 설명 | |
---|---|---|
TryDeleteDirectory ( string workingDirectory ) : bool |
Attempts to delete a directory, catching any exceptions.
|
public static BackupFiles ( string backupRoot, string key, IEnumerable |
||
backupRoot | string | Backup root directory. |
key | string | Backup key. |
fileNames | IEnumerable |
Files to backup. |
리턴 | string |
public static CreateFileNameKey ( string fileName ) : string | ||
fileName | string | File name or path. |
리턴 | string |
public static RestoreFiles ( string backupRoot, string key ) : bool | ||
backupRoot | string | Backup root directory. |
key | string | Backup key. |
리턴 | bool |