github

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultInfraDirs = []string{

	"deploy",

	"infra",

	".github/workflows",
}
View Source
var DefaultScanDirs = []string{

	"docs",

	".agents",
}
View Source
var DefaultTargetFiles = []string{}

Functions

This section is empty.

Types

type Scanner

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

func New

func New(client *github.Client, org string, scanInterval time.Duration, targetFilesOverride, scanDirs, infraDirs, extraRepos, repoTopics []string, repoRegex *regexp.Regexp, registry *parser.ParserRegistry) *Scanner

func (*Scanner) GetFileContent

func (s *Scanner) GetFileContent(ctx context.Context, repoName, path string) (string, error)

func (*Scanner) IsIndexed

func (s *Scanner) IsIndexed(repoName, path string) bool

func (*Scanner) ListRepos

func (s *Scanner) ListRepos() []corescan.RepoInfo

func (*Scanner) SearchDocs

func (s *Scanner) SearchDocs(query string) []corescan.FileEntry

func (*Scanner) SetOnScanComplete

func (s *Scanner) SetOnScanComplete(fn func([]corescan.RepoInfo))

func (*Scanner) Start

func (s *Scanner) Start(ctx context.Context)

func (*Scanner) Status

func (s *Scanner) Status() (scanning bool, lastScan time.Time, repoCount int)

func (*Scanner) TriggerRepoScan

func (s *Scanner) TriggerRepoScan(ctx context.Context, owner, repoName string)

func (*Scanner) TriggerScan

func (s *Scanner) TriggerScan() bool

Directories

Path Synopsis
mcp

Jump to

Keyboard shortcuts

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