qiniu / logkit

@@ -4,13 +4,13 @@
Loading
4 4
	"errors"
5 5
	"fmt"
6 6
	"os"
7 -
	"path/filepath"
8 7
	"regexp"
9 8
	"strings"
10 9
	"sync"
11 10
	"sync/atomic"
12 11
	"time"
13 12
13 +
	"github.com/bmatcuk/doublestar"
14 14
	"github.com/json-iterator/go"
15 15
16 16
	"github.com/qiniu/log"
@@ -224,7 +224,7 @@
Loading
224 224
		return
225 225
	}
226 226
227 -
	matches, err := filepath.Glob(r.logPathPattern)
227 +
	matches, err := doublestar.Glob(r.logPathPattern)
228 228
	if err != nil {
229 229
		errMsg := fmt.Sprintf("Runner[%v] stat log path failed: %v", r.meta.RunnerName, err)
230 230
		log.Error(errMsg)
@@ -239,7 +239,7 @@
Loading
239 239
240 240
	var unmatchMap = make(map[string]bool)
241 241
	if r.ignoreLogPathPattern != "" {
242 -
		unmatches, err := filepath.Glob(r.ignoreLogPathPattern)
242 +
		unmatches, err := doublestar.Glob(r.ignoreLogPathPattern)
243 243
		if err != nil {
244 244
			log.Errorf("Runner[%v] stat ignoreLogPathPattern error %v", r.meta.RunnerName, err)
245 245
			r.setStatsError("Runner[" + r.meta.RunnerName + "] stat ignoreLogPathPattern error " + err.Error())
Files Coverage
conf 97.67%
mgr 66.22%
parser 87.12%
queue 74.13%
rateio 95.74%
reader 47.74%
router 54.13%
samples 100.00%
sender 45.15%
transforms 55.67%
utils 58.88%
audit/audit.go 73.63%
cleaner/cleaner.go 58.82%
cli/upgrade.go 47.56%
logkit.go 35.20%
self/logrunner.go 53.88%
times/times.go 91.30%
Project Totals (139 files) 56.98%
3968.1
TRAVIS_OS_NAME=linux
1.12.9=.12.9

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading