aboutsummaryrefslogtreecommitdiff
path: root/src/go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2020-07-06 11:27:12 -0400
committerRuss Cox <rsc@golang.org>2020-10-20 17:53:14 +0000
commitb64202bc29b9c1cf0118878d1c0acc9cdb2308f6 (patch)
tree6c632cefefa5dbb996d04f57e7a6e2282ffae4bb /src/go
parent7a131acfd142f0fc7612365078b9f00e371fc0e2 (diff)
downloadgo-b64202bc29b9c1cf0118878d1c0acc9cdb2308f6.tar.gz
go-b64202bc29b9c1cf0118878d1c0acc9cdb2308f6.zip
io/fs: add Glob and GlobFS
Add Glob helper function, GlobFS interface, and test. Add Glob method to fstest.MapFS. Add testing of Glob method to fstest.TestFS. For #41190. Change-Id: If89dd7f63e310ba5ca2651340267a9ff39fcc0c7 Reviewed-on: https://go-review.googlesource.com/c/go/+/243915 Trust: Russ Cox <rsc@golang.org> Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/go')
-rw-r--r--src/go/build/deps_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/go/build/deps_test.go b/src/go/build/deps_test.go
index ccee539086..16a67791cf 100644
--- a/src/go/build/deps_test.go
+++ b/src/go/build/deps_test.go
@@ -123,7 +123,7 @@ var depsRules = `
< context
< TIME;
- TIME, io, sort
+ TIME, io, path, sort
< io/fs;
# MATH is RUNTIME plus the basic math packages.