Lastfm.FileIO behaviour (lastfm_archive v0.9.0) View Source

Link to this section Summary

Link to this section Callbacks

Specs

exists?(Path.t()) :: boolean()

Specs

mkdir_p(Path.t()) :: :ok | {:error, File.posix()}

Specs

read(Path.t()) :: {:ok, binary()} | {:error, File.posix()}

Specs

read!(Path.t()) :: binary()

Specs

write(Path.t(), iodata()) :: :ok | {:error, File.posix()}
Link to this callback

write(arg1, iodata, keyword)

View Source

Specs

write(Path.t(), iodata(), keyword()) :: :ok | {:error, File.posix()}