We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 202b435 commit b44f637Copy full SHA for b44f637
src/io/fs/fs.go
@@ -5,6 +5,9 @@
5
// Package fs defines basic interfaces to a file system.
6
// A file system can be provided by the host operating system
7
// but also by other packages.
8
+//
9
+// See the [testing/fstest] package for support with testing
10
+// implementations of file systems.
11
package fs
12
13
import (
@@ -18,6 +21,9 @@ import (
18
21
// The FS interface is the minimum implementation required of the file system.
19
22
// A file system may implement additional interfaces,
20
23
// such as [ReadFileFS], to provide additional or optimized functionality.
24
25
+// [testing/fstest.TestFS] may be used to test implementations of an FS for
26
+// correctness.
27
type FS interface {
28
// Open opens the named file.
29
//
0 commit comments