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

hahnjo / dynconf / 9
84%
main: 84%

Build:
Build:
LAST BUILD BRANCH: github-actions
DEFAULT BRANCH: main
Ran 22 Jun 2018 07:02PM UTC
Jobs 1
Files 5
Run time 2s
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

pending completion
9

push

travis-ci

hahnjo
Use own implementation to write files atomically

The library added in commit cf4a45c misses some important cases:
1) It cannot handle relative filename without a directory part. The
   temporary file is then created in /tmp which might be on a different
   filesystem. Thus os.Rename fails with "Invalid cross-device link".
2) File ownership is not transferred. The newly written code now calls
   Chown() which fixes #2.
   Note that this requires root privileges to work. However, Chown()
   is a no-op if the owner and group are already correct, so the user
   will get a meaningful error message only if things really failed.

190 of 237 relevant lines covered (80.17%)

4.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9.1 22 Jun 2018 07:02PM UTC 0
80.17
Travis Job 9.1
Source Files on build 9
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #9
  • 81402079 on github
  • Prev Build on master (#8)
  • Next Build on master (#10)
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