Documentation ¶ Index ¶ type Store func NewStore(logger *slog.Logger, bucket storage.ReadWriteBucket) Store 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. Source Files ¶ View all Source files bufwktstore.go store.go usage.gen.go Click to show internal directories. Click to hide internal directories.