Skip to main content

payload_size

Function payload_size 

Source
pub fn payload_size(root: &Path) -> Result<u64>
Expand description

Logical size of a payload.

A link contributes the length of its target string, which is what a POSIX filesystem reports as its size and what the Node and Python consumers therefore measure. Counting it as zero would make an honest box with a linked interpreter fail its own signed installedSizeBytes.

ยงErrors

See collect_entries.