Class ManifestExecutableFile
- Namespace
- ZeroInstall.Store.Manifests
- Assembly
- ZeroInstall.Store.dll
An executable file entry in a Manifest.
[Serializable]
public sealed record ManifestExecutableFile : ManifestFile, IEquatable<ManifestElement>, IEquatable<ManifestFile>, IEquatable<ManifestExecutableFile>
- Inheritance
-
ManifestExecutableFile
- Implements
- Inherited Members
Constructors
ManifestExecutableFile(string, UnixTime, long)
An executable file entry in a Manifest.
public ManifestExecutableFile(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.