mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
edenapi: make hyper client fields private
Summary: Now that the Hyper client is contained in a single module, its fields do not need to be crate-public. Reviewed By: sfilipco Differential Revision: D14733274 fbshipit-source-id: aa5c2f4fd9fdf6e686da1fed6300e8cf8f7e5dbc
This commit is contained in:
parent
f88737dd96
commit
1f09251a85
@ -32,10 +32,10 @@ use crate::config::{ClientCreds, Config};
|
||||
pub(crate) type HyperClient = Client<HttpsConnector<HttpConnector>, Body>;
|
||||
|
||||
pub struct EdenApiHttpClient {
|
||||
pub(crate) client: Arc<HyperClient>,
|
||||
pub(crate) base_url: Url,
|
||||
pub(crate) repo: String,
|
||||
pub(crate) cache_path: PathBuf,
|
||||
client: Arc<HyperClient>,
|
||||
base_url: Url,
|
||||
repo: String,
|
||||
cache_path: PathBuf,
|
||||
}
|
||||
|
||||
impl EdenApiHttpClient {
|
||||
|
Loading…
Reference in New Issue
Block a user