Zstream.entry
You're seeing just the function
entry
, go back to Zstream module for more information.
Specs
entry(String.t(), Enumerable.t(), Keyword.t()) :: entry()
Creates a ZIP file entry with the given name
.
The enum
could be either lazy Stream
or List
. The elements in enum
should be of type iodata
Options
:coder
(module | {module, list}) - The compressor that should be used to encode the data. Available options are:Zstream.Coder.Deflate
- use deflate compressionZstream.Coder.Stored
- store without any compression- Defaults to
Zstream.Coder.Deflate
:encryption_coder
({module, keyword}) - The encryption module that should be used to encrypt the data. Available options are:Zstream.EncryptionCoder.Traditional
- use tranditional zip encryption scheme.:password
key should be present in the options. Example{Zstream.EncryptionCoder.Traditional, password: "secret"}
Zstream.EncryptionCoder.None
- no encryption- Defaults to
Zstream.EncryptionCoder.None
:mtime
(DateTime) - File last modication time. Defaults to system local time.