Skip to content

Commit d94ea45

Browse files
committed
run formatter
1 parent 3c16148 commit d94ea45

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/scenic/cache/hash.ex

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ defmodule Scenic.Cache.Hash do
176176
If the verification passes, returns `{:ok, hash}`
177177
If it fails, returns `{:error, :hash_failure}`
178178
"""
179-
@spec verify_file(path :: bitstring, hash :: bitstring, type :: hash_type) :: binary | hash_error
179+
@spec verify_file(path :: bitstring, hash :: bitstring, type :: hash_type) ::
180+
binary | hash_error
180181
def verify_file(path, hash, hash_type) do
181182
case file(path, hash_type) do
182183
{:ok, computed_hash} ->
@@ -197,7 +198,8 @@ defmodule Scenic.Cache.Hash do
197198
If the verification passes, returns the hash unchanged.
198199
If it fails, raises an error
199200
"""
200-
@spec verify_file!(path :: bitstring, hash :: bitstring, type :: hash_type) :: binary | no_return
201+
@spec verify_file!(path :: bitstring, hash :: bitstring, type :: hash_type) ::
202+
binary | no_return
201203
def verify_file!(path, hash, hash_type) do
202204
case file!(path, hash_type) == hash do
203205
true -> hash

0 commit comments

Comments
 (0)