Documentation
¶
Overview ¶
Package executionstate admits worktree execution only after both the lease and resources retained after an interrupted execution have been checked.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Acquire ¶
func Acquire(worktree string, owner execution.Owner, opts ...execution.Option) (*execution.Lease, error)
Acquire reserves the worktree before inspecting resources left by interrupted execution. Refusal leaves the previous execution snapshots intact and removes the rejected contender's new ownership record.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.