Commit 817da665 authored by Gustavo Niemeyer's avatar Gustavo Niemeyer

path/filepath: fix Visitor doc

The path is not in fact relative to the root, but
joined to it.

R=golang-dev, adg, rsc, gustavo
CC=golang-dev
https://golang.org/cl/4977059
parent 7d43b842
......@@ -259,8 +259,7 @@ func Abs(path string) (string, os.Error) {
}
// Visitor methods are invoked for corresponding file tree entries
// visited by Walk. The parameter path is the full path of f relative
// to root.
// visited by Walk. The provided path parameter begins with root.
type Visitor interface {
VisitDir(path string, f *os.FileInfo) bool
VisitFile(path string, f *os.FileInfo)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment