]> Cypherpunks repositories - gostls13.git/commit
os: add dirFs.ReadDir to implement fs.ReadDirFS for DirFS
authorTobias Klauser <tklauser@distanz.ch>
Wed, 24 May 2023 17:49:24 +0000 (19:49 +0200)
committerGopher Robot <gobot@golang.org>
Wed, 24 May 2023 22:39:06 +0000 (22:39 +0000)
commit79a8997ac5592f11388d9f26ab3fff65ec876dbd
tree407ba1b7a37478021f6b18d60e2d119c26c70fb7
parentbc2095280e4f607c30397a15a89ca8347b019918
os: add dirFs.ReadDir to implement fs.ReadDirFS for DirFS

Follow CL 416775 which added dirFs.ReadFile.

Fixes #53761

Change-Id: Iec19a815ab7c37a3206be141518cc587a588de20
Reviewed-on: https://go-review.googlesource.com/c/go/+/498015
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
src/os/file.go
src/os/os_test.go