1vfslib(n) Tcl-only Virtual File Systems vfslib(n)
2
3
4
6 ::vfslib - Procedures to interact with virtual filesystems
7
9 package require Tcl 8.4
10
11 package require vfs ?1.2.1?
12
13 package require vfs::zip ?1.0?
14
15 package require vfs::mk4 ?1.6?
16
17 package require vfs::tar ?0.9?
18
19 package require vfs::ftp ?1.0?
20
21 package require vfs::ns ?1.0?
22
23 package require vfs::webdav ?0.1?
24
25 package require vfs::http ?0.5?
26
27 package require vfs::urltype ?1.0?
28
29 vfs::zip::Mount path to
30
31 vfs::ftp::Mount path to
32
33 vfs::tar::Mount path to
34
35 vfs::http::Mount path to
36
37 vfs::mk4::Mount path to
38
39 vfs::ns::Mount path to
40
41 vfs::urltype::Mount type
42
43
45 The ::vfs package includes a library of Tcl code, implementing a number
46 of different virtual filesystems. Each of these exists as its own
47 package, and can be accessed through package require vfs::NAME. The
48 whole set of virtual filesystems is known informally as 'vfslib'
49
51 The current supported types are ftp, tar, http, zip, mk4, ns, webdav.
52 In addition there is the ability to mount any 'urltype' as a new vol‐
53 ume, provided an appropriate vfs is supported. This means that you can
54 treat evaluate the command
55
56 vfs::urltype::Mount ftp
57
58 for instance. Any access inside the new volume will result in an
59 attempt to require a package through 'package require vfs::${type}',
60 which must therefore exist, or errors will be thrown.
61
63 Most of the vfs types listed above have not been very well debugged as
64 yet. Please test them!
65
67 vfs, vfslib, filesystem, zip, tar, webdav, namespace, ftp, http, file
68
69
70
71
72
73Vfslib 1.0 vfslib(n)