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

go-pkgz / fileutils / 13359752823
78%
master: 71%

Build:
Build:
LAST BUILD BRANCH: fix-ci-caching
DEFAULT BRANCH: master
Ran 16 Feb 2025 11:17PM UTC
Jobs 1
Files 1
Run time 4min
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

16 Feb 2025 11:15PM UTC coverage: 78.049% (-13.6%) from 91.667%
13359752823

push

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.

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

New Missed Lines in Diff

Lines Coverage ∆ File
26
78.05
-13.62% fileutils.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
78.05
-13.62% fileutils.go
Jobs
ID Job ID Ran Files Coverage
1 13359752823.1 16 Feb 2025 11:17PM UTC 1
78.05
GitHub Action Run
Source Files on build 13359752823
  • Tree
  • List 1
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 7c7e1ed2 on github
  • Prev Build on master (#12380494619)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc