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.
Click to show internal directories.
Click to hide internal directories.