summaryrefslogtreecommitdiffstats
path: root/doc/file.n
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2023-10-04 10:00:00 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2023-10-04 10:00:00 (GMT)
commit06ae8c6d9e8de0918c8fdaef03556e07aef9de1d (patch)
tree6640da7d8646d80ca4c4b463d0d537beb86cc10e /doc/file.n
parent6a7c03014a876e280e451e8070af21e057fb55b6 (diff)
downloadtcl-06ae8c6d9e8de0918c8fdaef03556e07aef9de1d.zip
tcl-06ae8c6d9e8de0918c8fdaef03556e07aef9de1d.tar.gz
tcl-06ae8c6d9e8de0918c8fdaef03556e07aef9de1d.tar.bz2
Misc fixes in zipfs manpage
Diffstat (limited to 'doc/file.n')
-rw-r--r--doc/file.n13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/file.n b/doc/file.n
index 36f0415..16b8a77 100644
--- a/doc/file.n
+++ b/doc/file.n
@@ -83,6 +83,19 @@ clears the readonly attribute of the file. \fB\-rsrclength\fR gives
the length of the resource fork of the file, this attribute can only be
set to the value 0, which results in the resource fork being stripped
off the file.
+.PP
+On all platforms, files in \fBzipfs\fR mounted archives return the following
+attributes. These are all read-only and cannot be directly set.
+\fB-archive\fR gives the path of the mounted ZIP archive containing the file.
+\fB-compsize\fR gives the compressed size of the file within the archive.
+This is \fB0\fR for directories.
+\fB-crc\fR gives the CRC of the file if present, else \fB0\fR.
+\fB-mount\fR gives the path where the containing archive is mounted.
+\fB-offset\fR gives the offset of the file within the archive.
+\fB-uncompsize\fR gives the uncompressed size of the file.
+This is \fB0\fR for directories.
+Other attributes may be present in the returned list. These should
+be ignored.
.RE
.TP
\fBfile channels\fR ?\fIpattern\fR?