ExportEntry¶
Namespace Nfty.Core.Publish in assembly Nfty.Core.
One file an export will carry, and where it will sit.
Constructors¶
ExportEntry(string, string, long)¶
Parameters
Source(string) - The file on disk now.Name(string) - Its path inside the export, always with/separators.Bytes(long) - Its size, so a plan can be totalled without opening anything.
Properties¶
Bytes¶
Its size, so a plan can be totalled without opening anything.
Name¶
Its path inside the export, always with / separators.
Render¶
Makes the file's bytes when the export is written, for a file the export rewrites or invents (item metadata with new links, collection.json); null for a file copied as it stands.
Remarks
For a rewritten item ExportEntry.Source is the Set's own file and ExportEntry.Bytes is that file's size, close to but not the final size; the plan an ExportResult carries has the real one.
SetNumber¶
The set number of the asset this file belongs to, or null for a file that is not one asset's.
Remarks
Carried explicitly because a renamed file (token ids, a different start) no longer spells it; the number stamped into a debug image must stay the SET number.
Source¶
The file on disk now.