How does tar -cf
store information about the size of a directory that it archives? I'm able to read headers for actual files but when I come across a header that represents metadata for a directory, I'm seeing that the size of the directory is 0...
Perhaps I am just streaming the tar archive incorrectly? However, I don't see how likely that is since I am able to get information from regular files fine.