Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 455 for fullpath (2 sec)

  1. src/cmd/go/internal/modindex/build.go

    //
    // Using filepath.IsAbs and filepath.Join here means the results will be
    // different on different systems, but that's OK: -I and -L options are
    // inherently system-dependent.
    func (ctxt *Context) makePathsAbsolute(args []string, srcDir string) {
    	nextPath := false
    	for i, arg := range args {
    		if nextPath {
    			if !filepath.IsAbs(arg) {
    				args[i] = filepath.Join(srcDir, arg)
    			}
    			nextPath = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/copycerts/copycerts.go

    		kubeadmconstants.CACertName:                   filepath.Join(certsDir, kubeadmconstants.CACertName),
    		kubeadmconstants.CAKeyName:                    filepath.Join(certsDir, kubeadmconstants.CAKeyName),
    		kubeadmconstants.FrontProxyCACertName:         filepath.Join(certsDir, kubeadmconstants.FrontProxyCACertName),
    		kubeadmconstants.FrontProxyCAKeyName:          filepath.Join(certsDir, kubeadmconstants.FrontProxyCAKeyName),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 01 00:15:30 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  3. cmd/import-boss/main.go

    	return ret
    }
    
    func hasPathPrefix(path, prefix string) bool {
    	if prefix == "" || path == prefix {
    		return true
    	}
    	path = filepath.Clean(path)
    	prefix = filepath.Clean(prefix)
    	if !strings.HasSuffix(path, string(filepath.Separator)) {
    		prefix += string(filepath.Separator)
    	}
    	return strings.HasPrefix(path, prefix)
    }
    
    func transitiveImports(pkg *packages.Package) ([]string, []string) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. operator/cmd/mesh/manifest-generate_test.go

    		}
    	}
    	return nil
    }
    
    func copyDir(src string, dest string) error {
    	return filepath.Walk(src, func(path string, info fs.FileInfo, err error) error {
    		if err != nil {
    			return err
    		}
    
    		if strings.Contains(path, "vendor/") {
    			return filepath.SkipDir
    		}
    
    		outpath := filepath.Join(dest, strings.TrimPrefix(path, src))
    
    		if info.IsDir() {
    			os.MkdirAll(outpath, info.Mode())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  5. misc/ios/go_ios_exec.go

    	// the package being tested and the source root.
    	pkgpath = ""
    	for _, element := range strings.Split(finalPkgpath, string(filepath.Separator)) {
    		if debug {
    			log.Printf("copying %s", pkgpath)
    		}
    		pkgpath = filepath.Join(pkgpath, element)
    		dst := filepath.Join(dstbase, pkgpath)
    		src := filepath.Join(cwd, pkgpath)
    		if err := copyLocalDir(dst, src); err != nil {
    			return "", err
    		}
    	}
    
    	if underGoRoot {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 23.4K bytes
    - Viewed (0)
  6. src/go/build/build_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if !strings.HasSuffix(filepath.ToSlash(p.Dir), "src/cmd/internal/objfile") {
    		t.Fatalf("Import cmd/internal/objfile returned Dir=%q, want %q", filepath.ToSlash(p.Dir), ".../src/cmd/internal/objfile")
    	}
    }
    
    var (
    	expandSrcDirPath = filepath.Join(string(filepath.Separator)+"projects", "src", "add")
    )
    
    var expandSrcDirTests = []struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

            if (StringUtil.isEmpty(uri)) {
                throw new CrawlerSystemException("The uri is empty.");
            }
    
            String filePath = uri;
            if (!filePath.startsWith("storage:")) {
                filePath = "storage://" + filePath;
            }
    
            return filePath;
        }
    
        public String getCharset() {
            return charset;
        }
    
        public void setCharset(final String charset) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. src/cmd/vet/vet_test.go

    			if pkg == "asm" {
    				cmd.Env = append(cmd.Env, "GOOS=linux", "GOARCH=amd64")
    			}
    
    			dir := filepath.Join("testdata", pkg)
    			gos, err := filepath.Glob(filepath.Join(dir, "*.go"))
    			if err != nil {
    				t.Fatal(err)
    			}
    			asms, err := filepath.Glob(filepath.Join(dir, "*.s"))
    			if err != nil {
    				t.Fatal(err)
    			}
    			var files []string
    			files = append(files, gos...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioMultiProjectIntegrationTest.groovy

            and:
            exeProject.projectConfigurations['debug'].includePath == filePath("src/main/headers", "../lib/src/main/public")
            helloDllProject.projectConfigurations['debug'].includePath == filePath("src/main/public", "src/main/headers", "../greet/src/main/public")
            greetLibProject.projectConfigurations['debug'].includePath == filePath("src/main/public", "src/main/headers")
        }
    
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/mod/zip/zip.go

    func listFilesInDir(dir string) (files []File, omitted []FileError, err error) {
    	err = filepath.Walk(dir, func(filePath string, info os.FileInfo, err error) error {
    		if err != nil {
    			return err
    		}
    		relPath, err := filepath.Rel(dir, filePath)
    		if err != nil {
    			return err
    		}
    		slashPath := filepath.ToSlash(relPath)
    
    		// Skip some subdirectories inside vendor, but maintain bug
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 31K bytes
    - Viewed (0)
Back to top