From 68387b470c0d6d2896cc6b927a6e3097389d66ab Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 7 May 2017 12:22:15 +0200 Subject: Fix typos found by Misspell Misspell Finds commonly misspelled English words gocryptfs/internal/configfile/scrypt.go Line 41: warning: "paramter" is a misspelling of "parameter" (misspell) gocryptfs/internal/ctlsock/ctlsock_serve.go Line 1: warning: "implementes" is a misspelling of "implements" (misspell) gocryptfs/tests/test_helpers/helpers.go Line 27: warning: "compatability" is a misspelling of "compatibility" (misspell) --- internal/configfile/scrypt.go | 2 +- internal/ctlsock/ctlsock_serve.go | 2 +- internal/exitcodes/exitcodes.go | 2 +- tests/test_helpers/helpers.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/configfile/scrypt.go b/internal/configfile/scrypt.go index e1fbf15..0646754 100644 --- a/internal/configfile/scrypt.go +++ b/internal/configfile/scrypt.go @@ -38,7 +38,7 @@ type ScryptKDF struct { N int // R: scrypt block size parameter R int - // P: scrypt parallization paramter + // P: scrypt parallelization parameter P int // KeyLen is the output data length KeyLen int diff --git a/internal/ctlsock/ctlsock_serve.go b/internal/ctlsock/ctlsock_serve.go index d09f981..43beeb9 100644 --- a/internal/ctlsock/ctlsock_serve.go +++ b/internal/ctlsock/ctlsock_serve.go @@ -1,4 +1,4 @@ -// Package ctlsock implementes the control socket interface that can be +// Package ctlsock implements the control socket interface that can be // activated by passing "-ctlsock" on the command line. package ctlsock diff --git a/internal/exitcodes/exitcodes.go b/internal/exitcodes/exitcodes.go index ae00118..2ec3ae6 100644 --- a/internal/exitcodes/exitcodes.go +++ b/internal/exitcodes/exitcodes.go @@ -16,7 +16,7 @@ const ( // ported over here. ) -// Err wraps and error with an associated numeric exit code +// Err wraps an error with an associated numeric exit code type Err struct { error code int diff --git a/tests/test_helpers/helpers.go b/tests/test_helpers/helpers.go index 6b7f6b4..299067a 100644 --- a/tests/test_helpers/helpers.go +++ b/tests/test_helpers/helpers.go @@ -24,7 +24,7 @@ const testParentDir = "/tmp/gocryptfs-test-parent" // GocryptfsBinary is the assumed path to the gocryptfs build. const GocryptfsBinary = "../../gocryptfs" -// UnmountScript is the fusermount/umount compatability wrapper script +// UnmountScript is the fusermount/umount compatibility wrapper script const UnmountScript = "../fuse-unmount.bash" // TmpDir is a unique temporary directory. "go test" runs package tests in parallel. We create a -- cgit v1.2.3