Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c24e37918d30d885b44825fd5c15e732ebf93611adc05fa629ffd67020db5e90
Ticket: 7db9574a06b1994c5b3f8cdf13e6ffcbea072d4b
Undocumented features of zipfs implementation
User & Date: cjmcdonald on 2024-08-03 20:41:15
Changes

  1. icomment:
    Regarding zipfs mount_data, note that a corresponding C level interface TclZipfs_MountBuffer has been made public and documented in the man pages at [https://www.tcl.tk/man/tcl9.0/TclLib/zipfs.html].  So we have the strange situation where the C interface has been documented, but not the Tcl command, and yet there are a set of Tcl tests.
    
    I'd like to see the Tcl zipfs mount_data (or mountdata) command documented, rather than made undocumented and internal.  I think that there is a useful use case, where a zip archive is transferred to a program from a server via a socket.  Without mount_data it would be necessary to write that received archive to a temporary file on disk in order to mount it, whereas with mount_data it could be opened directly from memory.
    
  2. login: "cjmcdonald"
  3. mimetype: "text/x-fossil-wiki"