From a3cc49566df59d982f1d32879104fc365a7647f7 Mon Sep 17 00:00:00 2001 From: verhoek <30193551+verhoek@users.noreply.github.com> Date: Thu, 25 Oct 2018 16:52:19 +0200 Subject: Added additional wrappers for alphaFS implementations. --- Duplicati/Library/Snapshots/NoSnapshotWindows.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Duplicati/Library/Snapshots/NoSnapshotWindows.cs') diff --git a/Duplicati/Library/Snapshots/NoSnapshotWindows.cs b/Duplicati/Library/Snapshots/NoSnapshotWindows.cs index 34f7f1967..6646f3178 100644 --- a/Duplicati/Library/Snapshots/NoSnapshotWindows.cs +++ b/Duplicati/Library/Snapshots/NoSnapshotWindows.cs @@ -17,7 +17,6 @@ // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA using System; using System.Collections.Generic; -using Alphaleonis.Win32.Filesystem; namespace Duplicati.Library.Snapshots { @@ -99,7 +98,7 @@ namespace Duplicati.Library.Snapshots try { return base.ListFiles(localFolderPath); } catch (System.IO.PathTooLongException) { } - string[] tmp = Directory.GetFiles(SystemIOWindows.PrefixWithUNC(localFolderPath)); + string[] tmp = IO_WIN.GetFiles(SystemIOWindows.PrefixWithUNC(localFolderPath)); string[] res = new string[tmp.Length]; for(int i = 0; i < tmp.Length; i++) res[i] = SystemIOWindows.StripUNCPrefix(tmp[i]); @@ -119,7 +118,7 @@ namespace Duplicati.Library.Snapshots try { return base.ListFolders(localFolderPath); } catch (System.IO.PathTooLongException) { } - string[] tmp = Directory.GetDirectories(SystemIOWindows.PrefixWithUNC(localFolderPath)); + string[] tmp = IO_WIN.GetDirectories(SystemIOWindows.PrefixWithUNC(localFolderPath)); string[] res = new string[tmp.Length]; for (int i = 0; i < tmp.Length; i++) res[i] = SystemIOWindows.StripUNCPrefix(tmp[i]); -- cgit v1.2.3