From b9b795079854935d0f3eba01d8d6dc0ad047bbdc Mon Sep 17 00:00:00 2001 From: garethgeorge Date: Fri, 10 Nov 2023 19:47:21 -0800 Subject: [PATCH] Move restic library into pkg --- internal/state/state.go | 4 ++++ {internal => pkg}/restic/error.go | 0 {internal => pkg}/restic/outputs.go | 0 {internal => pkg}/restic/outputs_test.go | 0 {internal => pkg}/restic/restic.go | 0 {internal => pkg}/restic/restic_test.go | 0 6 files changed, 4 insertions(+) create mode 100644 internal/state/state.go rename {internal => pkg}/restic/error.go (100%) rename {internal => pkg}/restic/outputs.go (100%) rename {internal => pkg}/restic/outputs_test.go (100%) rename {internal => pkg}/restic/restic.go (100%) rename {internal => pkg}/restic/restic_test.go (100%) diff --git a/internal/state/state.go b/internal/state/state.go new file mode 100644 index 00000000..498d1e9e --- /dev/null +++ b/internal/state/state.go @@ -0,0 +1,4 @@ +package state + +type State interface { +} \ No newline at end of file diff --git a/internal/restic/error.go b/pkg/restic/error.go similarity index 100% rename from internal/restic/error.go rename to pkg/restic/error.go diff --git a/internal/restic/outputs.go b/pkg/restic/outputs.go similarity index 100% rename from internal/restic/outputs.go rename to pkg/restic/outputs.go diff --git a/internal/restic/outputs_test.go b/pkg/restic/outputs_test.go similarity index 100% rename from internal/restic/outputs_test.go rename to pkg/restic/outputs_test.go diff --git a/internal/restic/restic.go b/pkg/restic/restic.go similarity index 100% rename from internal/restic/restic.go rename to pkg/restic/restic.go diff --git a/internal/restic/restic_test.go b/pkg/restic/restic_test.go similarity index 100% rename from internal/restic/restic_test.go rename to pkg/restic/restic_test.go