diff options
author | Max <michal@naiman.eu> | 2016-10-22 17:17:58 +0300 |
---|---|---|
committer | Max <michal@naiman.eu> | 2016-10-22 17:17:58 +0300 |
commit | c56c8d066762ebb32d241f47ef5ccd5e65efda20 (patch) | |
tree | eb0fbfcef678ee2662efa9c0f7fc64dd51762144 /Duplicati/Library/Interface/IGenericSourceModule.cs | |
parent | 252497d9fdee5e1e2f2a49190851c9eaff00e3c4 (diff) |
additional verification of hyper-v
ability to show paths in GUI
Diffstat (limited to 'Duplicati/Library/Interface/IGenericSourceModule.cs')
-rw-r--r-- | Duplicati/Library/Interface/IGenericSourceModule.cs | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/Duplicati/Library/Interface/IGenericSourceModule.cs b/Duplicati/Library/Interface/IGenericSourceModule.cs index 1f1d8c0b4..aced0c6c5 100644 --- a/Duplicati/Library/Interface/IGenericSourceModule.cs +++ b/Duplicati/Library/Interface/IGenericSourceModule.cs @@ -42,13 +42,20 @@ namespace Duplicati.Library.Interface /// <param name="filter">Filters that are applied to backup paths (include, exclude)</param> /// <param name="commandlineOptions">A set of commandline options passed to Duplicati</param> /// <returns>A list of changed or added options values</returns> - Dictionary<string, string> ParseSource(ref string[] paths, ref string filter, Dictionary<string, string> commandlineOptions); + Dictionary<string, string> ParseSourcePaths(ref string[] paths, ref string filter, Dictionary<string, string> commandlineOptions); /// <summary> - /// This method is the interception where the module can interact with the execution environment and modify the settings. + /// This method decides if input variables contains something to backup. /// </summary> /// <param name="commandlineOptions">A set of commandline options passed to Duplicati</param> /// <returns>If module is going to backup anything, it returns true, otherwise false</returns> - bool ContainFiles(Dictionary<string, string> commandlineOptions); + bool ContainFilesForBackup(Dictionary<string, string> commandlineOptions); + + /// <summary> + /// This method decides if input variables contains something to backup. + /// </summary> + /// <param name="paths">A set of source paths</param> + /// <returns>If module is going to backup anything, it returns true, otherwise false</returns> + bool ContainFilesForBackup(string[] paths); } } |