files

package
v0.0.0-...-5e76984 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrLineNotFound error = errors.New("line not found")

Functions

func GetIntervalsFromFile

func GetIntervalsFromFile(
	fileBytes []byte,
	ignoreMain bool,
) ([]interval.Interval, error)

func GetLineFromToken

func GetLineFromToken(
	lines []line,
	pos token.Pos,
) (int, error)

func ShouldSkipFile

func ShouldSkipFile(filename string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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