19 lines
654 B
C#
19 lines
654 B
C#
// <copyright file="FacetFileEntry.cs" company="StellaOps">
|
|
// Copyright (c) StellaOps. Licensed under BUSL-1.1.
|
|
// </copyright>
|
|
|
|
namespace StellaOps.Facet;
|
|
|
|
/// <summary>
|
|
/// Represents a single file within a facet.
|
|
/// </summary>
|
|
/// <param name="Path">The file path within the image.</param>
|
|
/// <param name="Digest">Content hash in "algorithm:hex" format (e.g., "sha256:abc...").</param>
|
|
/// <param name="SizeBytes">File size in bytes.</param>
|
|
/// <param name="ModifiedAt">Last modification timestamp, if available.</param>
|
|
public sealed record FacetFileEntry(
|
|
string Path,
|
|
string Digest,
|
|
long SizeBytes,
|
|
DateTimeOffset? ModifiedAt);
|