libgocryptfs/internal/readpassword
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
..
passfile_test_files Allow multiple -extpass arguments 2019-03-03 13:25:30 +01:00
extpass_test.go golangci-lint: fix issues found by "unused" and "deadcode" 2021-08-19 08:34:49 +02:00
passfile_test.go main: accept multiple -passfile options 2020-05-17 19:31:04 +02:00
passfile.go main: accept multiple -passfile options 2020-05-17 19:31:04 +02:00
read.go main: accept multiple -passfile options 2020-05-17 19:31:04 +02:00
stdin_test.go Add -masterkey=stdin functionality 2018-03-22 00:02:10 +01:00