Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Skovhede <kenneth@hexad.dk>2013-09-08 02:37:49 +0400
committerKenneth Skovhede <kenneth@hexad.dk>2013-09-08 02:37:49 +0400
commit26be8628cd1b56347b9e1b73d48817f30203ede1 (patch)
tree9a5c1d2549ef3733984daa35e857d7ab8c91b5e6 /Duplicati/Library/Snapshots/NoSnapshotWindows.cs
parent60220438569d1a1722dab77d482c77ae8cb70b9f (diff)
Added support for detecting block devices under OSX/Linux.
Added support for reading extended attributes under OSX/Linux
Diffstat (limited to 'Duplicati/Library/Snapshots/NoSnapshotWindows.cs')
-rw-r--r--Duplicati/Library/Snapshots/NoSnapshotWindows.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/Duplicati/Library/Snapshots/NoSnapshotWindows.cs b/Duplicati/Library/Snapshots/NoSnapshotWindows.cs
index 9635bfce1..e3ec8a1d7 100644
--- a/Duplicati/Library/Snapshots/NoSnapshotWindows.cs
+++ b/Duplicati/Library/Snapshots/NoSnapshotWindows.cs
@@ -134,6 +134,26 @@ namespace Duplicati.Library.Snapshots
return res;
}
+
+ /// <summary>
+ /// Gets the metadata for the given file or folder
+ /// </summary>
+ /// <returns>The metadata for the given file or folder</returns>
+ /// <param name="file">The file or folder to examine</param>
+ public override Dictionary<string, string> GetMetadata(string file)
+ {
+ return null;
+ }
+
+ /// <summary>
+ /// Gets a value indicating if the path points to a block device
+ /// </summary>
+ /// <returns><c>true</c> if this instance is a block device; otherwise, <c>false</c>.</returns>
+ /// <param name="file">The file or folder to examine</param>
+ public override bool IsBlockDevice(string file)
+ {
+ return false;
+ }
}
}