realbook v0.2.0 Realbook.Adapters.Local View Source

Link to this section Summary

Link to this section Functions

Link to this function

append(atom, content, destination, opts)

View Source

Specs

append(:local, binary(), Path.t(), keyword()) :: :ok | {:error, File.posix()}

Callback implementation for Realbook.Adapters.Api.append/4.

Specs

connect(keyword()) :: {:ok, :local}

Callback implementation for Realbook.Adapters.Api.connect/1.

Specs

run(:local, any(), any()) ::
  {:error, atom()} | {:ok, binary(), non_neg_integer()}

Callback implementation for Realbook.Adapters.Api.run/3.

Link to this function

send(atom, content, destination, opts)

View Source

Specs

send(:local, binary(), Path.t(), keyword()) :: :ok | {:error, File.posix()}

Callback implementation for Realbook.Adapters.Api.send/4.

Link to this function

sudo_append(content, destination)

View Source