ProjectScanner

Reads dependency and platform facts from the manifests and lockfiles of one project directory, and the imports and call-site signals of its source files (listed with find). Nothing touches the network; a file that is absent or does not parse adds no attributes. Keys are project.<ecosystem>.<name>.

Properties

Link copied to clipboard
const val MAX_IMPORTS: Int = 500

Most imported names one language adds; rule-named names come first, then by name.

Link copied to clipboard
const val MAX_PACKAGES: Int = 200

Most package keys one ecosystem adds; rule-named and direct packages come first.

Functions

Link copied to clipboard
fun scan(host: Host, dir: String = ""): List<Attribute>

dir is where the project files are; empty means the working directory.