2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-29 16:23:59 +00:00
restic/internal/restic
greatroar c45f8ee075 Replace restic.statT interface by concrete types
name                old time/op    new time/op    delta
NodeFillUser-8        1.81µs ± 9%    1.50µs ± 5%  -17.07%  (p=0.000 n=19+20)
NodeFromFileInfo-8    1.76µs ± 4%    1.49µs ± 6%  -15.63%  (p=0.000 n=20+19)

name                old alloc/op   new alloc/op   delta
NodeFillUser-8          496B ± 0%      352B ± 0%  -29.03%  (p=0.000 n=20+20)
NodeFromFileInfo-8      496B ± 0%      352B ± 0%  -29.03%  (p=0.000 n=20+20)

name                old allocs/op  new allocs/op  delta
NodeFillUser-8          3.00 ± 0%      2.00 ± 0%  -33.33%  (p=0.000 n=20+20)
NodeFromFileInfo-8      3.00 ± 0%      2.00 ± 0%  -33.33%  (p=0.000 n=20+20)
2020-11-14 23:23:26 +01:00
..
testdata Support time ranges expressed in hours in snapshot retention policies 2018-11-26 14:27:42 +01:00
backend_find_test.go Improve error reporting from restic diff 2020-11-11 16:40:40 +01:00
backend_find.go Improve error reporting from restic diff 2020-11-11 16:40:40 +01:00
backend.go backend: Improve Save() 2018-03-03 15:49:44 +01: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
blob.go Add Blob.Handle() 2020-11-03 16:42:21 +01:00
buffer.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
config_test.go internal/restic: fix dropped test error 2020-02-12 13:32:45 -08:00
config.go Disable polynomial check for chunker for tests 2018-03-11 20:59:40 +01:00
doc.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
duration_test.go Extend custom Duration granularity to hours and add tests 2018-11-14 17:27:02 +01:00
duration.go Extend custom Duration granularity to hours and add tests 2018-11-14 17:27:02 +01:00
file_test.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
file.go restic/file: Use FileType for all File constants 2020-09-05 10:07:16 +02:00
find_test.go FindUsedBlobs: Test that seen blobs are skipped 2020-08-01 12:29:16 +02:00
find.go FindUsedBlobs: Test that seen blobs are skipped 2020-08-01 12:29:16 +02:00
hardlinks_index_test.go Merge a few variable declaration and initializations 2020-09-05 10:05:34 +02:00
hardlinks_index.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 restic: Make JSON unmarshal for ID more efficient 2019-04-13 13:38:39 +02:00
id.go Use Minio's optimized SHA-256 2020-04-28 07:57:18 +02:00
ids_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
idset_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
lock_test.go Update Lock.Time in lock.Refresh() 2019-09-04 11:38:35 -07: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
lock.go unlock: use proper context for locks cleanup 2020-10-09 22:37:56 +02:00
node_darwin.go Replace restic.statT interface by concrete types 2020-11-14 23:23:26 +01:00
node_freebsd.go Replace restic.statT interface by concrete types 2020-11-14 23:23:26 +01:00
node_linux.go Replace restic.statT interface by concrete types 2020-11-14 23:23:26 +01:00
node_netbsd.go Replace restic.statT interface by concrete types 2020-11-14 23:23:26 +01:00
node_openbsd.go Replace restic.statT interface by concrete types 2020-11-14 23:23:26 +01:00
node_solaris.go Replace restic.statT interface by concrete types 2020-11-14 23:23:26 +01:00
node_test.go node: Make sure year of all timestamps is valid 2019-04-24 16:39:36 +02:00
node_unix_test.go Fix test 2018-07-14 11:51:34 +02:00
node_unix.go Replace restic.statT interface by concrete types 2020-11-14 23:23:26 +01:00
node_windows.go Replace restic.statT interface by concrete types 2020-11-14 23:23:26 +01:00
node_xattr.go bugfix: omit ENOTDATA for extended attributes 2020-11-10 00:20:34 +08:00
node.go Replace restic.statT interface by concrete types 2020-11-14 23:23:26 +01:00
readerat.go Embed context into ReaderAt 2020-10-09 22:39:07 +02:00
repository.go Add Masterindex.Save(); Add Index.Packs() 2020-11-06 20:23:30 +01:00
rewind_reader_test.go Use int64 for the length in the RewindReader 2018-03-04 10:40:42 +01:00
rewind_reader.go Use int64 for the length in the RewindReader 2018-03-04 10:40:42 +01:00
snapshot_find.go pass context to Find / FindSnapshot 2020-10-09 22:37:56 +02:00
snapshot_group.go Merge a few variable declaration and initializations 2020-09-05 10:05:34 +02:00
snapshot_policy_test.go Support time ranges expressed in hours in snapshot retention policies 2018-11-26 14:27:42 +01:00
snapshot_policy.go backup: Correct keep policy text 2020-09-28 14:26:53 +02:00
snapshot_test.go Remove all dot-imports 2017-10-02 15:06:39 +02:00
snapshot.go Make realistic forget --prune --dryrun 2020-11-03 16:42:21 +01:00
tag_list.go remove unused code 2019-07-01 00:24:45 +03:00
testing_test.go Make realistic forget --prune --dryrun 2020-11-03 16:42:21 +01:00
testing.go checker: Properly distinguish between data and tree blobs 2020-07-20 22:58:39 +02:00
tree_test.go replace ad-hoc context.TODO() with gopts.ctx, so that cancellation 2017-12-03 07:22:14 -05:00
tree.go tree: Add convenience functions 2018-04-22 11:37:05 +02:00