Method TryResolveToAgentPath
- Namespace
- Oscova.Agents.Utils
- Assembly
- Oscova.Agents.dll
TryResolveToAgentPath(string, IReadOnlyList<AllowedDirectory>, out string)
Converts a resolved host path back to the most specific agent-facing allowed-directory path.
public static bool TryResolveToAgentPath(string hostPath, IReadOnlyList<AllowedDirectory> allowedDirectories, out string agentPath)Parameters
hostPathstringallowedDirectoriesIReadOnlyList<AllowedDirectory>agentPathstring