]> Cypherpunks repositories - gostls13.git/commit
path/filepath: Simplify Walk interface
authorGustavo Niemeyer <gustavo@niemeyer.net>
Wed, 7 Sep 2011 21:49:48 +0000 (14:49 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 7 Sep 2011 21:49:48 +0000 (14:49 -0700)
commite5c20dc270c3471bddee57f470bff6481ed12234
tree99a9d84169f416f0779cda86e8b4571a8096b38e
parent1e480cd1adde73b0f7549a2d0c79bcc666ebb74d
path/filepath: Simplify Walk interface

The last argument of filepath.Walk was removed, and the Visitor
interface now contains an Error method that is called on errors.

Fixes #2237.

R=golang-dev, gri, r
CC=golang-dev
https://golang.org/cl/4964067
src/cmd/gofix/main.go
src/cmd/gofmt/gofmt.go
src/cmd/govet/govet.go
src/pkg/path/filepath/path.go
src/pkg/path/filepath/path_test.go