From: Ian Lance Taylor
Date: Fri, 22 Jan 2021 01:58:17 +0000 (-0800)
Subject: doc/go1.16: mention os.DirFS in os section
X-Git-Tag: go1.16rc1~15
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=bf0f7c9d78;p=gostls13.git
doc/go1.16: mention os.DirFS in os section
For #40700
For #41190
Change-Id: I8ade6efd5be09003fc3e5db5a9b91ba6e0f023f7
Reviewed-on: https://go-review.googlesource.com/c/go/+/285593
Trust: Ian Lance Taylor
Reviewed-by: Dmitri Shuralyov
---
diff --git a/doc/go1.16.html b/doc/go1.16.html
index e1e8c7a833..7ddb4a935e 100644
--- a/doc/go1.16.html
+++ b/doc/go1.16.html
@@ -982,6 +982,13 @@ func TestFoo(t *testing.T) {
io/fs
package.
This should not affect any existing code.
+
+
+ The new DirFS
function
+ provides an implementation of
+ fs.FS
backed by a tree
+ of operating system files.
+