Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support to set the file mod #347

Merged
merged 1 commit into from
Feb 6, 2023
Merged

feat: support to set the file mod #347

merged 1 commit into from
Feb 6, 2023

Conversation

LinuxSuRen
Copy link
Owner

@LinuxSuRen LinuxSuRen commented Feb 5, 2023

Usage: hd get https://xxx --mod 0755

@codecov
Copy link

codecov bot commented Feb 5, 2023

Codecov Report

Merging #347 (a869f98) into master (6c591a1) will increase coverage by 1.98%.
The diff coverage is 74.25%.

@@            Coverage Diff             @@
##           master     #347      +/-   ##
==========================================
+ Coverage   58.13%   60.12%   +1.98%     
==========================================
  Files          63       63              
  Lines        3258     3330      +72     
==========================================
+ Hits         1894     2002     +108     
+ Misses       1268     1226      -42     
- Partials       96      102       +6     
Flag Coverage Δ
unittests 60.12% <74.25%> (+1.98%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
cmd/install.go 34.74% <33.33%> (-0.18%) ⬇️
pkg/installer/check.go 35.59% <40.00%> (+0.05%) ⬆️
cmd/fetch.go 72.22% <50.00%> (+1.06%) ⬆️
cmd/get.go 69.32% <61.53%> (-0.56%) ⬇️
pkg/os/generic_installer.go 61.88% <72.22%> (+1.41%) ⬆️
cmd/root.go 81.39% <100.00%> (+0.44%) ⬆️
cmd/setup.go 78.72% <100.00%> (+0.94%) ⬆️
pkg/exec/command.go 86.66% <100.00%> (+78.55%) ⬆️
pkg/net/http.go 80.76% <100.00%> (+0.93%) ⬆️
... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@LinuxSuRen LinuxSuRen force-pushed the feat/set-file-mod branch 5 times, most recently from 484ecac to abe0419 Compare February 5, 2023 13:43
Usage: hd get https://xxx --mod 0755
@LinuxSuRen LinuxSuRen merged commit b80f4f5 into master Feb 6, 2023
@LinuxSuRen LinuxSuRen deleted the feat/set-file-mod branch February 6, 2023 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant