private static IEnumerable <string> GetFilesRecursively( DirectoryAct dir, string root, int depth) { if (depth == 0) { return(Enumerable.Empty <string>()); }
static bool IsNormalDirectory(DirectoryAct d) { var a = d.Attributes; return((a & FileAttributes.Hidden) == 0); }