File 0377-Clarify-input-behaviours-on-zip-create.patch of Package erlang
From 90efbb2a0102567107d80d13de27efcf29dfe4af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jos=C3=A9=20Valim?= <jose.valim@dashbit.co>
Date: Sat, 24 Jun 2023 11:21:37 +0200
Subject: [PATCH] Clarify input behaviours on zip:create
---
lib/stdlib/doc/src/zip.xml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/lib/stdlib/doc/src/zip.xml b/lib/stdlib/doc/src/zip.xml
index 5d5d83d270..449913ed8f 100644
--- a/lib/stdlib/doc/src/zip.xml
+++ b/lib/stdlib/doc/src/zip.xml
@@ -368,8 +368,11 @@
<seeerl marker="erl_tar"><c>erl_tar</c></seeerl>.</p>
<p><c><anno>FileList</anno></c> is a list of files, with paths relative
to the current directory, which are stored with this path in the
- archive. Files can also be specified with data in binaries
- to create an archive directly from data.</p>
+ archive. File system operations are performed to read the file metadata
+ and, when compression is enabled, to stream the file contents without
+ loading whole files into memory. Files can also be specified as binaries
+ to create an archive directly from data. In such cases, no metadata or
+ file system reads are performed.</p>
<p>Files are compressed using the DEFLATE compression, as
described in the "Appnote.txt" file. However, files are
stored without compression if they are already compressed.
--
2.35.3