scanner

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scanner

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

Scanner handles recursive file scanning

func NewScanner

func NewScanner() *Scanner

NewScanner creates a new scanner with the specified number of workers

func (*Scanner) Scan

func (s *Scanner) Scan(rootPath string) *results.ScanResult

Scan recursively scans a single path for BARK comments. It is a convenience wrapper around ScanPaths.

func (*Scanner) ScanPaths

func (s *Scanner) ScanPaths(paths []string) *results.ScanResult

ScanPaths scans multiple paths (files or directories) for BARK comments. Files from all paths are collected and then processed concurrently in a single worker pool.

Jump to

Keyboard shortcuts

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