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

go-pkgz / fileutils
78%
master: 72%

Build:
Build:
LAST BUILD BRANCH: ci/go-version-from-go-mod
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 improvements
branch: improvements
CHANGE BRANCH
x
Reset
  • improvements
  • chore/ci-lift
  • chore/update-deps
  • ci/go-version-from-go-mod
  • 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
  • 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

16 Feb 2025 06:15AM UTC coverage: 78.049% (-13.6%) from 91.667%
13352411714

Pull #2

github

umputun
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` function to handle file movement, including cross-device scenarios by using a copy-and-delete fallback.
- Add `TouchFile` function to create or update file timestamps.
- Update tests to cover new functionality and error cases
- Enhance README.md with details about new and updated functions.
Pull Request #2: Enhance file utilities with secure temp file generation, MoveFile, aнd TouchFile

52 of 78 new or added lines in 1 file covered. (66.67%)

2 existing lines in 1 file now uncovered.

128 of 164 relevant lines covered (78.05%)

4.6 hits per line

Relevant lines Covered
Build:
Build:
164 RELEVANT LINES 128 COVERED LINES
4.6 HITS PER LINE
Source Files on improvements
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
13352411714 improvements 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` ... Pull #2 16 Feb 2025 11:14PM UTC umputun github
78.05
13359721785 improvements 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` ... Pull #2 16 Feb 2025 11:13PM UTC umputun github
78.05
See All Builds (46)
  • 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