Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Resolves an owned path while rejecting existing links in its containment chain.

API: engine
Project: Inno.Core.IO

public static string Inno.Core.IO.PathBoundary.RequireUnlinkedPath(string root, string path)

Parameter root: The trusted ownership root, which may not exist yet.

Parameter path: The absolute existing or future path beneath that root.

The normalized contained path after every existing entry from the root has been inspected.

Exception T:System.IO.IOException: The path escapes the boundary or an existing entry is a link or reparse point.

This validates the observed filesystem state. Concurrent mutations require an owner lease; it does not grant protection against unrelated actors replacing paths after validation.