Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Disable ¶
func Disable() error
Disable removes shim symlinks and the PATH entry from shell profiles.
func Enable ¶
func Enable() error
Enable writes shim symlinks for all managers and patches shell profiles.
func EnsureShims ¶
func EnsureShims() error
EnsureShims rewrites shims to point at the current executable. Called automatically during `devscan update` to keep shims current.
func IsShimName ¶
IsShimName reports whether name matches a binary managed by any known manager.
func PrintBlocked ¶
func PrintBlocked(manager string, pkgs []BlockedPackage)
PrintBlocked writes a high-visibility blocked-install warning to stderr. It is intentionally loud — it must stand out from surrounding npm/pip output.
Types ¶
type BlockedPackage ¶
BlockedPackage holds one match to display in the blocked output.
type ShimStatus ¶
Click to show internal directories.
Click to hide internal directories.