Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = cobra.Command{ Use: "dump-shreds <rocksdb> <out> <slots>", Short: "Dump shreds to file system", Long: `dump-shreds writes raw code and data shreds from RocksDB to the file system. Slots can be specified as integers or ranges separated by comma. Creates file paths ./<out>/<slot>/<type><index> type is either 'd' (data) or 'c' (code) File paths are written to stdout.`, Example: ` dump-shreds ./rocksdb ./shreds 1,2,100:200 ./shreds/1/d000 ./shreds/1/d001 ... ./shreds/2/d000 ./shreds/2/d001 ... ./shreds/100/d000 ./shreds/100/d001 ... ./shreds/101/d000 ./shreds/101/d001`, Args: cobra.ExactArgs(3), }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.