Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
File represents a discovered source file.
type Options ¶ added in v0.2.0
type Options struct {
// Extensions is the set of file extensions (with leading dot) to collect,
// e.g. [".go", ".ts", ".tsx"]. It comes from the registered language
// processors; files with other extensions are skipped.
Extensions []string
// IncludeTests keeps test files (e.g. _test.go, *.test.ts, __tests__/) that
// are skipped by default.
IncludeTests bool
}
Options controls which files a scan collects.
Click to show internal directories.
Click to hide internal directories.