summaryrefslogtreecommitdiff
path: root/src/marlin.core/util/CommonPaths.cs
blob: 6659d8b81f76734fde27558f459ce2acd2d3155f (plain)
1
2
3
4
5
6
7
8
9
10
namespace marlin.core.util;

public static class CommonPaths
{
    public static readonly string Root = Environment.GetEnvironmentVariable("MARLIN_ROOT") 
                                         ?? throw new Exception("MARLIN_ROOT is not set");

    public static readonly string WebRoot = Path.Join(Root, "run");
    public static readonly string AgentRoot = Path.Join(Root, "local-run");
}