]> Cypherpunks repositories - gostls13.git/commit
path/filepath.Glob: add an error return.
authorRob Pike <r@golang.org>
Mon, 4 Apr 2011 20:09:34 +0000 (13:09 -0700)
committerRob Pike <r@golang.org>
Mon, 4 Apr 2011 20:09:34 +0000 (13:09 -0700)
commit60c4c3464b48b8238f29376c2911922fe207d853
treebe6aecc53757f3055ef00b6c7afcb3a42a340baf
parent06ee80d6ebfc9ec2229d1e10f4d1a2951fb2600f
path/filepath.Glob: add an error return.
The error will only occur for invalid patterns, but without this
error path there is no way to know that Glob has failed due to
an invalid pattern.

R=rsc
CC=golang-dev
https://golang.org/cl/4346044
src/cmd/gotest/gotest.go
src/pkg/path/filepath/match.go
src/pkg/path/filepath/match_test.go