Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 163 for indir (0.18 sec)

  1. src/cmd/dist/build.go

    		switch {
    		case err != nil:
    			// ignore
    		case d.IsDir() && (d.Name() == "vendor" || d.Name() == "testdata"):
    			return filepath.SkipDir
    		case d.IsDir() && d.Name() != "dist":
    			// Remove generated binary named for directory, but not dist out from under us.
    			exe := filepath.Join(path, d.Name())
    			if info, err := os.Stat(exe); err == nil && !info.IsDir() {
    				xremove(exe)
    			}
    			xremove(exe + ".exe")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  2. api/go1.23.txt

    pkg archive/tar, type FileInfoNames interface { Gname, IsDir, ModTime, Mode, Name, Size, Sys, Uname } #50102
    pkg archive/tar, type FileInfoNames interface, Gname() (string, error) #50102
    pkg archive/tar, type FileInfoNames interface, IsDir() bool #50102
    pkg archive/tar, type FileInfoNames interface, ModTime() time.Time #50102
    pkg archive/tar, type FileInfoNames interface, Mode() fs.FileMode #50102
    pkg archive/tar, type FileInfoNames interface, Name() string #50102
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. pkg/volume/hostpath/host_path.go

    	}
    
    	return nil, false, fmt.Errorf("spec does not reference an HostPath volume type")
    }
    
    type hostPathTypeChecker interface {
    	Exists() bool
    	IsFile() bool
    	MakeFile() error
    	IsDir() bool
    	MakeDir() error
    	IsBlock() bool
    	IsChar() bool
    	IsSocket() bool
    	GetPath() string
    }
    
    type fileTypeChecker struct {
    	path string
    	hu   hostutil.HostUtils
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. src/os/file_windows.go

    				destpath = v + oldname
    			}
    		} else {
    			// oldname is relative to newname.
    			destpath = dirname(newname) + `\` + oldname
    		}
    	}
    
    	fi, err := Stat(destpath)
    	isdir := err == nil && fi.IsDir()
    
    	n, err := syscall.UTF16PtrFromString(fixLongPath(newname))
    	if err != nil {
    		return &LinkError{"symlink", oldname, newname, err}
    	}
    	var o *uint16
    	if filepathlite.IsAbs(oldname) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. src/path/filepath/symlink.go

    		}
    
    		dest += path[start:end]
    
    		// Resolve symlink.
    
    		fi, err := os.Lstat(dest)
    		if err != nil {
    			return "", err
    		}
    
    		if fi.Mode()&fs.ModeSymlink == 0 {
    			if !fi.Mode().IsDir() && end < len(path) {
    				return "", syscall.ENOTDIR
    			}
    			continue
    		}
    
    		// Found symlink.
    
    		linksWalked++
    		if linksWalked > 255 {
    			return "", errors.New("EvalSymlinks: too many links")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. pkg/volume/util/hostutil/hostutil.go

    	}
    
    	// checks whether the mode is the target mode.
    	isSpecificMode := func(mode, targetMode os.FileMode) bool {
    		return mode&targetMode == targetMode
    	}
    
    	mode := info.Mode()
    	if mode.IsDir() {
    		return FileTypeDirectory, nil
    	} else if mode.IsRegular() {
    		return FileTypeFile, nil
    	} else if isSpecificMode(mode, os.ModeSocket) {
    		return FileTypeSocket, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 13:38:40 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. pkg/kubelet/stats/host_stats_provider_fake.go

    	files, err := f.osInterface.ReadDir(path)
    	if err != nil {
    		return nil, err
    	}
    	var results []volume.MetricsProvider
    	for _, file := range files {
    		if file.IsDir() {
    			continue
    		}
    		// Only include *files* under pod log directory.
    		fpath := filepath.Join(path, file.Name())
    		results = append(results, NewFakeMetricsDu(fpath, f.fakeStats[fpath]))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:57:17 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/patches/patches.go

    	ignoredFiles := []string{}
    	patchSets := []*patchSet{}
    
    	// Check if targetPath is a directory.
    	info, err := os.Lstat(targetPath)
    	if err != nil {
    		goto return_path_error
    	}
    	if !info.IsDir() {
    		err = &os.PathError{
    			Op:   "getPatchSetsFromPath",
    			Path: info.Name(),
    			Err:  errors.New("not a directory"),
    		}
    		goto return_path_error
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/DefaultJvmMetadataDetectorTest.groovy

            File javaHome = new File(temporaryFolder, jdk).tap { mkdirs() }
            if (!jre) {
                def binDir = new File(javaHome, "bin")
                if (binDir.mkdir()) {
                    File javac = new File(binDir, OperatingSystem.current().getExecutableName('javac'))
                    javac << 'dummy'
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 18:25:34 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  10. src/os/file_unix.go

    	}
    }
    
    type unixDirent struct {
    	parent string
    	name   string
    	typ    FileMode
    	info   FileInfo
    }
    
    func (d *unixDirent) Name() string   { return d.name }
    func (d *unixDirent) IsDir() bool    { return d.typ.IsDir() }
    func (d *unixDirent) Type() FileMode { return d.typ }
    
    func (d *unixDirent) Info() (FileInfo, error) {
    	if d.info != nil {
    		return d.info, nil
    	}
    	return lstat(d.parent + "/" + d.name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top