We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8ca6e5 commit 8a7ee4cCopy full SHA for 8a7ee4c
src/io/fs/fs.go
@@ -86,7 +86,7 @@ type File interface {
86
type DirEntry interface {
87
// Name returns the name of the file (or subdirectory) described by the entry.
88
// This name is only the final element of the path (the base name), not the entire path.
89
- // For example, Name would return "hello.go" not "/home/gopher/hello.go".
+ // For example, Name would return "hello.go" not "home/gopher/hello.go".
90
Name() string
91
92
// IsDir reports whether the entry describes a directory.
0 commit comments