mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-15 12:45:01 +00:00
fix crossplatform compat
This commit is contained in:
@@ -35,6 +35,13 @@ namespace ICD.Common.Utils.IO
|
|||||||
return Directory.GetFiles(path);
|
return Directory.GetFiles(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static string[] GetFiles(string path, string filter)
|
||||||
|
{
|
||||||
|
if(path == null)
|
||||||
|
throw new ArgumentException("path");
|
||||||
|
return Directory.GetFiles(path, filter);
|
||||||
|
}
|
||||||
|
|
||||||
public static string[] GetDirectories(string path)
|
public static string[] GetDirectories(string path)
|
||||||
{
|
{
|
||||||
if (path == null)
|
if (path == null)
|
||||||
|
|||||||
Reference in New Issue
Block a user