Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Packaging

We support package format called ayapack. Internally it is a TAR format archive, without any compression. We load the package file with memory map to reduce allocations.

Packaging

tar executable is pre-installed on almost all platforms. There may be BSD-Tar or GNU-Tar. For a directory foo that contains config.yaml, we can simply execute

$ cd foo
$ tar -cf foo.ayapack *

The parameter c means creating a package, and f means the following parameter is the package path.

Details

The details of the parsing and loading are in the vfs-tar.