bufwktstore

package
v1.47.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	// GetBucket gets a disk-backed WKT bucket.
	//
	// LocalPaths will be present on all files within the bucket.
	GetBucket(ctx context.Context) (storage.ReadBucket, error)
}

Store provides disk-backed WKT buckets.

func NewStore

func NewStore(
	logger *slog.Logger,
	bucket storage.ReadWriteBucket,
) Store

NewStore returns a new Store for the given cache bucket.

It is assumed that the Store has complete control of the bucket.

Jump to

Keyboard shortcuts

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