View Source Memorex.Parser (Memorex v0.1.0)
Parses Memorex Markdown Memorex.Domain.Deck
files. The Memorex.Parser
is invoked from the mix task
memorex.read_notes
. This mix task invokes read_note_dirs
which is the main entry point to
Memorex.Parser
; the rest of the funtions are implementation details (which are public simply so they can be
tested in isolation).
Link to this section Summary
Link to this section Functions
@spec parse_line(String.t(), String.t() | nil) :: Memorex.Domain.Note.t()
@spec read_dir(String.t()) :: :ok
Link to this function
read_note_dirs(note_dirs \\ Application.get_env(:memorex, Memorex.Note)[:note_dirs])
View Source@spec read_note_dirs([String.t()] | nil) :: :ok