RefInspector.Downloader.Adapter behaviour (RefInspector v2.1.0)

View Source

Behaviour for modules used by the downloader.

Summary

Callbacks

Reads a database file from a remote location and returns its contents.

Callbacks

read_remote(location)

@callback read_remote(location :: binary()) ::
  {:ok, contents :: binary()} | {:error, term()}

Reads a database file from a remote location and returns its contents.