Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeAndDedupePatterns ¶
MergeAndDedupePatterns combines and deduplicates patterns
func ParseGitIgnore ¶
ParseGitIgnore reads .gitignore file and returns patterns
Types ¶
type FileTypeInfo ¶ added in v0.2.6
type FileTypeInfo struct {
Type string // Primary type (e.g., source, config, doc)
Category string // Specific category (e.g., go-source, yaml-config)
IsTest bool // Whether it's a test file
IsEntryPoint bool // Whether it's an entry point
Size int64 // File size in bytes
}
FileTypeInfo contains detailed information about a file's type and category
func GetFileType ¶
func GetFileType(path string, f *Filter) FileTypeInfo
GetFileType determines detailed type information for a file
type Filter ¶
type Filter struct {
// contains filtered or unexported fields
}
func (*Filter) IsExcluded ¶
IsExcluded checks if a path is explicitly excluded
func (*Filter) ShouldProcess ¶
ShouldProcess determines if a path should be processed
Click to show internal directories.
Click to hide internal directories.