Esc

Archive_Item

structextensionsince 0.36.1Source
  • macOS: Archive_Item works on macOS
  • Linux: Archive_Item works on Linux
  • Windows: Archive_Item works on Windows
  • Wasm: Archive_Item works on Wasm

Declaration

Archive_Item :: struct {
    name: string;    data: [] u8;    kind: Archive_Kind;// the target of a symlink or hardlink (TAR only)    link: string;// seconds since the Unix epoch    mtime: s64;// ZIP only    method: Archive_Method;}

An entry to write with write_archive or encode_archive. Nothing is copied: name, data and link must stay valid until the call returns.

See also