codefile

package
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReachabilityJava

type ReachabilityJava struct {
	// contains filtered or unexported fields
}

func NewJavaReachableDetector

func NewJavaReachableDetector() (*ReachabilityJava, error)

NewJavaReachableDetector creates a new JavaReachableDetector instance that once instantiated can be used to parse Java files. You should call Close() on the instance once you're finished parsing.

func (*ReachabilityJava) Close

func (r *ReachabilityJava) Close()

Close closes all hanging tree-sitter related resources. This should only be called once you're finished parsing all Java files.

func (*ReachabilityJava) Detect

func (r *ReachabilityJava) Detect(ctx context.Context, dir string, path string, detectionResults models.DetectionResults, advisoriesToCheck []models.AdvisoryToCheck) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL