Documentation
¶
Index ¶
- Variables
- type FileEntry
- type RepoInfo
- type Scanner
- func (s *Scanner) GetFileContent(ctx context.Context, repoName, path string) (string, error)
- func (s *Scanner) IsIndexed(repoName, path string) bool
- func (s *Scanner) ListRepos() []RepoInfo
- func (s *Scanner) SearchDocs(query string) []FileEntry
- func (s *Scanner) SetOnScanComplete(fn func([]RepoInfo))
- func (s *Scanner) Start(ctx context.Context)
- func (s *Scanner) Status() (scanning bool, lastScan time.Time, repoCount int)
- func (s *Scanner) TriggerRepoScan(ctx context.Context, owner, repoName string)
- func (s *Scanner) TriggerScan() bool
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 (*Scanner) GetFileContent ¶
func (*Scanner) SearchDocs ¶
func (*Scanner) SetOnScanComplete ¶
func (*Scanner) TriggerRepoScan ¶
func (*Scanner) TriggerScan ¶
Click to show internal directories.
Click to hide internal directories.