From bf0f7c9d78fa28320a2c60d5a6d1956acfae4a89 Mon Sep 17 00:00:00 2001
From: Ian Lance Taylor
Date: Thu, 21 Jan 2021 17:58:17 -0800
Subject: [PATCH] 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
---
doc/go1.16.html | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/doc/go1.16.html b/doc/go1.16.html
index e1e8c7a8338..7ddb4a935ec 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.
+