dep

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package dep defines the dependency detection map used by ctx sync.

Index

Constants

View Source
const (
	// TableColPackage is the column width for package names in table output.
	TableColPackage = 50
	// TableColImports is the column width for import lists in table output.
	TableColImports = 30
	// TableHeaderPackage is the column header for package names.
	TableHeaderPackage = "Package"
	// TableHeaderImports is the column header for import lists.
	TableHeaderImports = "Imports"
	// MermaidEdgeFormat is the Mermaid graph edge format string.
	MermaidEdgeFormat = "    %s[\"%s\"] --> %s[\"%s\"]\n"
)

Table formatting constants for dependency output.

Variables

View Source
var Packages = map[string]string{
	"package.json":     "Node.js dependencies",
	"go.mod":           "Go module dependencies",
	"Cargo.toml":       "Rust dependencies",
	"requirements.txt": "Python dependencies",
	"Gemfile":          "Ruby dependencies",
}

Packages is used by sync to detect projects and suggest dependency documentation.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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