Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 72 for rootKey (0.27 sec)

  1. src/cmd/go/alldocs.go

    // # Initialize new module in current directory
    //
    // Usage:
    //
    //	go mod init [module-path]
    //
    // Init initializes and writes a new go.mod file in the current directory, in
    // effect creating a new module rooted at the current directory. The go.mod file
    // must not already exist.
    //
    // Init accepts one optional argument, the module path for the new module. If the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/modfile.go

    	exclude      map[module.Version]bool
    }
    
    type requireMeta struct {
    	indirect bool
    }
    
    // A modPruning indicates whether transitive dependencies of Go 1.17 dependencies
    // are pruned out of the module subgraph rooted at a given module.
    // (See https://golang.org/ref/mod#graph-pruning.)
    type modPruning uint8
    
    const (
    	pruned    modPruning = iota // transitive dependencies of modules at go 1.17 and higher are pruned out
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 17:53:40 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/mod/zip/zip.go

    	} else {
    		cc[fold] = pathInfo{path: p, isDir: isDir}
    	}
    
    	if parent := path.Dir(p); parent != "." {
    		return cc.check(parent, true)
    	}
    	return nil
    }
    
    // listFilesInDir walks the directory tree rooted at dir and returns a list of
    // files, as well as a list of directories and files that were skipped (for
    // example, nested modules and symbolic links).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 31K bytes
    - Viewed (0)
  4. src/os/file.go

    	if err := f.checkValid("SyscallConn"); err != nil {
    		return nil, err
    	}
    	return newRawConn(f)
    }
    
    // DirFS returns a file system (an fs.FS) for the tree of files rooted at the directory dir.
    //
    // Note that DirFS("/prefix") only guarantees that the Open calls it makes to the
    // operating system will begin with "/prefix": DirFS("/prefix").Open("file") is the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/MoreFiles.java

       *     guaranteed for the file system and {@link RecursiveDeleteOption#ALLOW_INSECURE} was not
       *     specified
       * @throws IOException if {@code path} or any file in the subtree rooted at it can't be deleted
       *     for any reason
       */
      public static void deleteRecursively(Path path, RecursiveDeleteOption... options)
          throws IOException {
        Path parentPath = getParentPath(path);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modget/get.go

    					modRoots = append(modRoots, modload.MainModules.ModRoot(m))
    				}
    				var plural string
    				if len(modRoots) != 1 {
    					plural = "s"
    				}
    				return errSet(fmt.Errorf("%s%s is not within module%s rooted at %s", q.pattern, absDetail, plural, strings.Join(modRoots, ", ")))
    			}
    
    			match := modload.MatchInModule(ctx, pkgPattern, mainModule, imports.AnyTags())
    			if len(match.Errs) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modfetch/coderepo.go

    	//	pathPrefix = gopkg.in/yaml
    	//	pathMajor = .v2
    	//	pseudoMajor = v2
    	//
    	codeDir := ""
    	if codeRoot != path {
    		if !hasPathPrefix(pathPrefix, codeRoot) {
    			return nil, fmt.Errorf("repository rooted at %s cannot contain module %s", codeRoot, path)
    		}
    		codeDir = strings.Trim(pathPrefix[len(codeRoot):], "/")
    	}
    
    	r := &codeRepo{
    		modPath:     path,
    		code:        code,
    		codeRoot:    codeRoot,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  8. src/cmd/go/internal/load/pkg.go

    	// golang.org/s/go14internal:
    	// An import of a path containing the element “internal”
    	// is disallowed if the importing code is outside the tree
    	// rooted at the parent of the “internal” directory.
    
    	// There was an error loading the package; stop here.
    	if p.Error != nil {
    		return nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  9. src/cmd/cgo/doc.go

    to Go.
    
    # Special cases
    
    A few special C types which would normally be represented by a pointer
    type in Go are instead represented by a uintptr. Those include:
    
    1. The *Ref types on Darwin, rooted at CoreFoundation's CFTypeRef type.
    
    2. The object types from Java's JNI interface:
    
    	jobject
    	jclass
    	jthrowable
    	jstring
    	jarray
    	jbooleanArray
    	jbyteArray
    	jcharArray
    	jshortArray
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/exec.go

    	"cmd/go/internal/str"
    	"cmd/go/internal/trace"
    	"cmd/internal/buildid"
    	"cmd/internal/quoted"
    	"cmd/internal/sys"
    )
    
    const DefaultCFlags = "-O2 -g"
    
    // actionList returns the list of actions in the dag rooted at root
    // as visited in a depth-first post-order traversal.
    func actionList(root *Action) []*Action {
    	seen := map[*Action]bool{}
    	all := []*Action{}
    	var walk func(*Action)
    	walk = func(a *Action) {
    		if seen[a] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
Back to top