Structs§
- EnvWrapper
- | An implementation of Env that forwards all | calls to another Env. | | May be useful to clients who wish to override | just part of the functionality of another Env.
Constants§
Traits§
- Env
- | in the c++, we had the following annotated | empty Default impl: | | Return a default environment suitable for the | current operating system. Sophisticated | users may wish to provide their own Env | implementation instead of relying on this | default environment. | | The result of Default() belongs to leveldb | and must never be deleted.
- GetTest
Directory - NewLogger
- NowMicros
- Schedule
- Sleep
ForMicroseconds - Start
Thread
Functions§
- dbleveldbutil_
main - do_
write_ string_ to_ file - handle_
dump_ command - log
- | Log the specified data to *info_log | if info_log is non-null. |
- read_
file_ to_ string - | A utility routine: read contents of | named file into *data |
- set_
current_ file - | Make the CURRENT file point to the descriptor | file with the specified number. |
- write_
string_ to_ file - | A utility routine: write “data” to the | named file. |
- write_
string_ to_ file_ sync - | A utility routine: write “data” to the | named file and Sync() it. |