libgocryptfs/internal
Jakob Unterwurzacher be2bd4eec7 golangci-lint: fix issues found by "unused" and "deadcode"
Except xattrSupported, this is a false positive.

$ golangci-lint run --disable-all --enable unused --enable deadcode
gocryptfs-xray/xray_main.go:24:5: `GitVersionFuse` is unused (deadcode)
var GitVersionFuse = "[GitVersionFuse not set - please compile using ./build.bash]"
    ^
tests/symlink_race/main.go:47:6: `chmodLoop` is unused (deadcode)
func chmodLoop() {
     ^
internal/readpassword/extpass_test.go:11:5: `testPw` is unused (deadcode)
var testPw = []byte("test")
    ^
tests/reverse/xattr_test.go:13:6: func `xattrSupported` is unused (unused)
func xattrSupported(path string) bool {
     ^
internal/fusefrontend_reverse/rpath.go:20:22: func `(*RootNode).abs` is unused (unused)
func (rfs *RootNode) abs(relPath string, err error) (string, error) {
                     ^
tests/matrix/matrix_test.go:310:6: `sContains` is unused (deadcode)
func sContains(haystack []string, needle string) bool {
2021-08-19 08:34:49 +02:00
..
configfile fido2: hide "FIDO2" in gocryptfs.conf if not used 2021-06-20 18:09:21 +02:00
contentenc Improve startup debug output 2021-06-21 11:32:04 +02:00
cryptocore Improve startup debug output 2021-06-21 11:32:04 +02:00
ctlsocksrv ctlsock: create exported ctlsock client library 2020-05-09 17:36:41 +02:00
ensurefds012 main: Run 'ensure fds' code early during the program startup. 2019-01-05 16:12:16 +01:00
exitcodes Add support for FIDO2 tokens 2020-09-12 18:06:54 +02:00
fido2 fido2: actually drop `-v` flag 2021-07-29 12:47:40 +02:00
fusefrontend golangci-lint: fix issues found by gosimple 2021-08-19 08:34:44 +02:00
fusefrontend_reverse golangci-lint: fix issues found by "unused" and "deadcode" 2021-08-19 08:34:49 +02:00
inomap inomap: update outdated wording in comments 2021-08-16 17:14:14 +02:00
nametransform nametransform: rename BadNameFlag to BadnameSuffix 2021-06-21 12:12:44 +02:00
openfiletable inomap: split into separate package 2020-04-13 14:54:04 +02:00
pathiv pathiv: fix test failure on Go 1.6 2017-05-31 08:21:36 +02:00
readpassword golangci-lint: fix issues found by "unused" and "deadcode" 2021-08-19 08:34:49 +02:00
serialize_reads serialize_reads: drop superflous "continue" 2019-09-08 21:19:44 +02:00
siv_aead siv_aead: create private key copy and implement wiping 2018-02-18 16:01:46 +01:00
speed -speed: note that XChaCha20 is not selectable 2021-05-18 09:53:23 +02:00
stupidgcm golangci-lint: fix issues found by gosimple 2021-08-19 08:34:44 +02:00
syscallcompat Fix issues found by ineffassign 2021-08-18 15:48:01 +02:00
tlog tlog: switch from golang.org/x/crypto/ssh/terminal to golang.org/x/term 2021-08-19 07:38:56 +02:00