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

FROSADO / onecloudriver / 32078980380
78%

Build:
DEFAULT BRANCH: main
Ran 17 Aug 2026 11:10PM UTC
Jobs 1
Files 47
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

17 Aug 2026 11:05PM UTC coverage: 78.169% (-0.09%) from 78.262%
32078980380

push

github

web-flow
feat(cli): add manual sync command (onecloudriver sync) (#100)

Adds a one-shot delta poll independent of the mount's background interval:
`onecloudriver sync` resolves the account, opens its persisted cache
(BoltDB + content) read/write, runs a single delta cycle via the existing
DeltaSync machinery and prints how many changes were applied.

- internal/fs/delta.go: pollAndApply now returns the applied count (the
  old bool was redundant with err); new DeltaSync.PollOnce performs one
  cycle reusing pollAndApply and persists the delta link + dirty inodes
  exactly like a background cycle.
- cmd/onecloudriver/sync.go: new command (registered in main.go) with the
  standard -a/--account preamble. A running mount holds the cache lock, so
  it fails with a clear double-mount message and a tip instead of corrupting
  the DB.
- Tests: PollOnce with mocked PollDelta (count, applied items, persisted
  link, exactly one poll) and end-to-end CLI test with mocked Graph delta;
  the 3 existing pollAndApply tests updated to the new signature.
- Docs: MANUAL.md/.es and man pages (+.es) document the command.

Closes #73

58 of 79 new or added lines in 3 files covered. (73.42%)

2 existing lines in 1 file now uncovered.

4422 of 5657 relevant lines covered (78.17%)

3135.76 hits per line

Uncovered Changes

Lines Coverage ∆ File
11
73.17
cmd/onecloudriver/sync.go
10
83.33
-1.67% internal/fs/delta.go

Coverage Regressions

Lines Coverage ∆ File
2
78.13
-0.57% internal/fs/content_cache.go
Jobs
ID Job ID Ran Files Coverage
1 32078980380.1 17 Aug 2026 11:10PM UTC 47
78.17
GitHub Action Run
Source Files on build 32078980380
  • Tree
  • List 47
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ef33e3cb on github
  • Prev Build on main (#32005239988)
  • Next Build on main (#32080850087)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc