OpenCode.Generated.Reference (opencode_sdk v0.1.83)

Copy Markdown View Source

Provides API endpoint related to reference

Summary

Functions

List configured references

Types

reference_list_200_json_resp()

@type reference_list_200_json_resp() :: %{
  branch: String.t() | nil,
  kind: String.t(),
  message: String.t(),
  name: String.t(),
  path: String.t(),
  repository: String.t() | nil
}

Functions

reference_list(opts \\ [])

@spec reference_list(opts :: keyword()) ::
  {:ok, [reference_list_200_json_resp()]}
  | {:error, OpenCode.Generated.BadRequestError.t()}

List configured references

List configured references resolved in the current workspace.

Options

  • directory
  • workspace