forked from TrueCloudLab/restic
c4fbf2c779
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. |
||
---|---|---|
.. | ||
archiver.go | ||
archiver_test.go | ||
blob_saver.go | ||
blob_saver_test.go | ||
buffer.go | ||
doc.go | ||
file_saver.go | ||
file_saver_test.go | ||
index_uploader.go | ||
scanner.go | ||
scanner_test.go | ||
testing.go | ||
testing_test.go | ||
tree.go | ||
tree_saver.go | ||
tree_saver_test.go | ||
tree_test.go |