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
stringThe digest of the content of the file calculated using the selected digest algorithm.
ModifiedTime
UnixTimeThe time this file was last modified.
Size
longThe 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
stringThe name of the element.