From 1bab400fcafb17e33dfc5098634cb1a336546d4f Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Tue, 19 Jun 2018 20:13:56 +0200 Subject: Fix three golint warnings We are clean again. Warnings were: internal/fusefrontend/fs.go:443:14: should omit type string from declaration of var cTarget; it will be inferred from the right-hand side internal/fusefrontend/xattr.go:26:1: comment on exported method FS.GetXAttr should be of the form "GetXAttr ..." internal/syscallcompat/sys_common.go:9:7: exported const PATH_MAX should have comment or be unexported --- internal/fusefrontend/xattr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/fusefrontend/xattr.go') diff --git a/internal/fusefrontend/xattr.go b/internal/fusefrontend/xattr.go index 2bbdf41..eea67ad 100644 --- a/internal/fusefrontend/xattr.go +++ b/internal/fusefrontend/xattr.go @@ -23,7 +23,7 @@ var xattrNameIV = []byte("xattr_name_iv_xx") // encrypted original name. var xattrStorePrefix = "user.gocryptfs." -// GetXAttr: read the value of extended attribute "attr". +// GetXAttr reads the value of extended attribute "attr". // Implements pathfs.Filesystem. func (fs *FS) GetXAttr(path string, attr string, context *fuse.Context) ([]byte, fuse.Status) { if fs.isFiltered(path) { -- cgit v1.2.3