Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for _rmdir (0.08 sec)

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

    	if str.HasFilePathPrefix(filepath.Clean(srcDir), filepath.Clean(parent)) {
    		return nil
    	}
    
    	// Look for symlinks before reporting error.
    	srcDir = expandPath(srcDir)
    	parent = expandPath(parent)
    	if str.HasFilePathPrefix(filepath.Clean(srcDir), filepath.Clean(parent)) {
    		return nil
    	}
    
    	// Vendor is present, and srcDir is outside parent's tree. Not allowed.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  2. cluster/gce/gci/configure-helper.sh

      fi
    }
    
    # Creates a symlink for a ($1) so that it may be used as block storage
    function safe-block-symlink(){
      local device="${1}"
      local symdir="${2}"
    
      mkdir -p "${symdir}"
    
      get-or-generate-uuid "${device}"
      local myuuid="${retuuid}"
    
      local sym="${symdir}/local-ssd-${myuuid}"
      # Do not "mkdir -p ${sym}" as that will cause unintended symlink behavior
      ln -s "${device}" "${sym}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
Back to top