• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

go-pkgz / fileutils
72%
master: 72%

Build:
Build:
LAST BUILD BRANCH: fix/example-watch-and-api-coverage
DEFAULT BRANCH: master
Repo Added 31 Jul 2020 07:53AM UTC
Files 2
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix/example-watch-and-api-coverage
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • chore/ci-lift
  • chore/update-deps
  • fix-ci-caching
  • fix/copyfile-self-copy-and-mode
  • fix/example-watch-and-api-coverage
  • fix/exists-stat-error-and-test-determinism
  • fix/watcher-test-sync
  • improvements
  • master
  • paskal/shadow
  • rbac
  • refs/tags/v0.1.0
  • refs/tags/v0.2.0
  • refs/tags/v0.3.0
  • refs/tags/v0.4.1
  • refs/tags/v0.4.2
  • review-sweep/fileutils-operability-fix-v1

20 Aug 2026 10:11AM UTC coverage: 72.353%. Remained the same
32357672965

Pull #13

github

paskal
cover the whole API in the example and let it observe an event

the example set both watchers up, printed a line and returned, so the deferred
Close calls fired before anything could be reported and a reader copying it got a
programme that never watches. it now makes a change and waits for the event, with
a bounded timeout so a slow filesystem cannot hang it, and reports what Close
returns instead of discarding it.

MoveFile, IsFile, IsDir, TouchFile, TempFileName and the MD5 algorithm lost their
only usage when the README snippets were replaced. they are back, in the one
programme that is compiled and run by the tests.
Pull Request #13: cover the whole API in the example and let it observe an event

246 of 340 relevant lines covered (72.35%)

4.4 hits per line

Relevant lines Covered
Build:
Build:
340 RELEVANT LINES 246 COVERED LINES
4.4 HITS PER LINE
Source Files on master
  • Tree
  • List 2
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
32357672965 fix/example-watch-and-api-coverage cover the whole API in the example and let it observe an event the example set both watchers up, printed a line and returned, so the deferred Close calls fired before anything could be reported and a reader copying it got a programme that never w... Pull #13 20 Aug 2026 10:11AM UTC paskal github
72.35
32351672541 master replace usage snippets with one compile-tested example The README carried several disconnected snippets that were never built, so they could drift from the API without anything noticing. They are replaced by a single programme, tracked as example... push 20 Aug 2026 09:00AM UTC umputun github
72.35
32350289837 review-sweep/fileutils-operability-fix-v1 replace usage snippets with one compile-tested example The README carried several disconnected snippets that were never built, so they could drift from the API without anything noticing. They are replaced by a single programme, tracked as example... Pull #12 20 Aug 2026 08:44AM UTC paskal github
72.35
32227255788 refs/tags/v0.4.2 fix IsFile and IsDir panicking on a stat error other than not-exist (#11) exists guarded only os.IsNotExist, so any other stat failure fell through to info.IsDir() with info nil. A path under a directory the process cannot read, or a path the OS ... push 19 Aug 2026 07:19AM UTC web-flow github
72.35
32221532972 master fix IsFile and IsDir panicking on a stat error other than not-exist (#11) exists guarded only os.IsNotExist, so any other stat failure fell through to info.IsDir() with info nil. A path under a directory the process cannot read, or a path the OS ... push 19 Aug 2026 05:59AM UTC web-flow github
72.35
32220826345 fix/exists-stat-error-and-test-determinism fix IsFile and IsDir panicking on a stat error other than not-exist exists guarded only os.IsNotExist, so any other stat failure fell through to info.IsDir() with info nil. A path under a directory the process cannot read, or a path the OS reject... Pull #11 19 Aug 2026 05:48AM UTC paskal github
72.35
32208358164 refs/tags/v0.4.1 lift CI actions and linter to the versions used across go-pkgz (#9) Brings the workflow in line with go-pkgz/routegroup, which is the furthest along: actions/checkout v4 -> v7, actions/setup-go v5 -> v7, golangci/golangci-lint-action v7 -> v9 and... push 19 Aug 2026 02:23AM UTC web-flow github
70.33
32205977516 master lift CI actions and linter to the versions used across go-pkgz (#9) Brings the workflow in line with go-pkgz/routegroup, which is the furthest along: actions/checkout v4 -> v7, actions/setup-go v5 -> v7, golangci/golangci-lint-action v7 -> v9 and... push 19 Aug 2026 01:44AM UTC web-flow github
70.33
32205969973 master update testify and x/sys, keeping the go 1.19 directive (#8) testify v1.8.1 -> v1.12.0 and golang.org/x/sys v0.13.0 -> v0.30.0, the newest releases of each that still declare a go directive at or below 1.19. testify v1.12.0 dropped its go-spew a... push 19 Aug 2026 01:44AM UTC web-flow github
70.33
32205961824 master replace sleeps in watcher tests with event synchronisation (#7) The four watcher tests guarded themselves with os.Getenv("GOOS") == "darwin", which never matched: GOOS is a build variable, not something the go tool exports into the test environme... push 19 Aug 2026 01:43AM UTC web-flow github
70.33
See All Builds (41)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc