package
0.0.0-20240624235250-9e89dfb7520d
Repository: https://github.com/tailscale/pkgsitelib.git
Documentation: pkg.go.dev

# Functions

Contains reports whether the given import path could be part of the Go standard library, by reporting whether the first component lacks a '.'.
ContentDir creates an fs.FS representing the entire Go standard library at the given version (which must have been resolved with ZipInfo) and returns a reader to it.
Directory returns the directory of the standard library relative to the repo root.
MajorVersionForVersion returns the Go major version for version.
ResolveSupportedBranches returns the current hashes for each ref in SupportedBranches.
SetGoRepoPath tells this package to obtain the Go repo from the local filesystem at path, instead of cloning it.
TagForVersion returns the Go standard library repository tag corresponding to semver.
VersionForTag returns the semantic version for the Go tag, or "" if tag doesn't correspond to a Go release or beta tag.
VersionMatchesHash reports whether v is a pseudo-version whose hash part matches the prefix of the given hash.
Versions returns all the semantic versions of Go that are relevant to the discovery site.
WithTestData arranges for this package to use a testing version of the Go repo.
ZipInfo returns the proxy .info information for the module std.

# Constants

EstimatedZipSize is the approximate size of Zip("v1.15.2").
No description provided by the author
No description provided by the author
No description provided by the author
ModulePath is the name of the module for the standard library.

# Variables

SupportedBranches are the branches of the stdlib repo supported by pkgsite.
TestCommitTime is the time used for all commits when UseTestData is true.
TestCommitTime is the time used for all commits when UseTestData is true.