Skip to main content

Repository map

Top level

src/          library source and headers (src/braft/)
tests/ test suites and shared test helpers
examples/ runnable sample applications
contrib/ local Conan recipes for deps not on Conan Center (brpc)
website/ documentation site (this site)
conanfile.py Conan 2 recipe declaring dependencies

Inside the code

src/braft/           library source, headers, and proto files
tests/public/ public-facing contract-oriented tests
tests/internal/ QuorumKit implementation tests
tests/legacy/ inherited upstream-style regression tests
tests/support/ shared test helpers and shims
examples/counter/ replicated counter demo
examples/atomic/ compare-and-swap register demo
examples/block/ block storage demo
contrib/brpc/ local Conan recipe for Apache brpc 1.16.0

Build artifacts

build/               generated by conan install (presets, toolchain, deps)
build/build/Release/ CMake build tree (library, tests, examples, generated protos)

For the reasoning behind the source layout, see Repository layout.