1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-03-16 00:00:05 +01:00
Commit graph

2008 commits

Author SHA1 Message Date
jgfrm
d9d823f739 gofmt 2017-02-09 23:13:52 +01:00
jgfrm
c5705645a6 added export for filepath 2017-02-09 22:06:04 +01:00
jgfrm
49cd7f0936 removes sys import 2017-02-09 21:05:51 +01:00
jgfrm
f57ed94adf removed syscall import 2017-02-09 20:04:32 +01:00
jgfrm
950d44e20b added uint64 cast 2017-02-09 19:38:31 +01:00
jgfrm
54335e3241 changes for windows 2017-02-09 18:11:52 +01:00
jgfrm
d9210c9e20 added syscall import 2017-02-09 17:49:04 +01:00
jgfrm
8123290eb6 added ioutil import 2017-02-09 17:32:45 +01:00
jgfrm
c3cc69b866 different file link tests for windows and linux 2017-02-09 16:39:08 +01:00
jgfrm
2d8771cb1e added testing for link equality 2017-02-09 15:30:24 +01:00
jgfrm
0ff027a8e9 uint64 cast for Nlink 2017-02-07 20:34:47 +01:00
jgfrm
51cb0adcb9 changed test data 2017-02-07 17:16:45 +01:00
jgfrm
ebc37708d8 gofmt 2017-02-07 16:32:09 +01:00
jgfrm
5b2980df4e nlink -> Nlink 2017-02-07 09:47:46 +01:00
jgfrm
c5d05c672e changed nlink to single return type 2017-02-06 23:29:57 +01:00
jgfrm
65a3069180 changed stat call 2017-02-06 21:03:47 +01:00
jgfrm
685d1bb8aa return correct type in nlink 2017-02-06 20:53:04 +01:00
jgfrm
b0926e02dc trigger new build due to external failure 2017-02-06 20:31:54 +01:00
jgfrm
9fda3d0938 nlink() -> Nlink take 2 2017-02-06 20:27:37 +01:00
jgfrm
e0f1ce6336 Nlink() -> Nlink 2017-02-06 20:15:39 +01:00
jgfrm
06af86a42a nlink -> Nlink 2017-02-06 20:01:25 +01:00
jgfrm
08154445b2 nlink -> Nlink 2017-02-06 19:45:53 +01:00
jgfrm
5de5a5920d removed variable in TestHardLink 2017-02-06 18:43:47 +01:00
jgfrm
79d5736428 minor edits in testing code 2017-02-06 18:35:55 +01:00
jgfrm
9a5312a5de changed invocation of nlink() 2017-02-06 18:25:28 +01:00
jgfrm
99a3e19661 changed stat 2017-02-06 18:13:43 +01:00
jgfrm
ce90a281fd changed integration test 2017-02-06 17:47:28 +01:00
jgfrm
0dd8a0fe01 fixed integration_helper 2017-02-06 17:19:58 +01:00
jgfrm
9c5b66e0a1 Fixed ToStat export 2017-02-06 17:15:37 +01:00
jgfrm
163c61c898 export toStatT 2017-02-06 17:10:07 +01:00
jgfrm
03b092d22c fixed import 2017-02-06 16:48:55 +01:00
jgfrm
e9a65d0ecc import restic 2017-02-06 16:38:03 +01:00
jgfrm
2a568e624d integration test added 2017-02-06 16:03:46 +01:00
jgfrm
2995cfecc0 Inclusion of hardlink info about symlinks and dev in the repo 2017-02-06 12:45:27 +01:00
jgfrm
04e3c3565b typo 2017-02-01 20:30:50 +01:00
jgfrm
3f53af615b shortened function names
add file to link index only if the file is successfully restored
changed comments
2017-02-01 17:22:34 +01:00
Jaap Gordijn
369f980411 Changed Hardlink() in Link()
Made struct for HardlinkIndex
Reworked global variable and added creation of HardlinkIndex in restorer
Bind functions to type
2017-01-31 00:14:20 +01:00
Alexander Neumann
b2d00b2a86 Merge pull request #749 from restic/normalise-backend-api
Normalise the backend API
2017-01-27 13:30:30 +01:00
Alexander Neumann
31f6093513 Fix tests 2017-01-27 12:47:34 +01:00
Alexander Neumann
b9bddeff39 Normalise the backend API
This makes the following changes, before:

    type backend interface {
        // Test a boolean value whether a File with the name and type exists.
        Test(t FileType, name string) (bool, error)

        // Remove removes a File with type t and name.
        Remove(t FileType, name string) error
    }

After:

    type backend interface {
        // Test a boolean value whether a File with the name and type exists.
        Test(h Handle) (bool, error)

        // Remove removes a File with type t and name.
        Remove(h Handle) error
    }
2017-01-26 22:02:22 +01:00
Alexander Neumann
d55b56edd3 Merge pull request #748 from restic/fix-747
rest backend: Do not close the reader
2017-01-26 20:20:55 +01:00
Alexander Neumann
8d6fdb7a3e Fix packer manager test on Windows 2017-01-25 17:51:34 +01:00
Alexander Neumann
dceaae33ed PackerManager: Remove unused Finalize() method 2017-01-25 17:12:06 +01:00
Alexander Neumann
e8995b85b8 rest backend: Do not close the reader
Closes #747
2017-01-25 17:12:06 +01:00
Alexander Neumann
925a3cfad7 backend: Check that backends do not close the reader 2017-01-25 17:12:03 +01:00
Alexander Neumann
c99a44b122 Fix Random() function 2017-01-25 13:26:16 +01:00
Alexander Neumann
439d3107f9 Merge pull request #746 from restic/improve-fuse-memory
fuse: Improve memory usage
2017-01-24 14:13:01 +01:00
Alexander Neumann
afc593676a fuse: Improve memory usage
Discard blobs that aren't in use any more. This greatly reduces memory
usage and will probably only trigger on sequential read (e.g. for
restore via fuse).

Closes #480
2017-01-24 12:38:44 +01:00
Alexander Neumann
17d7af6ccc Merge pull request #745 from restic/fix-742
Fix restore/fuse with larger files
2017-01-24 12:12:35 +01:00
Alexander Neumann
0b982d3316 Add restore test with larger files 2017-01-24 11:51:21 +01:00