Tango VFS

Lars Ivar Igesund larsivar at igesund.net
Tue Jun 26 14:04:25 PDT 2007


Dear D community

The Tango team is readying a virtual-file-system for Tango. A VFS lets you
mount 'folders' from arbitrary sources (local files, zips, ftp, http, etc)
and exposes the content in a simple and consistent manner independent of
the underlying repository mechanisms.

A primary component of this system is a Folder abstraction, exposing typical
file system operations. The Folder interface can be implemented by most
hierarchical data providers, whether these are local folders, compressed
archives, webdav resources, or even XML files. In addition the VFS itself
is a folder which may be mounted into other VFS instances.

The initial implementation has progressed rapidly with both local folders
and Zip-based folders operating at this time, and adapters for
other 'protocols' under way. The various folder implementations are able to
operate independently from the VFS such that, for example, LocalFolder can
be used as an alternative interface for operating on local files.
All 'protocols' are pluggable, such that linking a VFS adapter will expose
that protocol for use.

The first revision will provide synchronous access to resources, whereas
asynchronous access will be implemented using existing and coming
non-blocking features of Tango.

Contact:
http://www.dsource.org/projects/tango/wiki/Contact 

Signed, 

The Tango Team 

http://www.dsource.org/projects/tango/wiki/Contributors 

----

Tango is a D library providing a cohesive runtime and library for the D
programming language. A feature list can be found on
http://www.dsource.org/projects/tango/wiki/Features



More information about the Digitalmars-d-announce mailing list