Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for srcDir (0.1 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

    # $2: absolute destination dir
    function copy-manifests {
      local -r src_dir="$1"
      local -r dst_dir="$2"
      if [[ ! -d "${dst_dir}" ]]; then
        mkdir -p "${dst_dir}"
      fi
      if [[ -n "$(ls "${src_dir}"/*.yaml 2>/dev/null)" ]]; then
        cp "${src_dir}/"*.yaml "${dst_dir}"
      fi
      if [[ -n "$(ls "${src_dir}"/*.json 2>/dev/null)" ]]; then
        cp "${src_dir}/"*.json "${dst_dir}"
      fi
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func CopySid(destSidLen uint32, destSid *SID, srcSid *SID) (err error) {
    	r1, _, e1 := syscall.Syscall(procCopySid.Addr(), 3, uintptr(destSidLen), uintptr(unsafe.Pointer(destSid)), uintptr(unsafe.Pointer(srcSid)))
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
Back to top