diff --git a/src/lib.rs b/src/lib.rs index 8ef4d3e..b3a00fb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -342,13 +342,11 @@ pub fn get_config_path(app_name: &String) -> AxoupdateResult { } } -pub fn load_receipt_from_path( - install_receipt_path: &Utf8PathBuf, -) -> AxoupdateResult { +fn load_receipt_from_path(install_receipt_path: &Utf8PathBuf) -> AxoupdateResult { Ok(SourceFile::load_local(install_receipt_path)?.deserialize_json()?) } -pub fn load_receipt_for(app_name: &String) -> AxoupdateResult { +fn load_receipt_for(app_name: &String) -> AxoupdateResult { let Ok(receipt_prefix) = get_config_path(app_name) else { return Err(AxoupdateError::ConfigFetchFailed { app_name: app_name.to_owned(),