Documentation
¶
Overview ¶
Package effortop coordinates resolved effort use cases over effort residents and managed worktrees.
Index ¶
- func AcquireMutationLease(ctx context.Context, root, subcommand string) (*filesystem.Lease, error)
- func AddWorktree(ctx context.Context, manager *worktree.Manager, slug, base string) (presentation.Document, error)
- func Finish(ctx context.Context, service *effort.Service, slug string) (presentation.Document, error)
- func Integrate(ctx context.Context, root string, manager *worktree.Manager, slug string) (presentation.Document, error)
- func List(service *effort.Service) (presentation.Document, error)
- func New(ctx context.Context, service *effort.Service, manager *worktree.Manager, ...) (presentation.Document, error)
- func RemoveWorktree(ctx context.Context, manager *worktree.Manager, slug string) (presentation.Document, error)
- func Show(service *effort.Service, slug string) (presentation.Document, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcquireMutationLease ¶ added in v0.41.0
AcquireMutationLease is the sole effort application-composition policy for resident and dual-root mutation transactions. Command code supplies only the parsed operation shape and holds the returned capability through rendering.
func AddWorktree ¶
func AddWorktree(ctx context.Context, manager *worktree.Manager, slug, base string) (presentation.Document, error)
AddWorktree adds the managed worktree for an effort.
func Finish ¶
func Finish(ctx context.Context, service *effort.Service, slug string) (presentation.Document, error)
Finish finishes an effort resident and returns its readable mutation result.
func Integrate ¶
func Integrate(ctx context.Context, root string, manager *worktree.Manager, slug string) (presentation.Document, error)
Integrate verifies and fast-forwards an effort branch into its base branch.
func List ¶
func List(service *effort.Service) (presentation.Document, error)
List returns the readable active-effort listing.
func New ¶
func New(ctx context.Context, service *effort.Service, manager *worktree.Manager, input effort.NewInput, base string) (presentation.Document, error)
New creates an effort resident and its managed worktree.
func RemoveWorktree ¶
func RemoveWorktree(ctx context.Context, manager *worktree.Manager, slug string) (presentation.Document, error)
RemoveWorktree removes the managed worktree for an effort.
Types ¶
This section is empty.