Method ResolveToHostPath
- Namespace
- Oscova.Agents.Utils
- Assembly
- Oscova.Agents.dll
ResolveToHostPath(string, Func<IReadOnlyList<AllowedDirectory>>)
Resolves an agent-supplied path through a live allowed-directory resolver or throws a tool-friendly error.
public static string ResolveToHostPath(string requestedPath, Func<IReadOnlyList<AllowedDirectory>> allowedDirectoriesResolver)Parameters
requestedPathstringallowedDirectoriesResolverFunc<IReadOnlyList<AllowedDirectory>>