Table of Contents

Method ResolveToAgentPath

Namespace
Oscova.Agents.Utils
Assembly
Oscova.Agents.dll

ResolveToAgentPath(string, IReadOnlyList<AllowedDirectory>)

Converts a resolved host path to the active run's agent-facing path or throws a tool-friendly error.

public static string ResolveToAgentPath(string hostPath, IReadOnlyList<AllowedDirectory> allowedDirectories)

Parameters

hostPath string
allowedDirectories IReadOnlyList<AllowedDirectory>

Returns

string