Documentation
¶
Overview ¶
Package pitfallop owns the focused authored-pitfall creation operation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LeaseAcquirer ¶ added in v0.50.0
LeaseAcquirer is the narrow mechanism seam used by focused lease tests.
type Outcome ¶
type Outcome struct{ SourcePath string }
Outcome retains the authored path when it was created or already matched.
func Create ¶
func Create(ctx context.Context, root, title string, loader *project.Loader, acquire LeaseAcquirer) (outcome Outcome, returnErr error)
Create acquires the selected tracked lease before authority and destination planning and exclusively publishes one authored pitfall through a confined handle.
Click to show internal directories.
Click to hide internal directories.