# Functions
AppendClean is like cleanPath but it appends the result to the byte slice passed as first argument.
Clean is like path.Clean but it preserves parent directory references; this is necessary to ensure that symbolic links aren't erased from walking the path.
Depth returns the depth of a path.
No description provided by the author
IndexSlash is like strings.IndexByte(path, '/') but the function is simple enough to be inlined, which is a measurable improvement since it gets called very often by the other routines in this file.
IsAbs returns true if the path is absolute, which means that it starts with a slash ("/").
IsRoot returns true if the path represents a root directory, which means that it is absolute and composed only of sequences of "/", ".", and "..".
Join is similar to path.Join but is simplified to only join two paths and avoid cleaning parent directory references in the paths.
No description provided by the author
No description provided by the author
Walk separates the next path element from the rest of the path.