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.20.1
Published
Mar 5, 2025
Platform
js/wasm
Imports
2 packages
Last checked
9 seconds ago

Tools for package owners.