mirror of https://github.com/spf13/afero.git
commit
32b5faae5b
|
@ -22,10 +22,9 @@ import (
|
|||
"path/filepath"
|
||||
"sync"
|
||||
"sync/atomic"
|
||||
"time"
|
||||
)
|
||||
|
||||
import "time"
|
||||
|
||||
const FilePathSeparator = string(filepath.Separator)
|
||||
|
||||
type File struct {
|
||||
|
@ -105,7 +104,7 @@ func SetUID(f *FileData, uid int) {
|
|||
|
||||
func SetGID(f *FileData, gid int) {
|
||||
f.Lock()
|
||||
f.uid = gid
|
||||
f.gid = gid
|
||||
f.Unlock()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue