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

go-pkgz / fileutils
72%

Build:
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 master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • 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
  • 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

07 Sep 2026 07:33PM UTC coverage: 72.353%. Remained the same
34156052645

push

github

web-flow
cover the whole API in the example and let it observe an event (#13)

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.

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
34156052645 master cover the whole API in the example and let it observe an event (#13) 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 n... push 07 Sep 2026 07:34PM UTC web-flow 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
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
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
32205524377 master fix CopyFile erasing its source and not preserving mode on overwrite (#10) CopyFile opened the destination with O_TRUNC, so when src and dst resolved to the same file the source was truncated before anything was read from it and the call returned... push 19 Aug 2026 01:36AM UTC web-flow github
70.33
19903537011 master Fix CI workflow: checkout before setup-go for proper caching (#6) - Move checkout step before setup-go to enable Go module caching - setup-go needs go.mod/go.sum files to generate cache keys - Update actions to latest versions (checkout@v4, setup... push 03 Dec 2025 05:51PM UTC web-flow github
71.34
14072148220 master Fix golangci-lint shadow This caused golangci-lint config validation errors push 25 Mar 2025 11:35PM UTC umputun github
78.05
13359739722 master Enhance file utilities with secure temp file generation, MoveFile, and TouchFile - Replace `math/rand` with `crypto/rand` for secure random name generation in `TempFileName`. - Improve `CopyFile` function to preserve file modes. - Add `MoveFile` ... push 16 Feb 2025 11:16PM UTC umputun github
78.05
See All Builds (42)
  • 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