Skip to content

NuGetFileEntry

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

Represents a file entry within a NuGet package (.nupkg).

public sealed record NuGetFileEntry : IEquatable<NuGetFileEntry>

ObjectNuGetFileEntry

NuGetFileEntry(string, string, string, long, long, bool)

Section titled “NuGetFileEntry(string, string, string, long, long, bool)”

Represents a file entry within a NuGet package (.nupkg).

Parameters:

  • Name (String): File name without directory path.
  • FullPath (String): Full path of the entry within the package archive.
  • Directory (String): Directory portion of the entry path.
  • CompressedSize (Int64): Compressed size in bytes inside the .nupkg.
  • UncompressedSize (Int64): Uncompressed size in bytes.
  • IsDll (Boolean): Whether the entry is a .NET assembly (.dll).
public NuGetFileEntry(string Name, string FullPath, string Directory, long CompressedSize, long UncompressedSize, bool IsDll)

Compressed size in bytes inside the .nupkg.

Returns: Int64

public long CompressedSize { get; init; }

Directory portion of the entry path.

Returns: String

public string Directory { get; init; }

Full path of the entry within the package archive.

Returns: String

public string FullPath { get; init; }

Whether the entry is a .NET assembly (.dll).

Returns: Boolean

public bool IsDll { get; init; }

File name without directory path.

Returns: String

public string Name { get; init; }

Uncompressed size in bytes.

Returns: Int64

public long UncompressedSize { get; init; }