From e9cac2d11c63aaef8be87aa4bb2871928214e4ac Mon Sep 17 00:00:00 2001 From: Kenneth Skovhede Date: Sun, 8 Sep 2013 00:39:11 +0200 Subject: [PATCH] Added reading metadata from snapshot implementation. --- Duplicati/Library/Main/Operation/BackupHandler.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Duplicati/Library/Main/Operation/BackupHandler.cs b/Duplicati/Library/Main/Operation/BackupHandler.cs index 851c32d7e..de4b6f1a7 100644 --- a/Duplicati/Library/Main/Operation/BackupHandler.cs +++ b/Duplicati/Library/Main/Operation/BackupHandler.cs @@ -544,7 +544,7 @@ namespace Duplicati.Library.Main.Operation } } } - + private bool HandleFilesystemEntry(string path, System.IO.FileAttributes attributes) { try @@ -571,7 +571,7 @@ namespace Duplicati.Library.Main.Operation if (m_options.StoreMetadata) { - metadata = null; //snapshot.GetMetadata(path); + metadata = m_snapshot.GetMetadata(path); if (metadata == null) metadata = new Dictionary(); @@ -603,7 +603,7 @@ namespace Duplicati.Library.Main.Operation if (m_options.StoreMetadata) { - Dictionary metadata = null; //snapshot.GetMetadata(path); + Dictionary metadata = m_snapshot.GetMetadata(path); if (metadata == null) metadata = new Dictionary(); @@ -645,7 +645,7 @@ namespace Duplicati.Library.Main.Operation IMetahash metahashandsize; if (m_options.StoreMetadata) { - Dictionary metadata = null; //snapshot.GetMetadata(file); + Dictionary metadata = m_snapshot.GetMetadata(path); if (metadata == null) metadata = new Dictionary();