2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-21 10:12:22 +00:00
restic/src/restic/mock
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
..
backend.go Normalise the backend API 2017-01-26 22:02:22 +01:00
repository.go Fix mock.Repository 2016-09-04 13:18:25 +02:00