Documentation
¶
Overview ¶
Package workspaceindex provides shared deterministic workspace scanning primitives for repo intelligence, tools, and context accounting.
Index ¶
- Constants
- func FileDepth(rel string) int
- func HandleWalkError(cleanRoot string, current string, entry fs.DirEntry, walkErr error, ...) (bool, error)
- func ImportantPriority(file string) (int, bool)
- func IsImportantPath(file string) bool
- func LanguageForPath(file string) string
- func LooksBinaryPath(file string) bool
- func MaxFileDepth(files []File) int
- func PathDepth(rel string) int
- func ShouldSkipDir(name string) bool
- func ShouldSkipFile(rel string) bool
- func SortFiles(files []File)
- type File
- type Options
- type Summary
Constants ¶
View Source
const ( DefaultMaxFiles = 2000 DefaultMaxDepth = 6 )
Variables ¶
This section is empty.
Functions ¶
func HandleWalkError ¶
func ImportantPriority ¶
func IsImportantPath ¶
func LanguageForPath ¶
func LooksBinaryPath ¶
func MaxFileDepth ¶
func ShouldSkipDir ¶
func ShouldSkipFile ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.