go/src/os/stat_test.go

type testStatAndLstatParams

// testStatAndLstat verifies that all os.Stat, os.Lstat os.File.Stat and os.Readdir work.
func testStatAndLstat(t *testing.T, path string, params testStatAndLstatParams) {}

// testIsDir verifies that fi refers to directory.
func testIsDir(t *testing.T, path string, fi fs.FileInfo) {}

// testIsSymlink verifies that fi refers to symlink.
func testIsSymlink(t *testing.T, path string, fi fs.FileInfo) {}

// testIsFile verifies that fi refers to file.
func testIsFile(t *testing.T, path string, fi fs.FileInfo) {}

func testDirStats(t *testing.T, path string) {}

func testFileStats(t *testing.T, path string) {}

func testSymlinkStats(t *testing.T, path string, isdir bool) {}

func testSymlinkSameFile(t *testing.T, path, link string) {}

func testSymlinkSameFileOpen(t *testing.T, link string) {}

func TestDirAndSymlinkStats(t *testing.T) {}

func TestFileAndSymlinkStats(t *testing.T) {}

// see issue 27225 for details
func TestSymlinkWithTrailingSlash(t *testing.T) {}

func TestStatConsole(t *testing.T) {}

func TestClosedStat(t *testing.T) {}