NETSetupFileOperators

DI keys of the osisa.IO.Contracts.IFileOperator instances NETSetup registers.

Note

NETSetup works against several distinct roots at once - a scratch directory, the ISO build output, the nixos flake tree - and they cannot all compete for the single unkeyed IFileOperator registration. Keys live here as constants rather than as string literals at each call site, so a rename is a compiler error instead of a silent resolution failure.

Register them with NETSetup.Extensions.ServiceCollectionExtensions.UseNETSetupFileOperators(IServiceCollection).

public static class NETSetupFileOperators

1. Fields

1.1. BootImages

Key of the operator rooted at the long lived boot image directory.

public const string BootImages

1.2. Iso

Key of the operator rooted at the local ISO build output directory.

public const string Iso

1.3. NixFlake

Key of the operator rooted at the src/NETSetup/nixos flake tree.

public const string NixFlake

1.4. Temp

Key of the operator rooted at a fresh, private scratch directory.

public const string Temp