Expand description
On-disk database format detection.
usql and embedding applications need to decide which Engine
open variant fits an existing file before they have a key in hand:
plaintext SQLite and UQA compressed containers carry cleartext
magic bytes, while SQLCipher encrypts the whole file (including the
SQLite header), so an encrypted catalog is indistinguishable from a
non-database file without attempting a keyed open.
Enums§
- Database
File Format - On-disk format of a database file, detected from its header bytes.
Functions§
- detect_
database_ file_ format - Classify the on-disk format of
pathby reading its first bytes.