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

elliotxx / osp / 13097546353
16%

Build:
DEFAULT BRANCH: main
Ran 02 Feb 2025 09:30AM UTC
Jobs 1
Files 7
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

02 Feb 2025 09:30AM UTC coverage: 14.771% (-0.2%) from 14.926%
13097546353

push

github

elliotxx
refactor: centralize config directory handling

- Add `github.com/adrg/xdg` dependency for XDG-compliant config paths
- Implement `GetConfigDir()` in `config.go` to centralize config directory logic
- Update `auth.go` to use `config.GetConfigDir()` instead of redundant code
- Add backup and recovery mechanisms for config file operations
- Improve logging and error handling in config management

This change improves cross-platform compatibility and adheres to the XDG Base Directory Specification, while reducing code duplication and improving maintainability.

0 of 75 new or added lines in 2 files covered. (0.0%)

4 existing lines in 2 files now uncovered.

213 of 1442 relevant lines covered (14.77%)

0.17 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
13
0.0
0.0% pkg/auth/auth.go
62
0.0
0.0% pkg/config/config.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% pkg/auth/auth.go
3
0.0
0.0% pkg/config/config.go
Jobs
ID Job ID Ran Files Coverage
1 13097546353.1 02 Feb 2025 09:30AM UTC 7
14.77
GitHub Action Run
Source Files on build 13097546353
  • Tree
  • List 7
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9c5ad457 on github
  • Prev Build on main (#13096127796)
  • Next Build on main (#13099099616)
  • 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