cloudflare/pint

Public

mirrored from https://github.com/cloudflare/pintAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v0.4.0

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

internal/discovery/noop.go

17lines · modecode

1package discovery
2
3type AlwaysPresentLines struct{}
4
5func (apl AlwaysPresentLines) Results() []Line {
6 return nil
7}
8
9func (apl AlwaysPresentLines) HasLines(lines []int) bool {
10 return true
11}
12
13type NoopLineFinder struct{}
14
15func (nlf NoopLineFinder) Find(string) (LineFindResults, error) {
16 return AlwaysPresentLines{}, nil
17}
18