diff options
| author | Paul Buetow <git@mx.buetow.org> | 2020-12-27 16:42:03 +0000 |
|---|---|---|
| committer | Paul Buetow <git@mx.buetow.org> | 2020-12-27 16:42:03 +0000 |
| commit | 2c7bdd09e8b7c58d98d631e32a24e4bd34d5bec9 (patch) | |
| tree | 5b59cade83108c1855d07f1f869a0dcb3b9f0907 /internal/io | |
| parent | 94e37105c5a8c0ce22104add751e9938f239261e (diff) | |
make lint happy
Diffstat (limited to 'internal/io')
| -rw-r--r-- | internal/io/fs/permissions/permission_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/io/fs/permissions/permission_linux.go b/internal/io/fs/permissions/permission_linux.go index feae729..bbc039b 100644 --- a/internal/io/fs/permissions/permission_linux.go +++ b/internal/io/fs/permissions/permission_linux.go @@ -11,7 +11,7 @@ import ( "unsafe" ) -// To check whether user has Linux file system permissions to read a given file. +// ToRead checks whether user has Linux file system permissions to read a given file. func ToRead(user, filePath string) (bool, error) { cUser := C.CString(user) cFilePath := C.CString(filePath) |
