Closed dgvncsz0f closed 8 years ago
this includes a new module, OS.ex which provides file_entry and dir_entry. These functions are used to add a file and a directory respectively. Its use is very straightforward but following an example:
OS.ex
file_entry
dir_entry
iex> devnull = fn _ -> () end iex> Zipflow.Stream.init ... |> Zipflow.OS.file_entry(devnull, "/name/on/ziparchive", "/path/on/file") ... |> Zipflow.OS.dir_entry(devnull, "/path/to/dir") ... |> Zipflow.Stream.flush(devnull)
Please refer to os.ex for more information.
os.ex
this includes a new module,
OS.ex
which providesfile_entry
anddir_entry
. These functions are used to add a file and a directory respectively. Its use is very straightforward but following an example:Please refer to
os.ex
for more information.