exfile v0.1.0 Exfile.Processor.Utilities
Summary
Functions
Opens a LocalFile. Provided for compatibility reasons
Takes a file and turns it in to a tempfile unless it already is a tempfile.
Pass true
as create_new_tempfile
to force creation of a new tempfile.
Returns a string containing the path to the tempfile
Functions
Specs
coerce_file_to_io(Exfile.LocalFile.t) :: :file.io_device
Opens a LocalFile. Provided for compatibility reasons.
Specs
coerce_file_to_tempfile(Exfile.LocalFile.t, boolean) :: Exfile.LocalFile.t
Takes a file and turns it in to a tempfile unless it already is a tempfile.
Pass true
as create_new_tempfile
to force creation of a new tempfile.
Returns a string containing the path to the tempfile.