javadb

package
v0.47.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: Apache-2.0 Imports: 15 Imported by: 3

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() error

Types

type DB

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

func NewClient

func NewClient() (*DB, error)

func (*DB) Close added in v0.46.0

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) SearchBySHA1

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

type Updater

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

func (*Updater) Update

func (u *Updater) Update() error

Jump to

Keyboard shortcuts

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