Crate bitcoinleveldb_file

Source

Structs§

FileMetaData
StdoutPrinter

Enums§

FileType

Traits§

CreateDir
DeleteDir
DeleteFile
FileExists
FileLock
| Identifies a locked file. |
GetChildren
GetFileSize
LockFile
NewAppendableFile
NewRandomAccessFile
NewSequentialFile
NewWritableFile
RandomAccessFile
| A file abstraction for randomly reading | the contents of a file. |
RandomAccessFileRead
RenameFile
SequentialFile
| A file abstraction for reading sequentially | through a file |
SequentialFileRead
SequentialFileSkip
UnlockFile
WritableFile
| A file abstraction for sequential writing. The | implementation must provide buffering since | callers may append small fragments at a time to | the file.
WritableFileAppend
WritableFileClose
WritableFileFlush
WritableFileSync

Functions§

current_file_name
| Return the name of the current file. | This file contains the name of the current | manifest file. | | The result will be prefixed with “dbname”. |
descriptor_file_name
| Return the name of the descriptor file for the | db named by “dbname” and the specified | incarnation number. The result will be | prefixed with “dbname”.
info_log_file_name
| Return the name of the info log file for | “dbname”. |
lock_file_name
| Return the name of the lock file for the | db named by “dbname”. The result will | be prefixed with “dbname”. |
log_file_name
| Return the name of the log file with the | specified number in the db named by “dbname”. | | The result will be prefixed with “dbname”. |
make_file_name
old_info_log_file_name
| Return the name of the old info log file | for “dbname”. |
parse_file_name
| 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. |
sst_table_file_name
| Return the legacy file name for an sstable with | the specified number in the db named by | “dbname”. The result will be prefixed with | “dbname”.
table_file_name
| Return the name of the sstable with the | specified number in the db named by “dbname”. | | The result will be prefixed with “dbname”. |
temp_file_name
| Return the name of a temporary file owned by | the db named “dbname”. | | The result will be prefixed with “dbname”.