dumpbtreedb

command
v0.0.0-...-aa395bf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2022 License: MIT Imports: 12 Imported by: 0

README

dumpbtreedb

Usage of ./dumpbtreedb:
  -i string
        input file (default "input")

this program will read a btreedb5 file, extract it into the current directory.

btreedb5 has two b+ btree, and the tree containing more records is the main tree, the other is the snapshot, e.g. the bakup(i guess).

it results a lot of files started with 'tree1_' or 'tree2_'. every file is a record and the filename is the key in hex.

world metadata is a versioned json with two int32 saying world size before all the things. you can extract it with ./dumpsbvj01 -i firstrecord -n 8

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL