-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: improve source preparation and validation - Commented out unused `std::env` import in `vorpal.rs`. - Added validation for empty source hash, name, and signature in `run_prepare.rs`. - Refactored `run_prepare.rs` to remove redundant checks and improve readability. - Introduced `validate_hashes` and `send_source` functions in `package/mod.rs` for better separation of concerns. - Updated `prepare` function in `package/mod.rs` to use the new helper functions. - Changed file permissions for package tar files to `0o440` in `package/mod.rs`. - Renamed variables for clarity and consistency in `archives.rs`. * refactor: uncomment and update package request logic - Uncommented the `use std::env` statement. - Renamed the `request` variable to `coreutils` and added logic to process its stream. - Uncommented and updated the `example` package request logic. - Ensured both `coreutils` and `example` package requests are processed correctly. * fix(proxy/package): remove redundant references and improve string handling - Removed redundant references to `workdir_path` and `name` in function calls. - Replaced string comparison with `is_empty()` for better readability and performance.
- Loading branch information
1 parent
645801d
commit d3e53f4
Showing
4 changed files
with
238 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.