2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-21 10:12:22 +00:00
restic/internal
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 Return error when reading zero byte from stdin 2019-01-06 14:52:20 +01:00
backend gs: Respect bandwidth limiting 2018-11-25 18:52:32 +01:00
cache cache: Don't return an error for truncated files 2018-11-25 14:18:02 +01:00
checker Add key hinting (#2097) 2018-11-25 09:13:18 -05:00
crypto crypto: Rework Seal/Open to use sliceForAppend 2017-11-01 10:30:40 +01:00
debug Remove build tag release 2018-10-11 19:40:38 +02:00
errors backup: Improve error message for invalid pattern 2018-10-03 11:12:51 +02:00
filter filter: Allow double wildcard in ChildMatch 2018-06-09 23:18:13 +02:00
fs Return error when reading zero byte from stdin 2019-01-06 14:52:20 +01:00
fuse Support NetBSD without fuse 2018-06-16 15:55:04 +09:00
hashing Moves files 2017-07-23 14:19:13 +02:00
index index.New: Test various error conditions 2018-10-28 14:02:31 +01:00
limiter rclone: Respect bandwith limits 2018-05-22 20:48:17 +02:00
migrations clean up some errors from 'go vet ./...' 2018-09-05 08:04:55 -04:00
mock check: Allow filling the cache during check 2018-04-01 13:59:27 +02:00
options errors: Add "Fatal" prefix for Fatalf() 2018-01-06 23:27:47 +01:00
pack backend: Improve Save() 2018-03-03 15:49:44 +01:00
repository Add key hinting (#2097) 2018-11-25 09:13:18 -05:00
restic restic: Use local rand source instead of global one 2018-10-28 14:01:30 +01:00
restorer restore: Close files tested with --verify 2018-10-14 21:00:14 +02:00
selfupdate self-update: Check current version before download 2018-10-14 17:29:46 +02:00
test Add test.Helper, also works with Go 1.8 2018-04-22 11:37:05 +02:00
textfile Add textfile 2018-05-01 14:38:59 +02:00
ui termstatus: detect and respect dumb terminals on Unix 2018-09-21 07:24:41 -04:00
walker walk: Pass parent tree ID to WalkFunc 2018-08-19 23:28:04 +02:00