Discover Packages
github.com/Kaylebor/wirecmd
internal
discovery
package
Version:
v0.3.1
Opens a new window with list of versions in this module.
Published: Sep 15, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
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.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package discovery resolves trusted Wirecmd configuration sources.
List returns canonical trusted workspace roots in deterministic order.
Paths returns configuration paths from weakest to strongest for cwd.
Status returns the canonical path, whether it is covered, and the nearest trusted root.
Trust adds path to the trusted workspace roots and returns its canonical form.
Untrust removes path from the trusted workspace roots and returns its canonical form.
type NotFoundError struct{}
NotFoundError reports that neither global nor workspace configuration exists.
type UntrustedError struct{ Workspace string }
UntrustedError reports the nearest workspace configuration that requires trust.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.