Commit graph

6873 commits

Author SHA1 Message Date
Alexander Neumann
cf62eb3e15 chunker: unexport WindowSize and AverageBits 2015-05-02 16:19:16 +02:00
Alexander Neumann
1f94ac724f backend: rename LimitReader to LimitReadCloser 2015-05-02 16:13:56 +02:00
Alexander Neumann
0ca678228d node: add comments 2015-05-02 16:12:19 +02:00
Alexander Neumann
ff4dd1f1fb Add more comments 2015-05-02 15:51:40 +02:00
Alexander Neumann
0a65901e18 cache: unexport internal functions 2015-05-02 15:49:47 +02:00
Alexander Neumann
819b6da762 restorer: unexport archive pipe 2015-05-02 15:31:31 +02:00
Alexander Neumann
b335de6b81 Add comments to exported methods 2015-05-02 15:23:28 +02:00
Alexander Neumann
4a1cb65645 Merge branch 'replace_arrar' 2015-05-02 14:34:33 +02:00
Alexander Neumann
24f85528dc Merge remote-tracking branch 'fw42/refactor_archiver_savefile' 2015-05-02 14:25:49 +02:00
Florian Weingarten
e19c87fa7d Break Archiver.SaveFile() method down into smaller ones 2015-05-02 01:05:49 -04:00
Alexander Neumann
b3a75ecc1c Correct usage for backup cmd 2015-05-02 02:05:09 +02:00
Alexander Neumann
85d101c234 Merge branch 'refactor_debug' 2015-05-02 01:33:07 +02:00
Alexander Neumann
97619e743c replace github.com/juju/arrar by /errors 2015-05-02 01:29:54 +02:00
Alexander Neumann
813031a989 debug: Dynamically pad tag in debug log 2015-05-02 01:14:45 +02:00
Alexander Neumann
959da0a76a debug: Add location to log, improve formatting
Before:

    2015/05/02 00:38:46 [restic] main []string{"./restic", "backup", "."}

After:

    2015/05/02 00:47:42 [  restic]   1 main.go:176    main []string{"./restic", "backup", "-f", "."}
2015-05-02 00:48:26 +02:00
Alexander Neumann
ccdbc80d5b Add benchmark for NodeFromFileInfo 2015-05-02 00:26:32 +02:00
Alexander Neumann
9308f1493d Merge branch 'fw42/uid_lookup_cache' 2015-05-02 00:18:04 +02:00
Florian Weingarten
e9009358a9 catch err 2015-05-02 00:16:13 +02:00
Florian Weingarten
6e20eba852 uid lookup cache 2015-05-02 00:16:13 +02:00
Alexander Neumann
d8e1482abe Add benchmark for Node.fillExtra 2015-05-01 23:52:36 +02:00
Alexander Neumann
d753a5ffa3 archiver: correct benchmark 2015-05-01 22:58:50 +02:00
Alexander Neumann
0662c14fee Move chunkerBufSize to more appropiate location 2015-05-01 17:40:50 +02:00
Alexander Neumann
9010d7bb3a Add test for invalid (=zero) crypto keys 2015-05-01 17:32:42 +02:00
Alexander Neumann
98dc811536 Add nil-receiver awareness to all Reader/Writer 2015-05-01 17:32:42 +02:00
Alexander Neumann
dbc41bb805 Merge remote-tracking branch 'fw42/crypto_nitpicks' 2015-05-01 17:15:58 +02:00
Alexander Neumann
a91e7e5c18 Merge remote-tracking branch 'fw42/more_cosmetic_changes' 2015-05-01 16:24:33 +02:00
Alexander Neumann
bf900bb6bc Merge branch 'debug_refactor' 2015-05-01 15:40:47 +02:00
Alexander Neumann
9d29a61861 debug: init debug logger before init() methods run 2015-05-01 15:39:01 +02:00
Florian Weingarten
90e6a8eb86 consistently rename signature to mac 2015-04-30 13:41:50 -04:00
Florian Weingarten
ca77655971 Refactor debug.go 2015-04-30 01:05:58 -04:00
Florian Weingarten
0d9360a815 more cleanup 2015-04-29 22:33:34 -04:00
Florian Weingarten
c500b94216 crypto.go nitpicks 2015-04-29 22:28:34 -04:00
Florian Weingarten
7af7c64403 cleanup 2015-04-29 21:30:53 -04:00
Florian Weingarten
c9f1f08019 Small refactorings and ceosmetic changes 2015-04-29 20:59:06 -04:00
Alexander Neumann
a906b9febe Merge remote-tracking branch 'fw42/snapshot_linux_darwin' 2015-04-30 00:57:39 +02:00
Alexander Neumann
e8041b0411 Merge branch 'pack-blobs' 2015-04-30 00:45:17 +02:00
Alexander Neumann
91cfb3fb58 pack: Fix number of bytes 2015-04-30 00:41:11 +02:00
Alexander Neumann
59a6fadf78 pack: remove unneeded comment 2015-04-30 00:37:07 +02:00
Alexander Neumann
998887a5d7 pack: Refactor Finalize() 2015-04-30 00:36:36 +02:00
Alexander Neumann
f889c5e1ed doc: Add comment about pack header 2015-04-30 00:31:21 +02:00
Alexander Neumann
24fc5d343f Remove leftover comment 2015-04-30 00:25:00 +02:00
Alexander Neumann
aeedd2a370 pack: Change Finalize() to return uint 2015-04-30 00:19:56 +02:00
Alexander Neumann
1b3d3a7ec2 Improve variable naming, remove unneeded typecasts 2015-04-30 00:06:08 +02:00
Alexander Neumann
a40299fa24 pack: Close encrypting writer on error 2015-04-29 23:58:58 +02:00
Alexander Neumann
77a819a925 Correct debug log fucntion names 2015-04-29 23:47:50 +02:00
Florian Weingarten
f94d3d4b11 Remove snapshot_darwin and snapshop_linux 2015-04-29 17:35:02 -04:00
Alexander Neumann
ec108fb708 Remove backend.Tree 2015-04-29 23:27:36 +02:00
Alexander Neumann
29ead95c96 Adapt fsck command to packed blobs (unfinished) 2015-04-29 23:27:36 +02:00
Alexander Neumann
60a0fe8349 Major restructure, bundle blobs
This commit also breaks the repository format.
2015-04-29 23:27:32 +02:00
Alexander Neumann
b836da1980 Add pack index 2015-04-29 23:27:09 +02:00