Synced
PathBoundary.RequireContained
Section titled “PathBoundary.RequireContained”
- Validates and normalizes an absolute path beneath a root.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.IO
Declaration
Section titled “Declaration”public static string Inno.Core.IO.PathBoundary.RequireContained(string root, string path)Parameters
Section titled “Parameters”Parameter root: The owning root directory.
Parameter path: The path to validate.
Returns
Section titled “Returns”The normalized absolute contained path.