- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestWalkDir (0.1 sec)
-
src/path/filepath/path_test.go
return filepath.Walk(root, func(path string, info fs.FileInfo, err error) error { return fn(path, fs.FileInfoToDirEntry(info), err) }) } testWalk(t, walk, 1) } func TestWalkDir(t *testing.T) { testWalk(t, filepath.WalkDir, 2) } func testWalk(t *testing.T, walk func(string, fs.WalkDirFunc) error, errVisit int) { if runtime.GOOS == "ios" { restore := chtmpdir(t) defer restore()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:38:19 UTC 2024 - 47.1K bytes - Viewed (0)