mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
d2412fbcfe
Summary: This is a small refactoring that does two things: 1) Move StoreLoadable into the Blobstore crate. This might be a bit controversial since StoreLoadable doesn't have anything to do with blobstore. But I put it there for a few reasons: * In the next diffs I want to use StoreLoadable in mononoke_types. However I can't create dependency from `mononoke_types` crate to `manifest` crate because `manifest` depends on `mononoke_types` * `manifest` crate doesn't look like a good place for this struct either * I didn't find a better place for it - don't want to put it in crates like `common`, and it creating a separate crate just for this trait looks like an overkill. 2) Changes error type to LoadableError to match Loadable trait. This add one FIXME for git tree which doesn't differentiate between these errors. Reviewed By: krallin Differential Revision: D20561442 fbshipit-source-id: a0dca0ff8daa5d7fa166f4527c2f7cc7f541a4c0 |
||
---|---|---|
.. | ||
git_types | ||
gitimport/src |