Documentation
¶
Overview ¶
Package mapped says whether a repo already holds a Physa map, on its default branch or, with no default branch to be found, in its working tree, so that init refuses to start a second one and --gather alone starts no discovery agent on a mapped repo. It only reads.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiscoveryOff ¶
DiscoveryOff is why --gather alone starts no discovery agent, or empty to start one: the repo has a map, by the early refusal's check, or whether it has one could not be told.
func Refuse ¶
Refuse is the early refusal: it errors, before anything is spent, when the default branch already holds a map in either layout (mapfolder.Products), naming the file found. With no default branch to be found it checks the working tree instead, and leaves a missing default branch for --write to report.
Types ¶
This section is empty.