javadb

package
v3.9.1-2867 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(cacheDir, javaDBRepository string, skip, quiet bool, registryOption ftypes.RegistryOptions)

func Update

func Update(ctx context.Context) error

Types

type DB

type DB struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(ctx context.Context) (*DB, error)

func (*DB) Close

func (d *DB) Close() error

func (*DB) Exists

func (d *DB) Exists(groupID, artifactID string) (bool, error)

func (*DB) SearchByArtifactID

func (d *DB) SearchByArtifactID(artifactID string) (string, error)

func (*DB) SearchByGAV

func (d *DB) SearchByGAV(groupID, artifactID, version string) (jar.Properties, error)

func (*DB) SearchBySHA1

func (d *DB) SearchBySHA1(sha1 string) (jar.Properties, error)

type Updater

type Updater struct {
	// contains filtered or unexported fields
}

func NewUpdater

func NewUpdater(
	cacheDir, javaDBRepository string,
	skip, quiet bool,
	registryOption ftypes.RegistryOptions,
) *Updater

func (*Updater) Update

func (u *Updater) Update(ctx context.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL