Table of Contents

Class ProfileFile

Namespace
OpenShell
Assembly
OpenShell.Sdk.dll

EXPERIMENTAL: non-secret content served at a virtual sandbox path. May change or be removed.

public sealed record ProfileFile : IEquatable<ProfileFile>
Inheritance
ProfileFile
Implements
Inherited Members

Constructors

ProfileFile(string, string, string)

EXPERIMENTAL: non-secret content served at a virtual sandbox path. May change or be removed.

public ProfileFile(string Path, string Content, string EnvVar = "")

Parameters

Path string

The virtual file name below /run/openshell/providers/<provider>/.

Content string

A UTF-8 template; only {{config.KEY}} references are supported.

EnvVar string

An optional environment variable that receives the absolute virtual path.

Properties

Content

A UTF-8 template; only {{config.KEY}} references are supported.

public string Content { get; init; }

Property Value

string

EnvVar

An optional environment variable that receives the absolute virtual path.

public string EnvVar { get; init; }

Property Value

string

Path

The virtual file name below /run/openshell/providers/<provider>/.

public string Path { get; init; }

Property Value

string