ilusm.dev

tar

tar archive reading/writing (POSIX ustar format).

Load with: use tar

Quick example

use tar

result = tarad("value", "./example", "value", "value")
prn(result)

Functions

Functions

tarnw()

Performs the operation.

tarad(ar, path, data, mode)

Adds an item. Takes ar, path, data, mode.

tardr(ar, path, mode)

Performs the operation. Takes ar, path, mode.

tarot(v, w)

Performs the operation. Takes v, w.

tarps(s, w)

Performs the operation. Takes s, w.

tarck(hdr)

Performs the operation. Takes hdr.

tarhd(e)

Performs the operation. Takes e.

tarpd(data)

Performs the operation. Takes data.

tarpk(ar)

Performs the operation. Takes ar.

tarls(ar)

Lists items. Takes ar.

targt(ar, path)

Performs the operation. Takes ar, path.

tar_new()

Performs the operation.

tar_add(a, p, d, m)

Performs the operation. Takes a, p, d, m.

tar_dir(a, p, m)

Performs the operation. Takes a, p, m.

tar_pack(a)

Performs the operation. Takes a.

tar_ls(a)

Lists items. Takes a.

tar_get(a, p)

Performs the operation. Takes a, p.

Notes

  • TAR archive creation and extraction.