mirror of
https://github.com/octoleo/restic.git
synced 2024-12-30 21:41:54 +00:00
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. |
||
---|---|---|
.. | ||
const_unix.go | ||
const_windows.go | ||
const.go | ||
deviceid_unix.go | ||
deviceid_windows.go | ||
doc.go | ||
file_unix.go | ||
file_windows.go | ||
file.go | ||
fs_helpers.go | ||
fs_local.go | ||
fs_reader_test.go | ||
fs_reader.go | ||
fs_track.go | ||
helpers.go | ||
interface.go | ||
path_prefix_test.go | ||
path_prefix.go | ||
stat_bsd.go | ||
stat_test.go | ||
stat_unix.go | ||
stat_windows.go | ||
stat.go |