surveyor

package
v0.0.0-...-f61b284 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeSurveyor

type CodeSurveyor struct {
	Codebase *parser.Codebase
	Project  *parser.Project
	Files    scanner.Files
	// contains filtered or unexported fields
}

func NewCodeSurveyor

func NewCodeSurveyor(cb *parser.Codebase, p *parser.Project, dir string) *CodeSurveyor

func (*CodeSurveyor) LocalDir

func (cs *CodeSurveyor) LocalDir() string

func (*CodeSurveyor) ModuleGraph

func (cs *CodeSurveyor) ModuleGraph() *parser.ModuleGraph

func (*CodeSurveyor) ProjectName

func (cs *CodeSurveyor) ProjectName() string

func (*CodeSurveyor) Source

func (cs *CodeSurveyor) Source() string

func (*CodeSurveyor) Survey

func (cs *CodeSurveyor) Survey(ctx context.Context, files scanner.Files) (outFiles scanner.Files, err error)

func (*CodeSurveyor) SurveyChan

func (cs *CodeSurveyor) SurveyChan(ctx context.Context, filesChan chan scanner.File, facetChan chan collector.CodeFacet) (err error)

func (*CodeSurveyor) SurveyFile

func (cs *CodeSurveyor) SurveyFile(ctx context.Context, f scanner.File, group *errgroup.Group) (err error)

func (*CodeSurveyor) SurveyGoFile

func (cs *CodeSurveyor) SurveyGoFile(ctx context.Context, gf *parser.GoFile, group *errgroup.Group) (err error)

func (*CodeSurveyor) SurveyModFile

func (cs *CodeSurveyor) SurveyModFile(ctx context.Context, pmf *parser.ModFile) (err error)

func (*CodeSurveyor) VersionTag

func (cs *CodeSurveyor) VersionTag() string

type Project

type Project interface {
	RepoURL() string
}

Jump to

Keyboard shortcuts

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