diff options
Diffstat (limited to 'Duplicati/Library/Common/IO/SystemIOLinux.cs')
-rw-r--r-- | Duplicati/Library/Common/IO/SystemIOLinux.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Duplicati/Library/Common/IO/SystemIOLinux.cs b/Duplicati/Library/Common/IO/SystemIOLinux.cs index fecdf5f5f..dc3efca36 100644 --- a/Duplicati/Library/Common/IO/SystemIOLinux.cs +++ b/Duplicati/Library/Common/IO/SystemIOLinux.cs @@ -121,6 +121,12 @@ namespace Duplicati.Library.Common.IO return Directory.EnumerateFileSystemEntries(path);
}
+ public IEnumerable<string> EnumerateFiles(string path)
+ {
+ return Directory.EnumerateFiles(path);
+ }
+
+
public string PathGetFileName(string path)
{
return Path.GetFileName(path);
@@ -308,7 +314,7 @@ namespace Duplicati.Library.Common.IO { var fileInfo = new FileInfo(path);
return new FileEntry(fileInfo.Name, fileInfo.Length, fileInfo.LastAccessTime, fileInfo.LastWriteTime); - } + }
}
}
|