DalaDev.FileTransfer.Platform.Physical (dala_dev v0.4.0)

Copy Markdown View Source

iOS Physical device file transfer via xcrun devicectl.

Summary

Functions

ls(device, remote_path)

@spec ls(DalaDev.Device.t(), String.t()) :: {:ok, [String.t()]} | {:error, String.t()}

pull(device, remote, local, opts)

@spec pull(DalaDev.Device.t(), String.t(), String.t(), keyword()) ::
  {:ok, String.t()} | {:error, String.t()}

push(device, local, remote, opts)

@spec push(DalaDev.Device.t(), String.t(), String.t(), keyword()) ::
  {:ok, String.t()} | {:error, String.t()}

sync(device, local, remote, opts)

@spec sync(DalaDev.Device.t(), String.t(), String.t(), keyword()) ::
  {:ok, [{:push | :pull | :delete, String.t()}]}