blindforge/FORMATS.md
2026-07-27 21:35:40 +02:00

530 B

Internal storage formats

This file describes the internal storage formats used for persistent data.

Repository metadata

meta.bin

File structure:

  • Version (1 byte): 0x00
  • Time (8 bytes, big endian)
  • Title length (4 bytes, big endian) (may be zero)
  • Title
  • Repository URL length (4 bytes, big endian)
  • Repository URL
  • Commit hash length (4 bytes, big endian)
  • Commit hash
  • Content

Content is a concatenation of entries. Entry structure:

  • File path length (4 bytes, big endian)
  • File path
  • Hash (44 bytes)