aboutsummaryrefslogtreecommitdiff
path: root/src/io/fs/fs.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/fs/fs.go')
-rw-r--r--src/io/fs/fs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/fs/fs.go b/src/io/fs/fs.go
index e1be32478e..e603afadb0 100644
--- a/src/io/fs/fs.go
+++ b/src/io/fs/fs.go
@@ -86,7 +86,7 @@ type File interface {
type DirEntry interface {
// Name returns the name of the file (or subdirectory) described by the entry.
// This name is only the final element of the path (the base name), not the entire path.
- // For example, Name would return "hello.go" not "/home/gopher/hello.go".
+ // For example, Name would return "hello.go" not "home/gopher/hello.go".
Name() string
// IsDir reports whether the entry describes a directory.