pub fn write_directory(
writer: &mut impl Write,
path: &Path,
stat: &Stat,
nlink: usize,
) -> ResultExpand description
Writes a directory entry to the dumpfile format.
Writes the metadata for a directory including path, permissions, ownership, timestamps, and extended attributes.