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

Set timestamp of download files #87

Merged
merged 3 commits into from
Oct 28, 2020
Merged

Conversation

at-wat
Copy link
Member

@at-wat at-wat commented Oct 28, 2020

Fix #85

@codecov
Copy link

codecov bot commented Oct 28, 2020

Codecov Report

Merging #87 into master will decrease coverage by 0.48%.
The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #87      +/-   ##
==========================================
- Coverage   79.92%   79.44%   -0.49%     
==========================================
  Files           4        4              
  Lines         284      287       +3     
==========================================
+ Hits          227      228       +1     
- Misses         32       33       +1     
- Partials       25       26       +1     
Impacted Files Coverage Δ
s3sync.go 77.04% <33.33%> (-0.52%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a78a44e...0b8fffb. Read the comment docs.

@at-wat at-wat requested a review from kt3k October 28, 2020 07:57
@at-wat at-wat self-assigned this Oct 28, 2020
t.Error("Failed to get stat:", err)
return
}
if t1 := info.ModTime(); !t1.Before(t0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor

@kt3k kt3k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks like a reasonable addition.

@kt3k kt3k merged commit 2ea0458 into master Oct 28, 2020
@kt3k kt3k deleted the set-file-timestamp-on-download branch October 28, 2020 09:34
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.

Set timestamp of downloaded file
2 participants