2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-12 14:17:57 +00:00
restic/internal/archiver
Alexander Neumann c4fbf2c779 Return error when reading zero byte from stdin
This commit changes the internal file system implementation for reading
data from stdin, it now returns an error when no bytes could be read. I
think it's worth failing in this case, the user instructed restic to
read some data from stdin, and no data was read at all. Maybe it was in
a pipe and some earlier stage failed.

See #2135 for a short discussion.
2019-01-06 14:52:20 +01:00
..
archiver_test.go Return error when reading zero byte from stdin 2019-01-06 14:52:20 +01:00
archiver.go Reject files excluded by name before calling lstat to improve scan speed 2018-08-12 17:51:12 +02:00
blob_saver_test.go archiver: Improve error handling 2018-05-12 23:55:54 +02:00
blob_saver.go archiver: Improve error handling 2018-05-12 23:55:54 +02:00
buffer.go archiver: Improve buffer pool 2018-04-30 15:13:28 +02:00
doc.go archiver: Add high-level documentation 2018-05-12 23:55:54 +02:00
file_saver_test.go archiver: Improve error handling 2018-05-12 23:55:54 +02:00
file_saver.go archiver: Add test for early abort on unhandled error 2018-05-12 23:55:59 +02:00
index_uploader.go Add new archiver code 2018-04-25 14:42:45 +02:00
scanner_test.go scanner: Use context only for cancellation 2018-09-08 18:53:12 +02:00
scanner.go scanner: Use context only for cancellation 2018-09-08 18:53:12 +02:00
testing_test.go Fix formatting for gofmt with Go 1.11 2018-08-31 21:10:26 +02:00
testing.go Use new archiver code in tests 2018-04-25 14:42:45 +02:00
tree_saver_test.go archiver: Improve error handling 2018-05-12 23:55:54 +02:00
tree_saver.go archiver: Improve error handling 2018-05-12 23:55:54 +02:00
tree_test.go archiver: Unroll tree 2018-06-20 22:56:41 +02:00
tree.go clean up some errors from 'go vet ./...' 2018-09-05 08:04:55 -04:00