namespace StellaOps.Scanner.Surface.FS;
///
/// Configures the on-disk storage used by the surface cache.
///
public sealed class SurfaceCacheOptions
{
///
/// Root directory where cached payloads are stored. Defaults to a deterministic path under the temporary directory.
///
public string? RootDirectory { get; set; }
internal string ResolveRoot()
{
if (!string.IsNullOrWhiteSpace(RootDirectory))
{
return RootDirectory!;
}
return Path.Combine(Path.GetTempPath(), "stellaops", "surface-cache");
}
}