restic/backend
Alexander Neumann 5cdcc99eba Use array instead of hash for backend.ID
Since backend.ID is always a slice of constant length, use an array
instead of a slice. Mostly, arrays behave as slices, except that an
array cannot be nil, so use `*backend.ID` insteaf of `backend.ID` in
places where the absence of an ID is possible (e.g. for the Subtree of a
Node, which may not present when the node is a file node).

This change allows to directly use backend.ID as the the key for a map,
so that arbitrary data structures (e.g. a Set implemented as a
map[backend.ID]struct{}) can easily be formed.
2015-07-25 18:01:57 +02:00
..
local backend: fix doc typos 2015-06-28 09:44:06 +02:00
s3 backend: fix doc typos 2015-06-28 09:44:06 +02:00
sftp sftp: Use own process group for ssh subprocess 2015-07-05 11:07:10 +02:00
backend_test.go Remove flags from tests 2015-06-21 17:40:21 +02:00
doc.go Clarify documentation on backend 2015-05-09 12:53:04 +02:00
generic.go Use array instead of hash for backend.ID 2015-07-25 18:01:57 +02:00
generic_test.go Use package "restic/test" 2015-04-09 21:15:48 +02:00
id.go Use array instead of hash for backend.ID 2015-07-25 18:01:57 +02:00
id_int_test.go Use array instead of hash for backend.ID 2015-07-25 18:01:57 +02:00
id_test.go Use package "restic/test" 2015-04-09 21:15:48 +02:00
interface.go backend/server: remove id and version from backend 2015-05-03 18:56:16 +02:00
local_test.go Remove flags from tests 2015-06-21 17:40:21 +02:00
paths.go backend/server: remove id and version from backend 2015-05-03 18:56:16 +02:00
reader.go Rename HashReader -> HashAppendReader, add HashingReader 2015-02-11 19:37:48 +01:00
reader_test.go Use package "restic/test" 2015-04-09 21:15:48 +02:00
s3_test.go Fix test to use new type name on backend 2015-06-14 08:43:47 -05:00
sftp_test.go Remove more flags from tests 2015-06-21 17:40:21 +02:00
writer.go Add nil-receiver awareness to all Reader/Writer 2015-05-01 17:32:42 +02:00
writer_test.go Use package "restic/test" 2015-04-09 21:15:48 +02:00