From: Gustavo Niemeyer Date: Mon, 12 Sep 2011 19:18:48 +0000 (-0300) Subject: path/filepath: fix Visitor doc X-Git-Tag: weekly.2011-09-16~56 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=817da6657682a1bd8a50893466e92499bc4e5933;p=gostls13.git 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 --- diff --git a/src/pkg/path/filepath/path.go b/src/pkg/path/filepath/path.go index 97a89d5191..a1457e8d22 100644 --- a/src/pkg/path/filepath/path.go +++ b/src/pkg/path/filepath/path.go @@ -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)