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

moonbitlang / async / 1237
77%

Build:
DEFAULT BRANCH: main
Ran 23 Sep 2026 03:23AM UTC
Jobs 1
Files 182
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

23 Sep 2026 03:19AM UTC coverage: 78.448% (+0.01%) from 78.437%
1237

push

github

Guest0x0
Add `allow_exist` argument to `@fs.mkdir`

Instead of bundling the allow-exist behavior into `recursive=true`,
expose it as a dedicated optional argument `allow_exist? : Bool = false`.
When it is `true`, `EEXIST` is swallowed if `path` is already a directory;
an existing non-directory still raises.

Recursive mode always creates parent directories with `allow_exist=true`,
so concurrent tasks may create directories under a shared parent.
The final component honors the caller's `allow_exist`, so `recursive=true`
alone still fails on an existing directory.

Test `allow_exist=true` directly instead of relying on a race
on the parent directory.

7 of 7 new or added lines in 1 file covered. (100.0%)

8 existing lines in 1 file now uncovered.

4328 of 5517 relevant lines covered (78.45%)

10895.45 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
90.43
0.32% src/fs/dir.mbt
Jobs
ID Job ID Ran Files Coverage
1 1237.1 23 Sep 2026 03:23AM UTC 182
78.45
GitHub Action Run
Source Files on build 1237
  • Tree
  • List 182
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 7480eb66 on github
  • Prev Build on main (#1235)
  • Next Build on main (#1239)
  • Delete
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