Documentation
¶
Overview ¶
Package app coordinates domain resolution and local infrastructure.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ResolvedProject ¶
type ResolvedProject struct {
Resolution resolver.ProjectResolution
ProjectID string
LocationID string
LocationPath string
CWD string
GitRoot string
}
ResolvedProject keeps central project resolution separate from capture adapters.
type Service ¶
func OpenReadOnly ¶ added in v0.2.0
OpenReadOnly opens an initialized local ledger without creating configuration or migrations.
func (*Service) ResolveCurrent ¶
func (*Service) ResolveProject ¶
func (s *Service) ResolveProject(ctx context.Context, explicitProject, adapterProject, cwd string) (ResolvedProject, error)
ResolveProject is the sole application boundary that turns user and capture signals into project attribution. Adapters cannot resolve projects themselves.
Click to show internal directories.
Click to hide internal directories.