mirror of
https://github.com/google/leveldb.git
synced 2024-12-01 03:19:07 +08:00
4bd052d7e8
Currently, the benchmark used to assess leveldb changes lives in db/. The codebase also contains two benchmarks against other database engines in doc/bench/. Moving all the benchmarks in one place opens up the way for extracting common code. PiperOrigin-RevId: 246737541
19 lines
707 B
YAML
19 lines
707 B
YAML
# Run manually to reformat a file:
|
|
# clang-format -i --style=file <file>
|
|
# find . -iname '*.cc' -o -iname '*.h' -o -iname '*.h.in' | xargs clang-format -i --style=file
|
|
BasedOnStyle: Google
|
|
DerivePointerAlignment: false
|
|
|
|
# Public headers are in a different location in the internal Google repository.
|
|
# Order them so that when imported to the authoritative repository they will be
|
|
# in correct alphabetical order.
|
|
IncludeCategories:
|
|
- Regex: '^(<|"(benchmarks|db|helpers)/)'
|
|
Priority: 1
|
|
- Regex: '^"(leveldb)/'
|
|
Priority: 2
|
|
- Regex: '^(<|"(issues|port|table|third_party|util)/)'
|
|
Priority: 3
|
|
- Regex: '.*'
|
|
Priority: 4
|