- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ProgramInfo (0.16 sec)
-
src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/proginfo.go
) // 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 // version to use for counter files. // // For programs in the Go toolchain, the program version will be the same as
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:09:33 UTC 2024 - 1.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go
f.err = ErrDisabled return } dir := telemetry.Default.LocalDir() if err := os.MkdirAll(dir, 0777); err != nil { f.err = err return } goVers, progPath, progVers := telemetry.ProgramInfo(info) f.meta = fmt.Sprintf("TimeBegin: %s\nTimeEnd: %s\nProgram: %s\nVersion: %s\nGoVersion: %s\nGOOS: %s\nGOARCH: %s\n\n", begin.Format(time.RFC3339), end.Format(time.RFC3339),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 18.2K bytes - Viewed (0)