Function bitcoinleveldb_file::parse_file_name
source · Expand description
| If filename is a leveldb file, store the type | of the file in *type. | | The number encoded in the filename is stored in | *number. If the filename was successfully | parsed, returns true. Else return false. |
| Owned filenames have the form: | dbname/CURRENT | dbname/LOCK | dbname/LOG | dbname/LOG.old | dbname/MANIFEST-[0-9]+ | dbname/[0-9]+.(log|sst|ldb)