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

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

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

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 13352411714.1 16 Feb 2025 11:14PM UTC 1
78.05
GitHub Action Run
Source Files on build 13352411714
  • Tree
  • List 1
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2
  • PR Base - 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