Module dumpfile

Module dumpfile 

Source
Expand description

Reading and writing composefs dumpfile format.

This module provides functionality to serialize filesystem trees into the composefs dumpfile text format (writing), and to convert parsed dumpfile entries back into tree structures (reading).

The module handles file metadata, extended attributes, and hardlink tracking.

StructsΒ§

DumpfileWriter πŸ”’

FunctionsΒ§

add_entry_to_filesystem
Convert a dumpfile Entry into tree structures and insert into a FileSystem.
dumpfile_to_filesystem
Parse a dumpfile string and build a complete FileSystem.
entry_to_stat πŸ”’
Convert a dumpfile Entry’s metadata into a tree Stat structure.
write_directory
Writes a directory entry to the dumpfile format.
write_dumpfile
Writes a complete filesystem tree to the composefs dumpfile format.
write_empty πŸ”’
write_entry πŸ”’
write_escaped πŸ”’
write_hardlink
Writes a hardlink entry to the dumpfile format.
write_leaf
Writes a leaf node (non-directory) entry to the dumpfile format.
writeln_fmt πŸ”’