mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-13 12:37:13 +00:00
fix crossplatform compat
This commit is contained in:
parent
7e313cf2fd
commit
f721cfce7d
1 changed files with 7 additions and 0 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue