Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 35 of 35 for pathpkg (0.2 sec)

  1. operator/pkg/tpath/tree.go

    		// must have map type, and try to find one which has a matching key:value.
    		for idx, le := range lst {
    			// non-leaf list, expect to match item by key:value.
    			if lm, ok := le.(map[any]any); ok {
    				k, v, err := util.PathKV(pe)
    				if err != nil {
    					return nil, false, fmt.Errorf("path %s: %s", fullPath, err)
    				}
    				if stringsEqual(lm[k], v) {
    					scope.Debugf("found matching kv %v:%v", k, v)
    					nn := &PathContext{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  2. src/cmd/covdata/metamerge.go

    func (mm *metaMerge) endPod(pcombine bool) {
    	if pcombine {
    		// Just clear out the pod data, we'll do all the
    		// heavy lifting at the end.
    		mm.pod = nil
    		return
    	}
    
    	finalHash := mm.pod.fileHash
    	if matchpkg != nil {
    		// Emit modified meta-data file for this pod.
    		finalHash = mm.emitMeta(*outdirflag, pcombine)
    	} else {
    		// Copy meta-data file for this pod to the output directory.
    		inpath := mm.pod.mdf
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 17:17:47 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modfetch/coderepo.go

    	// or an appropriate base for a pseudo-version.
    	var (
    		highestCanonical string
    		pseudoBase       string
    	)
    	for _, pathTag := range info.Tags {
    		v, tagIsCanonical := tagToVersion(pathTag)
    		if statVers != "" && semver.Compare(v, statVers) == 0 {
    			// The tag is equivalent to the version requested by the user.
    			if tagIsCanonical {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/mod/module/module.go

    func importPathOK(r rune) bool {
    	return modPathOK(r) || r == '+'
    }
    
    // fileNameOK reports whether r can appear in a file name.
    // For now we allow all Unicode letters but otherwise limit to pathOK plus a few more punctuation characters.
    // If we expand the set of allowed characters here, we have to
    // work harder at detecting potential case-folding and normalization collisions.
    // See note about "escaped paths" above.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 20:17:07 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  5. operator/pkg/translate/translate.go

    			break
    		}
    
    		if util.IsKVPathElement(pe) {
    			currentNode, ok := currentNode.([]any)
    			if !ok {
    				return nil, fmt.Errorf("path %s has an unexpected KV element %s", path, pe)
    			}
    			k, v, err := util.PathKV(pe)
    			if err != nil {
    				return nil, err
    			}
    			if k == "" || v == "" {
    				return nil, fmt.Errorf("path %s has an invalid KV element %s", path, pe)
    			}
    			currentNode[0] = map[string]any{k: v}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 19:43:09 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top