We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 146771f commit e68d8d3Copy full SHA for e68d8d3
lib/temp.ex
@@ -50,7 +50,7 @@ defmodule Temp do
50
@doc """
51
Cleans up the temporary files tracked.
52
"""
53
- @spec cleanup(pid, Keyword.t) :: :ok | {:error, any}
+ @spec cleanup(pid, Keyword.t) :: [Path.t]
54
def cleanup(tracker \\ get_tracker!(), opts \\ []) do
55
GenServer.call(tracker, :cleanup, opts[:timeout] || :infinity)
56
end
0 commit comments