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

fuse: Correct behavior for reading after EOF, add snapshot template string #1554

Merged
merged 4 commits into from
Jan 16, 2018

Conversation

fd0
Copy link
Member

@fd0 fd0 commented Jan 13, 2018

This PR corrects the behavior when data is read after the end of a file, and adds a CLI option to specify the template for the snapshot directories.

@codecov-io
Copy link

codecov-io commented Jan 13, 2018

Codecov Report

Merging #1554 into master will increase coverage by 0.19%.
The diff coverage is 25%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1554      +/-   ##
==========================================
+ Coverage   51.55%   51.74%   +0.19%     
==========================================
  Files         138      138              
  Lines       11081    11088       +7     
==========================================
+ Hits         5713     5738      +25     
+ Misses       4503     4480      -23     
- Partials      865      870       +5
Impacted Files Coverage Δ
internal/fuse/root.go 0% <ø> (ø) ⬆️
internal/fuse/dir.go 0% <ø> (ø) ⬆️
internal/fuse/snapshots_dir.go 0% <0%> (ø) ⬆️
internal/fuse/file.go 67.01% <0%> (-0.7%) ⬇️
cmd/restic/cmd_mount.go 57.14% <60%> (-2.02%) ⬇️
internal/backend/test/tests.go 58.8% <0%> (+0.77%) ⬆️
internal/backend/s3/s3.go 65.76% <0%> (+1.15%) ⬆️
internal/checker/checker.go 71.33% <0%> (+3.77%) ⬆️

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 02f4f5d...2544978. Read the comment docs.

@fd0 fd0 changed the title fuse: Correct behavior for reading after EOF fuse: Correct behavior for reading after EOF, add snapshot template string Jan 15, 2018
@fd0 fd0 merged commit 2544978 into master Jan 16, 2018
fd0 added a commit that referenced this pull request Jan 16, 2018
fuse: Correct behavior for reading after EOF, add snapshot template string
@fd0 fd0 deleted the fix-988 branch January 16, 2018 16:45
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.

2 participants