...
The following is a high-level simplification of the layers constituting the Trebuchet core library:
Scheme-to-protocol mapping
...
CONTENTS | TYPE | BYTE POSITION | ||
---|---|---|---|---|
status |
| 0 | ||
entry id |
| 1 | ||
previous id |
| 9 | ||
type |
| 17 | ||
symlinked parent |
| 18 | ||
mode |
| 19 | ||
links |
| 21 | ||
size |
| 25 | ||
modified |
| 33 | ||
user length |
| 41 | ||
group length |
| 45 | ||
relative dir length |
| 49 | ||
name length |
| 53 | ||
symlink length |
| 57 | ||
n = num properties |
| 61 | ||
property name i length |
| 65 + 8i | ||
property value i length |
| 69 + 8i | ||
user |
| 65 + 8n | ||
group |
| 65 + 8n + user length | ||
relative dir |
| 65 + 8n + user length + group length | ||
name |
| 65 + 8n + user length + group length + relative dir length | ||
symlink |
| 65 + 8n + user length + group length + relative dir length + name length | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="617d4cddb46385d1-c0719751-40234108-8470ba89-5bc448437289ace5d7bed0ce"><ac:plain-text-body><![CDATA[ | property name i |
| 65 + 8n + user length + group length + relative dir length + name length + symlink length + ?[0 <= k < i] property name k length | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="589376548643e1cf-7b0f51a2-4ff74123-a44aac20-0d7b46a293e8d13fd26a9b4b"><ac:plain-text-body><![CDATA[ | property value i |
| 65 + 8n + user length + group length + relative dir length + name length + ?[0 <= k < n] property name k length + ?[0 <= k < i] property value k length | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="190f2e37e5fce771-61adb0da-482b400f-84ccaf72-30c4ba28ef4ddc4efd495dde"><ac:plain-text-body><![CDATA[ | (end) |
| 65 + 8n + user length + group length + relative dir length + name length + ?[0 <= k < n] property name k length + ?[0 <= k < n] property value k length | ]]></ac:plain-text-body></ac:structured-macro> |
...