Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for vgo (0.03 sec)

  1. src/cmd/go/testdata/savedir.go

    	"io/fs"
    	"log"
    	"os"
    	"path/filepath"
    	"strings"
    	"unicode/utf8"
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go run savedir.go dir >saved.txt\n")
    	os.Exit(2)
    }
    
    const goCmd = "vgo"
    
    func main() {
    	flag.Usage = usage
    	flag.Parse()
    	if flag.NArg() != 1 {
    		usage()
    	}
    
    	log.SetPrefix("savedir: ")
    	log.SetFlags(0)
    
    	dir := flag.Arg(0)
    
    	a := new(txtar.Archive)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 30 19:41:54 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/mod/README

    have been replaced with underscores. The archive must contain
    two files ".info" and ".mod", to be served as the info and mod files
    in the proxy protocol (see https://research.swtch.com/vgo-module).
    The remaining files are served as the content of the module zip file.
    The path@vers prefix required of files in the zip file is added
    automatically by the proxy: the files in the archive have names without
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 12 20:46:50 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  3. src/cmd/go/internal/mvs/mvs.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package mvs implements Minimal Version Selection.
    // See https://research.swtch.com/vgo-mvs.
    package mvs
    
    import (
    	"fmt"
    	"slices"
    	"sort"
    	"sync"
    
    	"cmd/go/internal/par"
    
    	"golang.org/x/mod/module"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 21:58:12 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/mvs/mvs_test.go

    name: down2
    A: B2 E2
    B1:
    B2: C2 F2
    C1:
    D1:
    C2: D2 E2
    D2: B2
    E2: D2
    E1:
    F1:
    build A:        A B2 C2 D2 E2 F2
    downgrade A F1: A B1 C1 D1 E1 F1
    
    # https://research.swtch.com/vgo-mvs#algorithm_4:
    # “[D]owngrades are constrained to only downgrade packages, not also upgrade
    # them; if an upgrade before downgrade is needed, the user must ask for it
    # explicitly.”
    #
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:01:26 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/vendor.go

    				}
    			}
    			if !foundRequire {
    				article := ""
    				if inWorkspaceMode() {
    					article = "a "
    				}
    				vendErrorf(mod, "is marked as explicit in vendor/modules.txt, but not explicitly required in %vgo.mod", article)
    			}
    
    		}
    	}
    
    	for _, mod := range vendorReplaced {
    		r := Replacement(mod)
    		replacementSource := "go.mod"
    		if inWorkspaceMode() {
    			replacementSource = "the workspace"
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 24 18:09:22 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  6. src/cmd/go/proxy_test.go

    	sumdbWrongServer = sumdb.NewServer(sumdbWrongOps)
    )
    
    // proxyHandler serves the Go module proxy protocol.
    // See the proxy section of https://research.swtch.com/vgo-module.
    func proxyHandler(w http.ResponseWriter, r *http.Request) {
    	if !strings.HasPrefix(r.URL.Path, "/mod/") {
    		http.NotFound(w, r)
    		return
    	}
    	path := r.URL.Path[len("/mod/"):]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 03 09:56:24 UTC 2023
    - 12K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modfetch/cache.go

    		// commits would use the previous name instead of the new one.
    		//
    		// That's especially problematic if the original pseudo-version starts with
    		// v0.0.0-, as was the case for all pseudo-versions during vgo development,
    		// since a v0.0.0- pseudo-version has lower precedence than pretty much any
    		// tagged version.
    		//
    		// In practice, we're only looking up by hash during initial conversion of a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modload/init.go

    	}
    }
    
    // fixVersion returns a modfile.VersionFixer implemented using the Query function.
    //
    // It resolves commit hashes and branch names to versions,
    // canonicalizes versions that appeared in early vgo drafts,
    // and does nothing for versions that already appear to be canonical.
    //
    // The VersionFixer sets 'fixed' if it ever returns a non-canonical version.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
Back to top