storj/scripts/cover-remove-generated.go

28 lines
391 B
Go
Raw Normal View History

2019-04-26 14:39:11 +01:00
// Copyright (C) 2019 Storj Labs, Inc.
// See LICENSE for copying information.
// +build ignore
package main
import (
"bufio"
"fmt"
"os"
"strings"
)
func main() {
scanner := bufio.NewScanner(os.Stdin)
for scanner.Scan() {
line := scanner.Text()
if strings.Contains(line, ".pb.") {
continue
}
if strings.Contains(line, ".dbx.") {
continue
}
fmt.Println(line)
}
}