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/% --- cli_args.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cli_args.go') diff --git a/cli_args.go b/cli_args.go index d7e3217..d082113 100644 --- a/cli_args.go +++ b/cli_args.go @@ -4,7 +4,7 @@ import ( // Should be initialized before anything else. // This import line MUST be in the alphabetically first source code file of // package main! - _ "github.com/rfjakob/gocryptfs/internal/ensurefds012" + _ "github.com/rfjakob/gocryptfs/v2/internal/ensurefds012" "fmt" "net" @@ -18,10 +18,10 @@ import ( "github.com/hanwen/go-fuse/v2/fuse" - "github.com/rfjakob/gocryptfs/internal/configfile" - "github.com/rfjakob/gocryptfs/internal/exitcodes" - "github.com/rfjakob/gocryptfs/internal/stupidgcm" - "github.com/rfjakob/gocryptfs/internal/tlog" + "github.com/rfjakob/gocryptfs/v2/internal/configfile" + "github.com/rfjakob/gocryptfs/v2/internal/exitcodes" + "github.com/rfjakob/gocryptfs/v2/internal/stupidgcm" + "github.com/rfjakob/gocryptfs/v2/internal/tlog" ) // argContainer stores the parsed CLI options and arguments -- cgit v1.2.3