Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(reg *execution.ActionRegistry)
Register registers all git actions with the given registry.
Types ¶
type Checkout ¶
type Checkout struct{ Impl *Provider }
Checkout — Checkout checks out a ref in the given repository directory.
type Clone ¶
type Clone struct{ Impl *Provider }
Clone — Clone clones a repository from url into path. Returns compensation state with the cloned path.
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider provides git actions.
Compensable Forward methods return (map[string]any, error). The map is the compensation receipt — opaque to the executor, meaningful only to the corresponding Compensate* Backward method.
func (*Provider) Clone ¶
Clone clones a repository from url into path. Returns compensation state with the cloned path.
func (*Provider) CompensateClone ¶
CompensateClone removes the cloned directory.
Click to show internal directories.
Click to hide internal directories.