]> git.seodisparate.com - SimpleArchiver/commitdiff
revise file_format.md
authorStephen Seo <seo.disparate@gmail.com>
Thu, 4 Jul 2024 04:13:52 +0000 (13:13 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Thu, 4 Jul 2024 04:13:52 +0000 (13:13 +0900)
file_format.md

index cdeff7ffd24eaaa72cb0ae98debe24be29ea4cb8..909891dce57a57c030ba6a835071b2a765fa96f7 100644 (file)
@@ -46,5 +46,6 @@ Following the file-count bytes, the following bytes are added for each file:
 4. If this file is a symbolic link:
     1. 2 bytes is 16-bit unsigned integer "link target path" in big-endian.
     2. X bytes of link-target-path (length defined by previous value).
-5. 8 bytes 64-bit unsigned integer "size of filename in this archive file".
-6. X bytes file data (length defined by previous value).
+5. If this file is NOT a symbolic link:
+    1. 8 bytes 64-bit unsigned integer "size of filename in this archive file".
+    2. X bytes file data (length defined by previous value).