smallex v0.2.0 Fl

File library.

Link to this section Summary

Link to this section Functions

Link to this function write!(content, path, modes \\ [])

Write file after pipe

Examples

iex> "sample text" |> Fl.write!( "test/sample.txt" )
:ok
iex> File.read!( "test/sample.txt" )
"sample text"
iex> File.rm!( "test/sample.txt" )
:ok