private static bool IsDriveRoot(string fullPath) { return(IOUtilities.PerformIO(() => new DirectoryInfo(fullPath).Parent == null)); }
private static FileSystemInfo[] GetFileSystemInfos(DirectoryInfo directoryInfo) { return(IOUtilities.PerformIO(directoryInfo.GetFileSystemInfos, SpecializedCollections.EmptyArray <FileSystemInfo>())); }
private static FileSystemInfo[] GetFileSystemInfos(DirectoryInfo directoryInfo) { return(IOUtilities.PerformIO(directoryInfo.GetFileSystemInfos, Array.Empty <FileSystemInfo>())); }