Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HtmlReplacer = strings.NewReplacer(
"&", "&",
"<", "<",
">", ">",
`"`, """,
"'", "'",
)
Functions ¶
func ContainsDotFile ¶
ContainsDotFile reports whether name contains a path element starting with a period. The name is assumed to be a delimited by forward slashes, as guaranteed by the http.FileSystem interface.
func MapDirOpenError ¶
MapDirOpenError maps the provided non-nil error from opening name to a possibly better non-nil error. In particular, it turns OS-specific errors about opening files in non-directories into os.ErrNotExist. See Issue 18984.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.