mapped

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: Apache-2.0 Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func DiscoveryOff(open func(dir string) (vcs.Writer, error)) string

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

func Refuse(open func(dir string) (vcs.Writer, error)) error

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.

Jump to

Keyboard shortcuts

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