Optionalbody: WriteBodyOptionalabsoluteThe path of the file, for an entry that a pack read from a path.
OptionalatimeOptionalbodyThe content. A string is kept as its UTF-8 bytes.
OptionalctimeOptionaldevOptionalgidOptionalgnameOptionalheaderThe header block, after encode().
OptionalinoOptionallinkpathOptionalmodeThe permission bits only.
OptionalmtimeOptionalnlinkThe number of bytes in the body. The body must have this many.
OptionaluidOptionalunameMake the header from the fields, and write it to the first 512
bytes of block, which must be zeros. Returns the blocks to
write before the body: block, and before it a PAX header entry
if a field does not fit the header.
An entry to write to an archive, in the shape of a
Request: the metadata is in the fields, and the content isbody.A pack makes one for each path that it reads from the file system and for each entry that it copies from another archive. Make one with content from memory, and give it to
Pack.add().onWriteEntrygets the entry before its header is written, and can change each field.