sapling/eden/mononoke/blobstore/src
Kostia Balytskyi 82ffc5b731 blobstore: export impl_loadable_storable macro
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
2021-04-26 06:37:22 -07:00
..
counted_blobstore.rs mononoke: add unlink operation to BlobstoreWithLink 2021-03-24 11:12:51 -07:00
disabled.rs Rearrange blobstore factory to ensure that PackBlob has a BlobstoreWithLink 2021-04-16 06:51:18 -07:00
errors.rs Manual synchronization of fbcode/eden and facebookexperimental/eden 2020-02-11 11:42:43 +01:00
lib.rs blobstore: export impl_loadable_storable macro 2021-04-26 06:37:22 -07:00
macros.rs blobstore: export impl_loadable_storable macro 2021-04-26 06:37:22 -07:00