We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dacf253 commit d92e8feCopy full SHA for d92e8fe
src/io/fs/fs.go
@@ -44,7 +44,7 @@ type FS interface {
44
// Path names passed to open are UTF-8-encoded,
45
// unrooted, slash-separated sequences of path elements, like “x/y/z”.
46
// Path names must not contain an element that is “.” or “..” or the empty string,
47
-// except for the special case that the root directory is named “.”.
+// except for the special case that the name "." may be used for the root directory.
48
// Paths must not start or end with a slash: “/x” and “x/” are invalid.
49
//
50
// Note that paths are slash-separated on all systems, even Windows.
0 commit comments