Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine interface {
// NewTransaction returns a new transaction against the store.
// Indicate write if the transaction will not be read-only.
// Always call Discard() after you are done with the transaction.
// Check GetReadOnly, might not return a write tx if write=true.
// ctx is only used when constructing the transaction.
NewTransaction(ctx context.Context, write bool) (Tx, error)
}
Engine is the interface for a transactional Git engine.
type Storer ¶
type Storer interface {
// Storer is the go-git storage interface.
storage.Storer
// GetReadOnly returns if the state is read-only.
GetReadOnly() bool
}
Storer is the interface for storing Git repository data.
Click to show internal directories.
Click to hide internal directories.