sapling/blobrepo
Thomas Orozco 874e110c3d mononoke: move typed fetch to Blobstore Trait
Summary:
This moves typed fetches from the blobrepo to the blobstore. The upshot is that this allows consumers of a blobstore to do typed fetches, instead of forcing them to get bytes then cast bytes to a blob, then cast the blob to the thing they want.

This required refactoring our crate hierarchy a little bit by moving BlobstoreBytes into Mononoke Types, since we now need the Blobstore crate to depend on Mononoke types, whereas it was the other way around before (since BlobstoreValue was already there, that seems reasonable)

Reviewed By: StanislavGlebik

Differential Revision: D16486774

fbshipit-source-id: 05751986ce3cb7273d68a8b4ebe9957bb892bcd6
2019-07-31 05:19:36 -07:00
..
blob_changeset/src mononoke: extract RepoBlobstore and RepoBlobstoreArgs into a separate crate 2019-07-12 10:01:12 -07:00
changeset_fetcher/src rust: Head start on some upcoming warnings 2019-07-12 00:56:44 -07:00
errors/src use derive_manifest for hg 2019-07-12 07:31:05 -07:00
factory/src mononoke: remove Logger from BlobRepo 2019-07-17 08:31:56 -07:00
repo_blobstore/src mononoke: extract RepoBlobstore and RepoBlobstoreArgs into a separate crate 2019-07-12 10:01:12 -07:00
src mononoke: move typed fetch to Blobstore Trait 2019-07-31 05:19:36 -07:00
test mononoke: don't require MononokeId impls to know how to recompute themselves from a value 2019-07-31 05:19:36 -07:00
Cargo.toml Transition fbcode Rust crates to 2018 edition 2019-06-24 13:15:17 -07:00