pitfallop

package
v0.50.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0

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

type LeaseAcquirer func(context.Context, string) (*filesystem.Lease, func() error, error)

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.

func (Outcome) Document

func (o Outcome) Document() (presentation.Document, error)

Document returns the owner-produced creation report.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL