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

KarpelesLab / tmpsecfile / 24973400414
78%

Build:
DEFAULT BRANCH: master
Ran 27 Apr 2026 02:16AM UTC
Jobs 1
Files 2
Run time 1min
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

27 Apr 2026 02:15AM UTC coverage: 77.821% (+0.2%) from 77.593%
24973400414

push

github

MagicalTux
Add isSparse flag to skip per-block zero check when no holes exist

Files written sequentially never have a sparse block on disk, so the
isZero scan in ReadAt is wasted work. Track an isSparse bit that
WriteAt and Truncate flip on only when they actually leave an
untouched block past the previously rounded length, and gate the
sparse check on it.

Adds a table-driven test covering: fresh file, contiguous write,
unaligned write within the same rounded block, write that skips a
full block, truncate-extend, and truncate-shrink.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

14 of 17 new or added lines in 1 file covered. (82.35%)

200 of 257 relevant lines covered (77.82%)

434.94 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
77.69
0.24% tmpsecfile.go
Jobs
ID Job ID Ran Files Coverage
1 24973400414.1 27 Apr 2026 02:16AM UTC 2
77.82
GitHub Action Run
Source Files on build 24973400414
  • Tree
  • List 2
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24973400414
  • c054fcda on github
  • Prev Build on master (#24973298877)
  • Delete
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

© 2026 Coveralls, Inc