Skip to content

make filewatcher support path

Codecov / codecov/patch succeeded Oct 20, 2024 in 1s

59.49% of diff hit (within 5.00% threshold of 60.00%)

View this Pull Request on Codecov

59.49% of diff hit (within 5.00% threshold of 60.00%)

Annotations

Check warning on line 255 in internal/filewatcher/worker.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/filewatcher/worker.go#L254-L255

Added lines #L254 - L255 were not covered by tests

Check warning on line 37 in internal/provider/file/file.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/provider/file/file.go#L35-L37

Added lines #L35 - L37 were not covered by tests

Check warning on line 41 in internal/provider/file/file.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/provider/file/file.go#L41

Added line #L41 was not covered by tests

Check warning on line 43 in internal/provider/file/file.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/provider/file/file.go#L43

Added line #L43 was not covered by tests

Check warning on line 55 in internal/provider/file/file.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/provider/file/file.go#L53-L55

Added lines #L53 - L55 were not covered by tests

Check warning on line 60 in internal/provider/file/file.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/provider/file/file.go#L60

Added line #L60 was not covered by tests

Check warning on line 62 in internal/provider/file/file.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/provider/file/file.go#L62

Added line #L62 was not covered by tests

Check warning on line 77 in internal/provider/file/file.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/provider/file/file.go#L67-L77

Added lines #L67 - L77 were not covered by tests

Check warning on line 86 in internal/provider/file/file.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/provider/file/file.go#L85-L86

Added lines #L85 - L86 were not covered by tests

Check warning on line 96 in internal/provider/file/file.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/provider/file/file.go#L94-L96

Added lines #L94 - L96 were not covered by tests

Check warning on line 38 in internal/utils/path/path.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/utils/path/path.go#L37-L38

Added lines #L37 - L38 were not covered by tests