Alexander Neumann
919b40c6cf
Add Stat() method to backend interface
2016-01-23 23:27:58 +01:00
Alexander Neumann
f05a32509e
Add "Test" prefix to backend test functions
2016-01-23 19:12:02 +01:00
Alexander Neumann
c6db567e3f
Add sftp tests
2016-01-23 18:30:02 +01:00
Alexander Neumann
4952f86682
Add test for to prevent double create
2016-01-23 18:07:15 +01:00
Alexander Neumann
99fab793c0
Remove timestamp from generated tests
2016-01-23 17:43:49 +01:00
Alexander Neumann
9423767827
Update test generate script, add tests to membackend
2016-01-23 17:42:26 +01:00
Alexander Neumann
9a490f9e01
Implement package-local tests
2016-01-23 17:08:03 +01:00
Alexander Neumann
0a24261afb
Add Load() for all existing backends
2016-01-23 14:12:12 +01:00
Alexander Neumann
8b7bf8691d
backend: Remove Get()
...
This is the first commit that removes the (redundant) Get() method of
the backend interface. Get(x, y) is equivalent to GetReader(x, y, 0, 0).
2016-01-23 13:13:05 +01:00
Alexander Neumann
7b1e8fdd06
local: correct comment
2016-01-17 18:48:05 +01:00
Alexander Neumann
de933a1d48
Rename URI -> Config/Location
2016-01-17 18:48:05 +01:00
Alexander Neumann
566a15285a
Add repository location parsing code
2016-01-17 18:48:05 +01:00
Alexander Neumann
5d617edbbf
local/sftp backend: Do not seek if offset is 0
2015-10-25 17:51:26 +01:00
Alexander Neumann
0a457eafed
Correctly test for config file
2015-08-26 22:06:52 +02:00
Alexander Neumann
b211f834fa
Remove tests for directories
...
For testing whether a repository already exists it is sufficient to
test if the config file (and therefore the master key) exists.
Closes #279
2015-08-26 21:51:40 +02:00
Alexander Neumann
2644722198
Reset read-only flag before removing
2015-08-19 22:02:47 +02:00
Klaus Post
520b1b65b0
Create setNewFileMode function.
...
Create separate files with setNewFileMode to avoid
runtime checks.
2015-08-16 12:39:38 +02:00
Klaus Post
7c84d810d3
Make sure we can delete files on Windows.
...
Files must be closed on Windows before they can be deleted.
Therefore we keep track of all open files, and closes them before
we delete them.
Also we don't set finished blobs to read-only on Windows, since
that prevents us from deleting them.
2015-08-14 15:30:36 +02:00
Emil Hessman
52b6cfbbfa
backend: fix doc typos
2015-06-28 09:44:06 +02:00
Alexander Neumann
9ac6a1d232
Add minimal documentation for backend/{local,sftp}
2015-05-09 12:54:45 +02:00
Alexander Neumann
5399358272
Fix spelling errors in comments
2015-05-04 20:39:45 +02:00
Alexander Neumann
2fb1783885
backend/server: remove id and version from backend
2015-05-03 18:56:16 +02:00
Alexander Neumann
1f94ac724f
backend: rename LimitReader to LimitReadCloser
2015-05-02 16:13:56 +02:00
Alexander Neumann
ec108fb708
Remove backend.Tree
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
87ce38b13a
Add type 'Index' to backend
2015-04-29 23:27:08 +02:00
Alexander Neumann
4f4f3c421a
Use package "restic/test"
2015-04-09 21:15:48 +02:00
Alexander Neumann
223108c6ae
Remove unused vars and const
2015-03-28 15:28:08 +01:00
Alexander Neumann
5e69788eac
Refactor backends
2015-03-28 14:36:50 +01:00