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

whitfin / cachex
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Repo Added 06 Jul 2017 08:54PM UTC
Files 60
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

LAST BUILD ON BRANCH arcanemachine-patch
branch: arcanemachine-patch
CHANGE BRANCH
x
Reset
  • arcanemachine-patch
  • callers-tweaks
  • cmcintosh/two-element-tuple-for-fetch
  • fallback-callers
  • fix/accessed-limit-cache-miss
  • issue-418
  • main
  • master
  • minor_edits
  • support-elixir-118
  • tkowal/406-populate-callers-for-better-test-integrations
  • update-default-frequency
  • update-fetch-doc
  • update_docs

19 Jul 2025 08:28PM UTC coverage: 100.0%. Remained the same
1cbee29a4ace3977f95763430eec6728f7e69ef7-PR-421

Pull #421

github

web-flow
Update typespecs for `Cachex.put/4` and `Cachex.put_many/3`

These functions both define a return type of `{status, boolean}`, but both may return e.g. `{:error, :no_cache}`, such as when an invalid cache name is given:

```
 iex> Cachex.put(:hello, :world, :ok)
{:error, :no_cache}
```

```
 iex> Cachex.put_many(:hello, [{:world, :ok}])
{:error, :no_cache}
```

This pull requests loosens the return type a bit to use `{status, any}`.
Pull Request #421: Update typespecs for `Cachex.put/4` and `Cachex.put_many/3`

816 of 816 relevant lines covered (100.0%)

1087.62 hits per line

Relevant lines Covered
Build:
Build:
816 RELEVANT LINES 816 COVERED LINES
1087.62 HITS PER LINE
Source Files on arcanemachine-patch
  • Tree
  • List 60
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1cbee29a... arcanemachine-patch Update typespecs for `Cachex.put/4` and `Cachex.put_many/3` These functions both define a return type of `{status, boolean}`, but both may return e.g. `{:error, :no_cache}`, such as when an invalid cache name is given: ``` iex> Cachex.put(:h... Pull #421 21 Jul 2025 03:29PM UTC web-flow github
100.0
See All Builds (671)
  • Repo on GitHub
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

© 2025 Coveralls, Inc