libgocryptfs/internal/fusefrontend_reverse
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
..
ctlsock_interface.go nametransform: check name validity on encryption 2021-06-02 14:29:48 +02:00
excluder_test.go nametransform: delete NameTransformer interface 2021-06-21 11:53:33 +02:00
excluder.go Update dependencies 2021-08-18 17:30:01 +02:00
file_api_check.go v2api/reverse: implement Lseek 2020-08-16 19:58:47 +02:00
file_helpers.go v2api/reverse: implement Read 2020-08-09 22:11:46 +02:00
file.go v2api/reverse: implement Lseek 2020-08-16 19:58:47 +02:00
node_api_check.go v2api/reverse: update TODO comment on xattrs 2020-08-30 16:39:46 +02:00
node_dir_ops.go reverse mode: implement -one-file-system 2021-08-16 19:23:58 +02:00
node_helpers.go reverse mode: implement -one-file-system 2021-08-16 19:23:58 +02:00
node.go reverse mode: implement -one-file-system 2021-08-16 19:23:58 +02:00
root_node.go reverse: fix "exclude all but" case 2021-08-18 11:38:56 +02:00
rpath.go golangci-lint: fix issues found by "unused" and "deadcode" 2021-08-19 08:34:49 +02:00
virtualconf.go v2api/reverse: implement Read 2020-08-09 22:11:46 +02:00
virtualnode.go v2api/reverse: implement Read 2020-08-09 22:11:46 +02:00