module

Pk::Payload

Constants

SALTDIR = ".pksalt"

Class methods

extract(pkg_path : String, dest_dir : String) : Hash(String, String)

Extract a .pk.tar.zst to dest (staging directory) and return parsed metadata.

Source
read_files_manifest(dest_dir : String) : Array(NamedTuple(path: String, mode: Int32, uid: Int32, gid: Int32, blake3: String))

Read the FILES manifest and return array of {path, mode, uid, gid, hash}

Source