- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for IsToolchainProgram (0.67 sec)
-
src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/proginfo.go
package telemetry import ( "os" "path/filepath" "runtime/debug" "strings" "golang.org/x/mod/module" ) // IsToolchainProgram reports whether a program with the given path is a Go // toolchain program. func IsToolchainProgram(progPath string) bool { return strings.HasPrefix(progPath, "cmd/") } // ProgramInfo extracts the go version, program package path, and program
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:09:33 UTC 2024 - 1.5K bytes - Viewed (0)