type golang.org/x/pkgsite/internal.LatestModuleVersions
24 uses
golang.org/x/pkgsite/internal (current package)
latest.go#L18: type LatestModuleVersions struct {
latest.go#L28: func NewLatestModuleVersions(modulePath, raw, cooked, good string, modBytes []byte) (*LatestModuleVersions, error) {
latest.go#L35: return &LatestModuleVersions{
latest.go#L66: func (li *LatestModuleVersions) PopulateModuleInfo(mi *ModuleInfo) {
latest.go#L74: func (li *LatestModuleVersions) IsRetracted(version string) bool {
golang.org/x/pkgsite/internal/fetch
latest.go#L47: func LatestModuleVersions(ctx context.Context, modulePath string, prox *proxy.Client, hasGoMod func(v string) (bool, error)) (info *internal.LatestModuleVersions, err error) {
golang.org/x/pkgsite/internal/postgres
insert_module.go#L35: func (db *DB) InsertModule(ctx context.Context, m *internal.Module, lmv *internal.LatestModuleVersions) (isLatest bool, err error) {
insert_module.go#L75: func (db *DB) saveModule(ctx context.Context, m *internal.Module, lmv *internal.LatestModuleVersions) (isLatest bool, err error) {
test_helper.go#L218: var lmv *internal.LatestModuleVersions
test_helper.go#L231: func addLatest(ctx context.Context, t *testing.T, db *DB, modulePath, version, modFile string) *internal.LatestModuleVersions {
unit.go#L44: var lmv *internal.LatestModuleVersions
unit.go#L54: func (db *DB) getUnitMetaWithKnownLatestVersion(ctx context.Context, fullPath, modulePath, version string, lmv *internal.LatestModuleVersions) (_ *internal.UnitMeta, err error) {
unit.go#L144: modulePath, latestVersion string, lmv *internal.LatestModuleVersions, err error) {
version.go#L132: lmvs := map[string]*internal.LatestModuleVersions{}
version.go#L329: func (db *DB) getMultiLatestModuleVersions(ctx context.Context, modulePaths []string) (lmvs []*internal.LatestModuleVersions, err error) {
version.go#L368: func getLatestGoodVersion(ctx context.Context, tx *database.DB, modulePath string, lmv *internal.LatestModuleVersions) (_ string, err error) {
version.go#L408: func (db *DB) GetLatestModuleVersions(ctx context.Context, modulePath string) (_ *internal.LatestModuleVersions, err error) {
version.go#L413: func getLatestModuleVersions(ctx context.Context, db *database.DB, modulePath string) (_ *internal.LatestModuleVersions, id int, err error) {
version.go#L459: func (db *DB) UpdateLatestModuleVersions(ctx context.Context, vNew *internal.LatestModuleVersions) (_ *internal.LatestModuleVersions, err error) {
version.go#L462: var vResult *internal.LatestModuleVersions
version.go#L533: func upsertLatestModuleVersions(ctx context.Context, tx *database.DB, modulePath string, id int, lmv *internal.LatestModuleVersions, status int) (err error) {
golang.org/x/pkgsite/internal/worker
fetch.go#L166: func (f *Fetcher) fetchAndInsertModule(ctx context.Context, modulePath, requestedVersion string, lmv *internal.LatestModuleVersions) *fetchTask {
fetch.go#L416: func (f *Fetcher) FetchAndUpdateLatest(ctx context.Context, modulePath string) (_ *internal.LatestModuleVersions, err error) {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |