CMDC.Backend.Results.GrepResult (cmdc v0.5.1)

Copy Markdown View Source

backend.grep/3 θΏ”ε›žγ€‚

Summary

Types

t()

@type t() :: %CMDC.Backend.Results.GrepResult{
  error: nil | atom() | String.t(),
  matches: [CMDC.Backend.Results.GrepMatch.t()] | nil
}

Functions

error(reason)

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

ok(matches)

@spec ok([CMDC.Backend.Results.GrepMatch.t()]) :: t()