Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 79 for kldload (0.15 sec)

  1. src/cmd/go/internal/clean/clean.go

    	// either the flags and arguments explicitly imply a package,
    	// or no other target (such as a cache) was requested to be cleaned.
    	cleanPkg := len(args) > 0 || cleanI || cleanR
    	if (!modload.Enabled() || modload.HasModRoot()) &&
    		!cleanCache && !cleanModcache && !cleanTestcache && !cleanFuzzcache {
    		cleanPkg = true
    	}
    
    	if cleanPkg {
    		for _, pkg := range load.PackagesAndErrors(ctx, load.PackageOpts{}, args) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/help.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package modload
    
    import "cmd/go/internal/base"
    
    var HelpModules = &base.Command{
    	UsageLine: "modules",
    	Short:     "modules, module versions, and more",
    	Long: `
    Modules are how Go manages dependencies.
    
    A module is a collection of packages that are released, versioned, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 30 17:07:46 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/query.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package modload
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"fmt"
    	"io/fs"
    	"os"
    	pathpkg "path"
    	"slices"
    	"sort"
    	"strings"
    	"sync"
    	"time"
    
    	"cmd/go/internal/cfg"
    	"cmd/go/internal/gover"
    	"cmd/go/internal/imports"
    	"cmd/go/internal/modfetch"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 22:29:11 UTC 2023
    - 44.7K bytes
    - Viewed (0)
  4. src/cmd/go/internal/generate/generate.go

    	"io"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"regexp"
    	"slices"
    	"strconv"
    	"strings"
    
    	"cmd/go/internal/base"
    	"cmd/go/internal/cfg"
    	"cmd/go/internal/load"
    	"cmd/go/internal/modload"
    	"cmd/go/internal/str"
    	"cmd/go/internal/work"
    )
    
    var CmdGenerate = &base.Command{
    	Run:       runGenerate,
    	UsageLine: "go generate [-run regexp] [-n] [-v] [-x] [build flags] [file.go... | packages]",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 19:39:24 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/init.go

    // Build initialization (after flag parsing).
    
    package work
    
    import (
    	"bytes"
    	"cmd/go/internal/base"
    	"cmd/go/internal/cfg"
    	"cmd/go/internal/fsys"
    	"cmd/go/internal/modload"
    	"cmd/internal/quoted"
    	"fmt"
    	"internal/platform"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"regexp"
    	"runtime"
    	"strconv"
    	"sync"
    )
    
    var buildInitStarted = false
    
    func BuildInit() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 19:13:34 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modload/mvs.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package modload
    
    import (
    	"context"
    	"errors"
    	"os"
    	"sort"
    
    	"cmd/go/internal/gover"
    	"cmd/go/internal/modfetch"
    	"cmd/go/internal/modfetch/codehost"
    
    	"golang.org/x/mod/module"
    )
    
    // cmpVersion implements the comparison for versions in the module loader.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:01:38 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/cfg/cfg.go

    	ExeSuffix = exeSuffix()
    
    	// ModulesEnabled specifies whether the go command is running
    	// in module-aware mode (as opposed to GOPATH mode).
    	// It is equal to modload.Enabled, but not all packages can import modload.
    	ModulesEnabled bool
    )
    
    func exeSuffix() string {
    	if Goos == "windows" {
    		return ".exe"
    	}
    	return ""
    }
    
    // Configuration for tools installed to GOROOT/bin.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modcmd/edit.go

    	"bytes"
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"os"
    	"strings"
    
    	"cmd/go/internal/base"
    	"cmd/go/internal/gover"
    	"cmd/go/internal/lockedfile"
    	"cmd/go/internal/modfetch"
    	"cmd/go/internal/modload"
    
    	"golang.org/x/mod/modfile"
    	"golang.org/x/mod/module"
    )
    
    var cmdEdit = &base.Command{
    	UsageLine: "go mod edit [editing flags] [-fmt|-print|-json] [go.mod]",
    	Short:     "edit go.mod from tools or scripts",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. src/cmd/doc/dirs.go

    type moduleJSON struct {
    	Path, Dir, GoVersion string
    }
    
    var modFlagRegexp = regexp.MustCompile(`-mod[ =](\w+)`)
    
    // vendorEnabled indicates if vendoring is enabled.
    // Inspired by setDefaultBuildMod in modload/init.go
    func vendorEnabled() (*moduleJSON, bool, error) {
    	mainMod, go114, err := getMainModuleAnd114()
    	if err != nil {
    		return nil, false, err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 17:49:12 UTC 2022
    - 9K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/list.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package modload
    
    import (
    	"bytes"
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"os"
    	"runtime"
    	"strings"
    
    	"cmd/go/internal/base"
    	"cmd/go/internal/cfg"
    	"cmd/go/internal/gover"
    	"cmd/go/internal/modfetch/codehost"
    	"cmd/go/internal/modinfo"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 22:43:50 UTC 2023
    - 8.8K bytes
    - Viewed (0)
Back to top