Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for filedata (0.12 sec)

  1. configure.py

        return
      for filepath in APPLE_BAZEL_FILES:
        existing_filepath = os.path.join(_TF_WORKSPACE_ROOT, filepath + '.apple')
        renamed_filepath = os.path.join(_TF_WORKSPACE_ROOT, filepath)
        symlink_force(existing_filepath, renamed_filepath)
      for filepath in IOS_FILES:
        filename = os.path.basename(filepath)
        new_filepath = os.path.join(_TF_WORKSPACE_ROOT, filename)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    		return errFileNotFound
    	}
    
    	// Validate file path length, before reading.
    	filePath := pathJoin(volumeDir, path)
    	if err = checkPathLength(filePath); err != nil {
    		return err
    	}
    
    	srcFilePath := pathJoin(filePath, xlStorageFormatFileV1)
    	dstFilePath := pathJoin(filePath, xlStorageFormatFile)
    
    	// Renaming xl.json to xl.meta should be fully synced to disk.
    	defer func() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/init.go

    func loadWorkFile(path string) (workFile *modfile.WorkFile, modRoots []string, err error) {
    	workDir := filepath.Dir(path)
    	wf, err := ReadWorkFile(path)
    	if err != nil {
    		return nil, nil, err
    	}
    	seen := map[string]bool{}
    	for _, d := range wf.Use {
    		modRoot := d.Path
    		if !filepath.IsAbs(modRoot) {
    			modRoot = filepath.Join(workDir, modRoot)
    		}
    
    		if seen[modRoot] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  4. src/go/build/build.go

    func hasSubdir(root, dir string) (rel string, ok bool) {
    	const sep = string(filepath.Separator)
    	root = filepath.Clean(root)
    	if !strings.HasSuffix(root, sep) {
    		root += sep
    	}
    	dir = filepath.Clean(dir)
    	after, found := strings.CutPrefix(dir, root)
    	if !found {
    		return "", false
    	}
    	return filepath.ToSlash(after), true
    }
    
    // readDir calls ctxt.ReadDir (if not nil) or else os.ReadDir.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  5. src/os/os_test.go

    	relOutsideFile, err := filepath.Rel(filepath.Join(linkOutDir, "."), outsideFile)
    	if err != nil {
    		t.Fatalf("filepath.Rel: %v", err)
    	}
    	relOutLinkFile := filepath.Join(linkOutDir, "file.rel.out.link")
    	if err := Symlink(relOutsideFile, relOutLinkFile); err != nil {
    		t.Fatalf("Symlink: %v", err)
    	}
    
    	// Last, we create the relative symlink pointing inside.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  6. src/cmd/go/go_test.go

    	for _, pkg := range pkgs {
    		dirs = append(dirs, filepath.Join("src", pkg))
    	}
    	dirs = append(dirs,
    		filepath.Join("pkg/tool", goHostOS+"_"+goHostArch),
    		"pkg/include",
    	)
    	for _, copydir := range dirs {
    		srcdir := filepath.Join(testGOROOT, copydir)
    		tg.tempDir(filepath.Join("goroot", copydir))
    		err := filepath.WalkDir(srcdir,
    			func(path string, info fs.DirEntry, err error) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  7. pkg/volume/csi/csi_attacher_test.go

    				if err != nil {
    					t.Fatalf("failed to attach: %v", err)
    				}
    			}
    
    			parent := filepath.Dir(tc.deviceMountPath)
    			filePath := filepath.Join(parent, "newfile")
    			if tc.populateDeviceMountPath {
    				// We need to create the deviceMountPath before we Mount,
    				// so that we can correctly create the file without errors.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  8. src/cmd/dist/build.go

    	// suffice here, but that requires deviating from the infrastructure
    	// provided by `run`.
    	gitDir := chomp(run(goroot, 0, "git", "rev-parse", "--git-dir"))
    	if !filepath.IsAbs(gitDir) {
    		gitDir = filepath.Join(goroot, gitDir)
    	}
    	return isdir(gitDir)
    }
    
    /*
     * Initial tree setup.
     */
    
    // The old tools that no longer live in $GOBIN or $GOROOT/bin.
    var oldtool = []string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/lib.go

    		if dep == "" {
    			continue
    		}
    		if !filepath.IsAbs(dep) {
    			// If the dep can be interpreted as a path relative to the shlib
    			// in which it was found, do that. Otherwise, we will leave it
    			// to be resolved by libdir lookup.
    			abs := filepath.Join(filepath.Dir(libpath), dep)
    			if _, err := os.Stat(abs); err == nil {
    				dep = abs
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/load.go

    		// module. Verify that before we walk the filesystem: a filesystem
    		// walk in a directory like /var or /etc can be very expensive!
    		dir := filepath.Dir(filepath.Clean(m.Pattern()[:i+3]))
    		absDir := dir
    		if !filepath.IsAbs(dir) {
    			absDir = filepath.Join(base.Cwd(), dir)
    		}
    
    		modRoot := findModuleRoot(absDir)
    		found := false
    		for _, mainModuleRoot := range modRoots {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
Back to top