From: Stephen Seo Date: Thu, 4 Jul 2024 04:13:52 +0000 (+0900) Subject: revise file_format.md X-Git-Tag: 1.0~82 X-Git-Url: https://git.seodisparate.com/gitweb?a=commitdiff_plain;h=004f4f2cd9bf7ad9c2135b17ba9311e7d5cae6c9;p=SimpleArchiver revise file_format.md --- diff --git a/file_format.md b/file_format.md index cdeff7f..909891d 100644 --- a/file_format.md +++ b/file_format.md @@ -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).