2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-26 14:56:29 +00:00
restic/internal/fs
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
..
const_unix.go fs: Add interface and FS implementations 2018-04-22 11:37:05 +02:00
const_windows.go fs: Add interface and FS implementations 2018-04-22 11:37:05 +02:00
const.go fs: Add O_NONBLOCK 2018-04-30 15:34:58 +02:00
deviceid_unix.go Run goimports 2017-07-23 14:21:03 +02:00
deviceid_windows.go Run goimports 2017-07-23 14:21:03 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
file_unix.go Moves files 2017-07-23 14:19:13 +02:00
file_windows.go Moves files 2017-07-23 14:19:13 +02:00
file.go fs: Add interface and FS implementations 2018-04-22 11:37:05 +02:00
fs_helpers.go fs: Add helper functions ReadDir/ReadDirNames 2018-06-20 22:53:53 +02:00
fs_local.go fs: Add interface and FS implementations 2018-04-22 11:37:05 +02:00
fs_reader_test.go Return error when reading zero byte from stdin 2019-01-06 14:52:20 +01:00
fs_reader.go Return error when reading zero byte from stdin 2019-01-06 14:52:20 +01:00
fs_track.go fs: Add interface and FS implementations 2018-04-22 11:37:05 +02:00
helpers.go fs: Add TestTempFile 2018-05-01 14:38:41 +02:00
interface.go fs: Add interface and FS implementations 2018-04-22 11:37:05 +02:00
path_prefix_test.go fs: Make HasPathPrefix work with relative paths 2018-01-05 17:38:52 +01:00
path_prefix.go fs: Make HasPathPrefix work with relative paths 2018-01-05 17:38:52 +01:00
stat_bsd.go Support NetBSD without fuse 2018-06-16 15:55:04 +09:00
stat_test.go fs: Add interface and FS implementations 2018-04-22 11:37:05 +02:00
stat_unix.go Support NetBSD without fuse 2018-06-16 15:55:04 +09:00
stat_windows.go fs: Add interface and FS implementations 2018-04-22 11:37:05 +02:00
stat.go fs: Add interface and FS implementations 2018-04-22 11:37:05 +02:00