Lines Matching refs:dir
106 func runTestFs(t *testing.T, f func(t *testing.T, fs FileSystem, dir string)) {
189 runTestFs(t, func(t *testing.T, fs FileSystem, dir string) {
192 got, err := fs.IsDir(filepath.Join(dir, test.name))
231 runTestFs(t, func(t *testing.T, fs FileSystem, dir string) {
234 got, err := fs.ListDirsRecursive(filepath.Join(dir, test.name), FollowSymlinks)
238 want[i] = filepath.Join(dir, want[i])
277 runTestFs(t, func(t *testing.T, fs FileSystem, dir string) {
280 got, err := fs.ListDirsRecursive(filepath.Join(dir, test.name), DontFollowSymlinks)
284 want[i] = filepath.Join(dir, want[i])
340 runTestFs(t, func(t *testing.T, fs FileSystem, dir string) {
401 runTestFs(t, func(t *testing.T, fs FileSystem, dir string) {
404 got, err := fs.Lstat(filepath.Join(dir, test.name))
469 runTestFs(t, func(t *testing.T, fs FileSystem, dir string) {
472 got, err := fs.Stat(filepath.Join(dir, test.name))
527 runTestFs(t, func(t *testing.T, fs FileSystem, dir string) {