Synced
PathBoundary.EnumerateFiles
Section titled “PathBoundary.EnumerateFiles”
- Enumerates regular files in an owned tree without following filesystem links.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.IO
Declaration
Section titled “Declaration”public static System.Collections.Generic.IEnumerable<string> Inno.Core.IO.PathBoundary.EnumerateFiles(string root)Parameters
Section titled “Parameters”Parameter root: The existing physical root whose files and subdirectories belong to the caller.
Returns
Section titled “Returns”Absolute file paths in unspecified order; enumeration does not retain open file handles.
Exceptions
Section titled “Exceptions”Exception T:System.IO.IOException: The root or any entry is a symbolic link, junction or other reparse point, or cannot be inspected.
Exception T:System.IO.DirectoryNotFoundException: The root does not exist.