Documentation update.
I believe you say: "Step" but mean "Next" since there is no Step() function.
This commit is contained in:
parent
1182040339
commit
f82be3d90b
@ -84,7 +84,7 @@ func (w *Walker) Err() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Stat returns info for the most recent file or directory
|
// Stat returns info for the most recent file or directory
|
||||||
// visited by a call to Step.
|
// visited by a call to Next.
|
||||||
func (w *Walker) Stat() *Entry {
|
func (w *Walker) Stat() *Entry {
|
||||||
return w.cur.entry
|
return w.cur.entry
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user