Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isMountPoint (0.23 sec)

  1. src/os/os_windows_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if !os.SameFile(ia1, ia3) {
    		t.Errorf("files should be same")
    	}
    }
    
    type dirLinkTest struct {
    	name         string
    	mklink       func(link, target string) error
    	isMountPoint bool
    }
    
    func testDirLinks(t *testing.T, tests []dirLinkTest) {
    	tmpdir := t.TempDir()
    	chdir(t, tmpdir)
    
    	dir := filepath.Join(tmpdir, "dir")
    	err := os.Mkdir(dir, 0777)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
Back to top