CMDC.Backend.Results.ReadResult (cmdc v0.5.2)

Copy Markdown View Source

backend.read/3 返回。

Summary

Functions

失败构造器。

成功构造器。

Types

t()

@type t() :: %CMDC.Backend.Results.ReadResult{
  error: nil | atom() | String.t(),
  file_data: CMDC.Backend.Results.FileData.t() | nil
}

Functions

error(reason)

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

失败构造器。

ok(file_data)

成功构造器。