From 69d88505fd7f4cb0d9e4f1918de296342fe05858 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Mon, 23 Aug 2021 15:05:15 +0200 Subject: go mod: declare module version v2 Our git version is v2+ for some time now, but go.mod still declared v1. Hopefully making both match makes https://pkg.go.dev/github.com/rfjakob/gocryptfs/v2 work. All the import paths have been fixed like this: find . -name \*.go | xargs sed -i s%github.com/rfjakob/gocryptfs/%github.com/rfjakob/gocryptfs/v2/% --- internal/readpassword/extpass_test.go | 2 +- internal/readpassword/passfile.go | 4 ++-- internal/readpassword/read.go | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'internal/readpassword') diff --git a/internal/readpassword/extpass_test.go b/internal/readpassword/extpass_test.go index ea05893..5c23ab3 100644 --- a/internal/readpassword/extpass_test.go +++ b/internal/readpassword/extpass_test.go @@ -5,7 +5,7 @@ import ( "os/exec" "testing" - "github.com/rfjakob/gocryptfs/internal/tlog" + "github.com/rfjakob/gocryptfs/v2/internal/tlog" ) func TestMain(m *testing.M) { diff --git a/internal/readpassword/passfile.go b/internal/readpassword/passfile.go index df6cd4d..29fde6c 100644 --- a/internal/readpassword/passfile.go +++ b/internal/readpassword/passfile.go @@ -4,8 +4,8 @@ import ( "bytes" "os" - "github.com/rfjakob/gocryptfs/internal/exitcodes" - "github.com/rfjakob/gocryptfs/internal/tlog" + "github.com/rfjakob/gocryptfs/v2/internal/exitcodes" + "github.com/rfjakob/gocryptfs/v2/internal/tlog" ) // readPassFileConcatenate reads the first line from each file name and diff --git a/internal/readpassword/read.go b/internal/readpassword/read.go index e116f0b..c0dce43 100644 --- a/internal/readpassword/read.go +++ b/internal/readpassword/read.go @@ -11,8 +11,8 @@ import ( "golang.org/x/crypto/ssh/terminal" - "github.com/rfjakob/gocryptfs/internal/exitcodes" - "github.com/rfjakob/gocryptfs/internal/tlog" + "github.com/rfjakob/gocryptfs/v2/internal/exitcodes" + "github.com/rfjakob/gocryptfs/v2/internal/tlog" ) const ( -- cgit v1.2.3