logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

::vfslib - Procedures to interact with virtual filesystems

Description

       The ::vfs package includes a library of Tcl code, implementing a number of different virtual filesystems.
       Each  of  these  exists  as  its own package, and can be accessed through packagerequirevfs::NAME.  The
       whole set of virtual filesystems is known informally as 'vfslib'

Keywords

       vfs, vfslib, filesystem, zip, tar, webdav, namespace, ftp, http, file

Vfslib                                                 1.0                                          vfslib(3tcl)

Limitations

       Most of the vfs types listed above have not been very well debugged as yet.  Please test them!

Name

       ::vfslib - Procedures to interact with virtual filesystems

Supported Vfs Types

       The current supported types are ftp, tar, http, zip, mk4, ns, webdav.  In addition there is  the  ability
       to  mount  any  'urltype' as a new volume, provided an appropriate vfs is supported.  This means that you
       can treat 'ftp://', 'http://' and 'file://' urls as files.  To do this, simply evaluate the command

       vfs::urltype::Mountftp

       for instance.  Any access inside the new volume will result in an attempt to require  a  package  through
       'package require vfs::${type}', which must therefore exist, or errors will be thrown.

Synopsis

packagerequireTclpackagerequirevfs?1.2.1?packagerequirevfs::zip?1.0?packagerequirevfs::mk4?1.6?packagerequirevfs::tar?0.9?packagerequirevfs::ftp?1.0?packagerequirevfs::ns?1.0?packagerequirevfs::webdav?0.1?packagerequirevfs::http?0.5?packagerequirevfs::urltype?1.0?vfs::zip::Mountpathtovfs::ftp::Mountpathtovfs::tar::Mountpathtovfs::http::Mountpathtovfs::mk4::Mountpathtovfs::ns::Mountpathtovfs::urltype::Mounttype

See Also