Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4da21de89a46370bef57d5e03b05dc9670200fb03237a1f03c01bb64d19d322a
Ticket: 02acab5aea7c3457889ec96a73b7213ce25ea7ca
Intermediate directories in zipfs mounts are treated as not existing
User & Date: apnadkarni on 2023-09-15 05:42:50
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-markdown"
  4. comment changed to:
    When an archive is not mounted at the zipfs root, intermediate directories are not seen as existing. This is not a minor issue because a recursive glob starting at the zip root will fail to find files in the archive.
    
    A secondary issue, also important, is that the commands on the intermediate directories take more than 1s to return (at least on Windows) on first invocation. This is probably tied to the UNC interpretation as reported in [93eb73784a](https://core.tcl-lang.org/tcl/tktview/93eb73784a).
    
    ```
    % zipfs mount ../tests/zipfiles/test.zip //zipfs:/a/b/c
    % zipfs exists //zipfs:/
    0
    % zipfs exists //zipfs:/a
    0
    % zipfs exists //zipfs:/a/b/c
    1
    % file exists //zipfs:/
    0
    % file exists //zipfs:/a
    0
    % file exists //zipfs:/a/b/c
    1
    % glob //zipfs:/a/*
    no files matched glob pattern "//zipfs:/a/*"
    ```
    
  5. foundin changed to: "8.7"
  6. is_private changed to: "0"
  7. login: "apnadkarni"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "apnadkarni"
  14. subsystem changed to: "- New Builtin Commands"
  15. title changed to:
    Intermediate directories in zipfs mounts are treated as not existing
    
  16. type changed to: "Bug"