Merge pull request #280 from mfuterko/master

Fix a typo
This commit is contained in:
Michail Kargakis 2020-12-09 13:17:20 +01:00 committed by GitHub
commit 32b5faae5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -22,10 +22,9 @@ import (
"path/filepath" "path/filepath"
"sync" "sync"
"sync/atomic" "sync/atomic"
"time"
) )
import "time"
const FilePathSeparator = string(filepath.Separator) const FilePathSeparator = string(filepath.Separator)
type File struct { type File struct {
@ -105,7 +104,7 @@ func SetUID(f *FileData, uid int) {
func SetGID(f *FileData, gid int) { func SetGID(f *FileData, gid int) {
f.Lock() f.Lock()
f.uid = gid f.gid = gid
f.Unlock() f.Unlock()
} }