Documentation ¶
Index ¶
Constants ¶
View Source
const ( ModeIrregular = os.ModeIrregular ModeDir = os.ModeDir )
Variables ¶
View Source
var ( ErrNotExist = os.ErrNotExist SkipDir = filepath.SkipDir )
Functions ¶
func ValidPath ¶
ValidPath reports whether the given path name is valid for use in a call to Open. Path names passed to open are unrooted, slash-separated sequences of path elements, like “x/y/z”. Path names must not contain a “.” or “..” or empty element, except for the special case that the root directory is named “.”.
Paths are slash-separated on all systems, even Windows. Backslashes must not appear in path names.
Types ¶
Click to show internal directories.
Click to hide internal directories.