diff options
Diffstat (limited to 'Duplicati/Library/Snapshots/NoSnapshotWindows.cs')
-rw-r--r-- | Duplicati/Library/Snapshots/NoSnapshotWindows.cs | 5 |
1 files changed, 2 insertions, 3 deletions
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]);
|