Skip to main content

changes

Function changes 

Source
pub fn changes<R: Read>(
    tar: R,
    f: impl FnMut(Change<'_, '_, R>) -> Result<()>,
) -> Result<()>
Expand description

Walk an uncompressed layer tar in order, classifying whiteouts, for readers that keep their own view of the filesystem (scanners, catalogers). Entries whose path would escape the root, and whiteouts of . or .., are skipped.