diff options
author | Kenneth Skovhede <kenneth@hexad.dk> | 2017-01-05 18:46:01 +0300 |
---|---|---|
committer | Kenneth Skovhede <kenneth@hexad.dk> | 2017-01-05 18:46:01 +0300 |
commit | 1108d51d7f2f3bc821989288a34e65baab04c182 (patch) | |
tree | 4caa8076e4813f6ce4e27c50b6f71a64d5191467 /Duplicati/Library/Interface | |
parent | 3b85a77673cb5989d34985f253e7a835a23ff0eb (diff) |
Implemented a new new `list-broken-files` and `purge-broken-files` command for the commandline to assist with handling remote file loss.
Diffstat (limited to 'Duplicati/Library/Interface')
-rw-r--r-- | Duplicati/Library/Interface/ResultInterfaces.cs | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/Duplicati/Library/Interface/ResultInterfaces.cs b/Duplicati/Library/Interface/ResultInterfaces.cs index 653ca4e89..fc0af4b8a 100644 --- a/Duplicati/Library/Interface/ResultInterfaces.cs +++ b/Duplicati/Library/Interface/ResultInterfaces.cs @@ -293,11 +293,21 @@ namespace Duplicati.Library.Interface public interface IPurgeFilesResults : IBasicResults
{
- long RemovedFileCount { get; set; }
- long RemovedFileSize { get; set; }
- long RewrittenFileLists { get; set; }
+ long RemovedFileCount { get; }
+ long RemovedFileSize { get; }
+ long RewrittenFileLists { get; }
ICompactResults CompactResults { get; }
}
+ public interface IListBrokenFilesResults : IBasicResults
+ {
+ IEnumerable<Tuple<long, DateTime, IEnumerable<Tuple<string, long>>>> BrokenFiles { get; }
+ }
+
+ public interface IPurgeBrokenFilesResults : IBasicResults
+ {
+ IPurgeFilesResults PurgeResults { get; }
+ IDeleteResults DeleteResults { get; }
+ }
}
|