mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
82ffc5b731
Summary: This will help people to introduce new blobstore objects in their code (for instance I intend to use it in the following diff). The `private` module exists to allow the use of the exported macro without the need to write a bunch of `use` statements, and without pollution the re-export namespace. The idea is that everything needed by the exported macro exists in the `private` module of the crate, and this module is public. So long as some other crate imports the macro, it expands to `$crate::private::NEEDED_THING` in the right places and no further `use` statements of dependencies are needed. At the same time, the name `private` should discourage people from using whatever is in this module directly. The idea is taken from `anyhow`. Reviewed By: StanislavGlebik Differential Revision: D27997228 fbshipit-source-id: fd2c421d0daf0fe88e2b9001bb4088fe7b4d59b7 |
||
---|---|---|
.. | ||
blobstore_stats | ||
cacheblob | ||
chaosblob | ||
delayblob | ||
factory | ||
fileblob | ||
if | ||
logblob | ||
memblob | ||
multiplexedblob | ||
packblob | ||
prefixblob | ||
readonlyblob | ||
redactedblobstore | ||
samplingblob | ||
sqlblob | ||
src | ||
test | ||
throttledblob | ||
virtually_sharded_blobstore | ||
Cargo.toml |