⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module tar

Module tar 

Source
Expand description

TAR archive parser and VFS loader

Parses ustar-format TAR archives from an in-memory byte buffer and creates corresponding files and directories in the VFS (RamFS). Supports regular files (typeflag ‘0’ or ‘\0’), directories (typeflag ‘5’), and symlinks (typeflag ‘2’, resolved as file copies).

Functions§

load_tar_to_vfs
Load a TAR archive from a byte buffer into the VFS.