CMDC.Backend.Results.EditResult (cmdc v0.4.1)

Copy Markdown View Source

backend.edit/4 θΏ”ε›žγ€‚

Summary

Types

t()

@type t() :: %CMDC.Backend.Results.EditResult{
  error: nil | atom() | String.t(),
  files_update: map() | nil,
  occurrences: non_neg_integer() | nil,
  path: String.t() | nil
}

Functions

error(reason)

@spec error(atom() | String.t()) :: t()

ok(path, occurrences, files_update \\ nil)

@spec ok(String.t(), non_neg_integer(), map() | nil) :: t()