Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTestFile ¶
IsTestFile reports whether the given C path is a test file.
func ResolveCIncludePath ¶
ResolveCIncludePath resolves a C include path to possible file paths.
func ResolveCProjectIncludes ¶
Types ¶
type Include ¶
type Include struct {
Path string
Kind IncludeKind
}
Include represents a C include directive.
func ParseCIncludes ¶
ParseCIncludes parses C source code and extracts includes.
type IncludeKind ¶
type IncludeKind int
IncludeKind distinguishes between system and local includes.
const ( IncludeLocal IncludeKind = iota IncludeSystem )
type Provider ¶ added in v0.27.0
type Provider struct{}
func (Provider) Extensions ¶ added in v0.27.0
func (Provider) IsTestFile ¶ added in v0.27.0
func (Provider) IsTestFile(filePath string, _ vcs.ContentReader) bool
func (Provider) Maturity ¶ added in v0.27.0
func (Provider) Maturity() moduleapi.MaturityLevel
func (Provider) NewResolver ¶ added in v0.27.0
Click to show internal directories.
Click to hide internal directories.