package db

import "github.com/moby/buildkit/util/db"

Index

Types

type DB

type DB interface {
	io.Closer
	Transactor
}

type Transactor

type Transactor interface {
	View(fn func(*bolt.Tx) error) error
	Update(fn func(*bolt.Tx) error) error
}

Transactor is the database interface for running transactions

Source Files

db.go transactor.go

Directories

PathSynopsis
util/db/boltutil
Version
v0.18.2
Published
Dec 16, 2024
Platform
js/wasm
Imports
2 packages
Last checked
13 seconds ago

Tools for package owners.