MCPcopy Create free account

hub / github.com/MichaelTJones/walk / functions

Functions42 in github.com/MichaelTJones/walk

↓ 7 callersMethodappend
(c byte)
walk.go:203
↓ 7 callersFunctionisSlash
(c uint8)
path_windows.go:11
↓ 5 callersFunctionClean
Clean returns the shortest path name equivalent to path by purely lexical processing. It applies the following rules iteratively until no further pro
walk.go:249
↓ 4 callersFunctionmarkTree
(n *Node)
walk_test.go:75
↓ 4 callersMethodsetTerminated
(err error)
walk.go:60
↓ 4 callersFunctiontouch
(t *testing.T, name string)
walk_test.go:180
↓ 4 callersFunctionwalkTree
(n *Node, path string, f func(path string, n *Node))
walk_test.go:53
↓ 3 callersFunctioncheckMarks
(t *testing.T, report bool)
walk_test.go:77
↓ 2 callersFunctionFromSlash
FromSlash returns the result of replacing each slash ('/') character in path with a separator character. Multiple slashes are replaced by multiple sep
walk.go:336
↓ 2 callersFunctionVolumeName
VolumeName returns leading volume name. Given "C:\foo\bar" it returns "C:" under windows. Given "\\host\share\foo" it returns "\\host\share". On other
walk.go:434
↓ 2 callersFunctionvolumeNameLen
volumeNameLen returns length of the leading volume name on Windows. It returns 0 elsewhere.
path_unix.go:18
↓ 1 callersFunctionIsAbs
IsAbs returns true if the path is absolute.
path_unix.go:12
↓ 1 callersFunctionJoin
Join joins any number of path elements into a single path, adding a Separator if necessary. The result is Cleaned, in particular all empty strings are
walk.go:346
↓ 1 callersFunctionevalSymlinks
(path string)
symlink.go:16
↓ 1 callersMethodindex
(i int)
walk.go:196
↓ 1 callersFunctionmakeTree
(t *testing.T)
walk_test.go:60
↓ 1 callersFunctionmark
Assumes that each node name is unique. Good enough for a test. If clear is true, any incoming error is cleared before return. The errors are always ac
walk_test.go:89
↓ 1 callersFunctionreadDirNames
THE REMAINDER IS UNCHANGED FROM THE ORGINAL GO LIBRARY ORIGINAL readDirNames reads the directory named by dirname and returns a sorted list of direc
walk.go:170
↓ 1 callersMethodstring
()
walk.go:216
↓ 1 callersMethodterminated
()
walk.go:53
↓ 1 callersFunctiontoLong
(path string)
symlink_windows.go:31
↓ 1 callersFunctiontoShort
(path string)
symlink_windows.go:11
↓ 1 callersMethodvisitChannel
()
walk.go:69
↓ 1 callersMethodvisitFile
(file VisitData)
walk.go:76
↓ 1 callersFunctionvolumeNameLen
volumeNameLen returns length of the leading volume name on Windows. It returns 0 elsewhere.
path_windows.go:30
FunctionEvalSymlinks
EvalSymlinks returns the path name after the evaluation of any symbolic links. If path is relative the result will be relative to the current director
walk.go:442
FunctionHasPrefix
HasPrefix exists for historical compatibility and should not be used.
path_windows.go:67
FunctionHasPrefix
HasPrefix exists for historical compatibility and should not be used.
path_plan9.go:21
FunctionHasPrefix
HasPrefix exists for historical compatibility and should not be used.
path_unix.go:23
FunctionIsAbs
IsAbs returns true if the path is absolute.
path_windows.go:16
FunctionIsAbs
IsAbs returns true if the path is absolute.
path_plan9.go:10
FunctionRel
Rel returns a relative path that is lexically equivalent to targpath when joined to basepath with an intervening separator. That is, Join(basepath, Re
walk.go:362
FunctionTestBug3486
(t *testing.T)
walk_test.go:237
FunctionTestWalk
(t *testing.T)
walk_test.go:106
FunctionTestWalkFileError
(t *testing.T)
walk_test.go:190
FunctionToSlash
ToSlash returns the result of replacing each separator character in path with a slash ('/') character. Multiple separators are replaced by multiple sl
walk.go:326
FunctionWalk
Walk walks the file tree rooted at root, calling walkFn for each file or directory in the tree, including root. All errors that arise visiting files a
walk.go:140
FunctionevalSymlinks
(path string)
symlink_windows.go:52
FunctionsplitList
(path string)
path_windows.go:74
FunctionsplitList
(path string)
path_plan9.go:25
FunctionsplitList
(path string)
path_unix.go:27
FunctionvolumeNameLen
volumeNameLen returns length of the leading volume name on Windows. It returns 0 elsewhere.
path_plan9.go:16