mirror of
https://github.com/chai2010/advanced-go-programming-book.git
synced 2025-05-24 12:32:21 +00:00
Merge pull request #368 from BeccaBecca/master
fs.Lstat(p) to fs.fs.Lstat(p)
This commit is contained in:
commit
fe3ee283b5
@ -376,7 +376,7 @@ type gatefs struct {
|
||||
func (fs gatefs) Lstat(p string) (os.FileInfo, error) {
|
||||
fs.enter()
|
||||
defer fs.leave()
|
||||
return fs.Lstat(p)
|
||||
return fs.fs.Lstat(p)
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user