Skip to content

Commit

Permalink
Fix typos again (#230)
Browse files Browse the repository at this point in the history
Found via `codespell -S deps`
  • Loading branch information
kianmeng authored Aug 5, 2024
1 parent 660b954 commit d47e568
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/nebulex.ex
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ defmodule Nebulex do
annotating functions to be cached or evicted. Caching decorators also
enable the usage and/or implementation of cache usage patterns like
**Read-through**, **Write-through**, **Cache-as-SoR**, etc.
See [Cache Usage Patters Guide](http://hexdocs.pm/nebulex/cache-usage-patterns.html).
See [Cache Usage Patterns Guide](http://hexdocs.pm/nebulex/cache-usage-patterns.html).
In the following sections, we will provide an overview of those components and
how they interact with each other. Feel free to access their respective module
Expand Down
2 changes: 1 addition & 1 deletion lib/nebulex/adapters/multilevel.ex
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ defmodule Nebulex.Adapters.Multilevel do
defaults to `:inclusive`. In an inclusive cache, the same data can be
present in all caches/levels. In an exclusive cache, data can be present
in only one cache/level and a key cannot be found in the rest of caches
at the same time. This option applies to the `get` callabck only; if the
at the same time. This option applies to the `get` callback only; if the
cache `:model` is `:inclusive`, when the key is found in a level N,
that entry is duplicated backwards (to all previous levels: 1..N-1).
However, when the mode is set to `:inclusive`, the `get_all` operation
Expand Down
2 changes: 1 addition & 1 deletion lib/nebulex/adapters/replicated.ex
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ defmodule Nebulex.Adapters.Replicated.Bootstrap do
# 1. Push a new generation on all cluster nodes to make the newer one
# empty.
# 2. Copy cached data from one of the cluster nodes; entries will be
# stremed from the older generation since the newer one should be
# streamed from the older generation since the newer one should be
# empty.
# 3. Push a new generation on the current/new node to make it a mirror
# of the other cluster nodes.
Expand Down
2 changes: 1 addition & 1 deletion lib/nebulex/caching/decorators.ex
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ if Code.ensure_loaded?(Decorator.Define) do
end
end
See [Cache Usage Patters Guide](http://hexdocs.pm/nebulex/cache-usage-patterns.html).
See [Cache Usage Patterns Guide](http://hexdocs.pm/nebulex/cache-usage-patterns.html).
"""

use Decorator.Define, cacheable: 1, cache_evict: 1, cache_put: 1
Expand Down
2 changes: 1 addition & 1 deletion test/nebulex/caching_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ defmodule Nebulex.CachingTest do
end
end

describe "cachable with references" do
describe "cacheable with references" do
setup_with_cache(YetAnotherCache)

test "with referenced key" do
Expand Down

0 comments on commit d47e568

Please sign in to comment.