restic/internal/restic
Emil Hessman c2ff7150aa internal: check error before deferring file Close()
If there is an error, file will be `nil`. We should check the returned error before deferring file `Close()`.
2017-08-13 19:28:13 +02:00
..
testdata Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
backend.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
backend_find.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
backend_find_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
blob.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
blob_set.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
blob_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
buffer.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
config.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
config_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
doc.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
file.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
file_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
find.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
find_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
hardlinks_index.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
hardlinks_index_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
id.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
id_int_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
id_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
ids.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
ids_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
idset.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
idset_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
lock.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
lock_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
lock_unix.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
lock_windows.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
node.go internal: check error before deferring file Close() 2017-08-13 19:28:13 +02:00
node_darwin.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
node_freebsd.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
node_linux.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
node_openbsd.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
node_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
node_unix.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
node_unix_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
node_windows.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
node_xattr.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
progress.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
progress_unix.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
progress_unix_with_siginfo.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
rand_reader.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
readerat.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
repository.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
restorer.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
snapshot.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
snapshot_find.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
snapshot_policy.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
snapshot_policy_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
snapshot_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
tag_list.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
testing.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
testing_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
tree.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
tree_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00