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

go-pkgz / fileutils
78%
master: 78%

Build:
Build:
LAST BUILD BRANCH: paskal/shadow
DEFAULT BRANCH: master
Repo Added 31 Jul 2020 07:53AM UTC
Files 1
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 refs/tags/v0.3.0
branch: refs/tags/v0.3.0
CHANGE BRANCH
x
Reset
  • refs/tags/v0.3.0
  • improvements
  • master
  • paskal/shadow
  • rbac
  • refs/tags/v0.1.0
  • refs/tags/v0.2.0

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

Relevant lines Covered
Build:
Build:
164 RELEVANT LINES 128 COVERED LINES
4.6 HITS PER LINE
Source Files on refs/tags/v0.3.0
  • List 1
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
13359752823 refs/tags/v0.3.0 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:17PM UTC umputun github
78.05
See All Builds (23)
  • Repo on GitHub
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