Packages

A simple utility to find codetags within a project

Current section

Files

Jump to
ex_todo lib file_summary.ex
Raw

lib/file_summary.ex

defmodule ExTodo.FileSummary do
@moduledoc """
This module defines a struct which is used to encapsulate all the information
for a file that contains code tags
"""
alias __MODULE__
defstruct file_path: nil, todo_entries: []
@doc "Build a file summary sruct"
def build(file_path, todo_entries) do
%FileSummary{
file_path: file_path,
todo_entries: todo_entries
}
end
end