HRX entry
Create a new HRX entry for a file or directory.
@type t() :: %Hrx.Entry{contents: :directory | {:file, String.t()}, path: String.t()}
@spec new({:directory, String.t()} | {:file, {String.t()} | {String.t(), String.t()}}) :: t()
Takes in a record based on the parsed format generated by Hrx.Parser.parse/2
Hrx.Parser.parse/2