Versions in this module Expand all Collapse all v0 v0.2.8 Aug 23, 2026 Changes in this version + func SpecsToSearchPatterns(fileSpecs FileSpecs) (searchPatterns []string) + func ToSearchPatterns(fileNames []string) (searchPatterns []string) + type File struct + Content []byte + End token.Position + LineRanges []LineRange + Lines []int + Name string + PkgFileName string + Pos token.Position + func ExtractFile(t *testing.T, srcs *sources.SourcesData, file string) *File + func LoadFiles(sources_data *sources.SourcesData, fileSpecs FileSpecs, selectAllFiles bool) ([]*File, error) + func (f *File) GetContent(start, end int) string + func (f *File) GetOffset(line, col int) int + func (f *File) GetPosition(offset int) token.Position + type FileSpecs map[string][]LineRange + func ProcessNameArguments(fileNames []string) (FileSpecs, error) + func ResolveFileNames(dir string, fileSpecs FileSpecs) (FileSpecs, error) + type LineRange struct + Context set.Set[int] + End int + Start int