Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 312 for indir (0.24 sec)

  1. src/cmd/go/internal/load/pkg.go

    			// Install cross-compiled binaries to subdirectories of bin.
    			elem = full
    		}
    		if p.Internal.Build.BinDir == "" && cfg.ModulesEnabled {
    			p.Internal.Build.BinDir = modload.BinDir()
    		}
    		if p.Internal.Build.BinDir != "" {
    			// Install to GOBIN or bin of GOPATH entry.
    			p.Target = filepath.Join(p.Internal.Build.BinDir, elem)
    			if !p.Goroot && strings.Contains(elem, string(filepath.Separator)) && cfg.GOBIN != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  2. src/os/path.go

    // and returns nil.
    func MkdirAll(path string, perm FileMode) error {
    	// Fast path: if we can tell whether path is a directory or file, stop with success or error.
    	dir, err := Stat(path)
    	if err == nil {
    		if dir.IsDir() {
    			return nil
    		}
    		return &PathError{Op: "mkdir", Path: path, Err: syscall.ENOTDIR}
    	}
    
    	// Slow path: make sure parent exists and then call Mkdir for path.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:09 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/AvailableToolChains.java

        }
    
        public static class InstalledSwiftc extends InstalledToolChain {
            private final File binDir;
            private final VersionNumber compilerVersion;
    
            public InstalledSwiftc(File binDir, VersionNumber compilerVersion) {
                super(ToolFamily.SWIFTC, compilerVersion);
                this.binDir = binDir;
                this.compilerVersion = compilerVersion;
            }
    
            public File tool(String name) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  4. src/io/fs/readdir_test.go

    				t.Errorf("FileMode mismatch: got=%v, want=%v", g, w)
    			}
    			if g, w := dirEntry.Name(), test.path; g != w {
    				t.Errorf("Name mismatch: got=%v, want=%v", g, w)
    			}
    			if g, w := dirEntry.IsDir(), test.wantDir; g != w {
    				t.Errorf("IsDir mismatch: got=%v, want=%v", g, w)
    			}
    		})
    	}
    }
    
    func errorPath(err error) string {
    	var perr *PathError
    	if !errors.As(err, &perr) {
    		return ""
    	}
    	return perr.Path
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 16:25:41 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. pkg/volume/util/fs/fs_windows.go

    		return size, nil
    	}
    
    	size += info.Size()
    
    	if !info.IsDir() {
    		return size, nil
    	}
    
    	dir, err := os.Open(currPath)
    	if err != nil {
    		return size, err
    	}
    	defer dir.Close()
    
    	files, err := dir.Readdir(-1)
    	if err != nil {
    		return size, err
    	}
    
    	for _, file := range files {
    		if file.IsDir() {
    			s, err := diskUsage(filepath.Join(currPath, file.Name()), file)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 21 16:25:48 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  6. release/downloadIstioCandidate.sh

    printf "\n"
    BINDIR="$(cd "$NAME/bin" && pwd)"
    printf "Next Steps:\n"
    printf "See https://istio.io/latest/docs/setup/install/ to add Istio to your Kubernetes cluster.\n"
    printf "\n"
    printf "To configure the istioctl client tool for your workstation,\n"
    printf "add the %s directory to your environment path variable with:\n" "$BINDIR"
    printf "\t export PATH=\"\$PATH:%s\"\n" "$BINDIR"
    printf "\n"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 11 14:13:46 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-groovy/src/integTest/groovy/org/gradle/groovy/GroovyBasePluginIntegrationTest.groovy

                    def compileGroovyDestinationDir = compileGroovy.destinationDirectory
                    def binDir = file("$buildDir/bin")
                    doLast {
                        assert mainGroovyDestDir.get().asFile == compileGroovyDestinationDir.get().asFile
                        assert mainGroovyDestDir.get().asFile == binDir
                    }
                }
            '''
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. src/os/types.go

    	ModeType = fs.ModeType
    
    	ModePerm = fs.ModePerm // Unix permission bits, 0o777
    )
    
    func (fs *fileStat) Name() string { return fs.name }
    func (fs *fileStat) IsDir() bool  { return fs.Mode().IsDir() }
    
    // SameFile reports whether fi1 and fi2 describe the same file.
    // For example, on Unix this means that the device and inode fields
    // of the two underlying structures are identical; on other systems
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. src/io/ioutil/ioutil_test.go

    	if err != nil {
    		t.Fatalf("ReadDir %s: %v", dirname, err)
    	}
    
    	foundFile := false
    	foundSubDir := false
    	for _, dir := range list {
    		switch {
    		case !dir.IsDir() && dir.Name() == "io_test.go":
    			foundFile = true
    		case dir.IsDir() && dir.Name() == "ioutil":
    			foundSubDir = true
    		}
    	}
    	if !foundFile {
    		t.Fatalf("ReadDir %s: io_test.go file not found", dirname)
    	}
    	if !foundSubDir {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. src/os/read_test.go

    	if err != nil {
    		t.Fatalf("ReadDir %s: %v", dirname, err)
    	}
    
    	foundFile := false
    	foundSubDir := false
    	for _, dir := range list {
    		switch {
    		case !dir.IsDir() && dir.Name() == "read_test.go":
    			foundFile = true
    		case dir.IsDir() && dir.Name() == "exec":
    			foundSubDir = true
    		}
    	}
    	if !foundFile {
    		t.Fatalf("ReadDir %s: read_test.go file not found", dirname)
    	}
    	if !foundSubDir {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 02:36:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top