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/% --- contrib/findholes/main.go | 2 +- contrib/getdents-debug/getdents/getdents.go | 2 +- contrib/getdents-debug/readdirnames/readdirnames.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'contrib') diff --git a/contrib/findholes/main.go b/contrib/findholes/main.go index 17597ae..ce234b7 100644 --- a/contrib/findholes/main.go +++ b/contrib/findholes/main.go @@ -6,7 +6,7 @@ import ( "fmt" "os" - "github.com/rfjakob/gocryptfs/contrib/findholes/holes" + "github.com/rfjakob/gocryptfs/v2/contrib/findholes/holes" ) func main() { diff --git a/contrib/getdents-debug/getdents/getdents.go b/contrib/getdents-debug/getdents/getdents.go index a3cdac4..781a23d 100644 --- a/contrib/getdents-debug/getdents/getdents.go +++ b/contrib/getdents-debug/getdents/getdents.go @@ -1,6 +1,6 @@ /* Small tool to try to debug unix.Getdents problems on CIFS mounts -( https://github.com/rfjakob/gocryptfs/issues/483 ) +( https://github.com/rfjakob/gocryptfs/v2/issues/483 ) Example output: diff --git a/contrib/getdents-debug/readdirnames/readdirnames.go b/contrib/getdents-debug/readdirnames/readdirnames.go index dc33512..1a29290 100644 --- a/contrib/getdents-debug/readdirnames/readdirnames.go +++ b/contrib/getdents-debug/readdirnames/readdirnames.go @@ -1,6 +1,6 @@ /* Small tool to try to debug unix.Getdents problems on CIFS mounts -( https://github.com/rfjakob/gocryptfs/issues/483 ) +( https://github.com/rfjakob/gocryptfs/v2/issues/483 ) Example output: -- cgit v1.2.3