diff options
author | Jakob Unterwurzacher | 2021-08-23 15:05:15 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-08-23 15:05:15 +0200 |
commit | 69d88505fd7f4cb0d9e4f1918de296342fe05858 (patch) | |
tree | bbe102cb74b8d17b39ef16e3ab9b32cf94a314a4 /tests/plaintextnames | |
parent | c9abfc8f06e1e0ce8e8b7ca480507647572a5df7 (diff) |
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/%
Diffstat (limited to 'tests/plaintextnames')
-rw-r--r-- | tests/plaintextnames/file_holes_test.go | 4 | ||||
-rw-r--r-- | tests/plaintextnames/plaintextnames_test.go | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/plaintextnames/file_holes_test.go b/tests/plaintextnames/file_holes_test.go index 5de0152..a17597a 100644 --- a/tests/plaintextnames/file_holes_test.go +++ b/tests/plaintextnames/file_holes_test.go @@ -9,9 +9,9 @@ import ( "testing" "time" - "github.com/rfjakob/gocryptfs/tests/test_helpers" + "github.com/rfjakob/gocryptfs/v2/tests/test_helpers" - "github.com/rfjakob/gocryptfs/contrib/findholes/holes" + "github.com/rfjakob/gocryptfs/v2/contrib/findholes/holes" ) func findHolesPretty(t *testing.T, path string) string { diff --git a/tests/plaintextnames/plaintextnames_test.go b/tests/plaintextnames/plaintextnames_test.go index e3cf953..c6d6145 100644 --- a/tests/plaintextnames/plaintextnames_test.go +++ b/tests/plaintextnames/plaintextnames_test.go @@ -9,9 +9,9 @@ import ( "syscall" "testing" - "github.com/rfjakob/gocryptfs/internal/configfile" + "github.com/rfjakob/gocryptfs/v2/internal/configfile" - "github.com/rfjakob/gocryptfs/tests/test_helpers" + "github.com/rfjakob/gocryptfs/v2/tests/test_helpers" ) var cDir string |