Table of Contents

Class ManifestNormalFile

Namespace
ZeroInstall.Store.Manifests
Assembly
ZeroInstall.Store.dll

An non-executable file entry in a Manifest.

[Serializable]
public sealed record ManifestNormalFile : ManifestFile, IEquatable<ManifestElement>, IEquatable<ManifestFile>, IEquatable<ManifestNormalFile>
Inheritance
ManifestNormalFile
Implements
Inherited Members

Constructors

ManifestNormalFile(string, UnixTime, long)

An non-executable file entry in a Manifest.

public ManifestNormalFile(string Digest, UnixTime ModifiedTime, long Size)

Parameters

Digest string

The digest of the content of the file calculated using the selected digest algorithm.

ModifiedTime UnixTime

The time this file was last modified.

Size long

The size of the file in bytes.

Methods

ToLine(string)

Formats the element in the Manifest line format.

public override string ToLine(string name)

Parameters

name string

The name of the element.

Returns

string