Skip to content

What kind of database/filetype is the db.zo file? #366

Answered by ajeetdsouza
kartikdc asked this question in Q&A
Discussion options

You must be logged in to vote

It's a binary format. There's a 4-byte header that gives you the database version (currently version 3) followed by the serialized list of directories (path, rank, and timestamp). The code for it is here, and the format used for serialization is called bincode.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ajeetdsouza
Comment options

You must be logged in to vote
4 replies
@ajeetdsouza
Comment options

@bfrontend
Comment options

@ajeetdsouza
Comment options

@bfrontend
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants