os: docs say nothing about path slash types #44274
Labels
Documentation
Issues describing a change to documentation.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
The
os
package docs say:But nowhere at https://golang.org/pkg/os/ is "slash" mentioned.
Yet there are two Go packages about paths and their slashes:
path
andpath/filepath
.That quoted line above might suggest only forward slashes are permitted ("the design is Unix-like").
Seems like the
os
package should say what it permits. Users will wonder: forward only? host native only? either way?The text was updated successfully, but these errors were encountered: