Documentation
¶
Overview ¶
Package detect walks a project tree and returns the source files worth graphing. It skips dependency/build/cache directories, generated lock files, and anything that looks like it holds secrets (mirrors the Python original's detect.py skip lists and sensitive-file heuristics).
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedExtensions = map[string]bool{ ".go": true, ".js": true, ".jsx": true, ".mjs": true, ".cjs": true, ".ts": true, ".tsx": true, ".tf": true, ".tfvars": true, ".hcl": true, ".py": true, ".rs": true, }
SupportedExtensions are the file suffixes this port can extract.
Functions ¶
func CollectFiles ¶
CollectFiles returns the supported source files under root, relative to root, in sorted order for deterministic output.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.