Opened 13 years ago
Closed 11 years ago
#3597 closed Feature Requests (wontfix)
Extending boost::filesystem to operate on other fs-like objects
| Reported by: | Owned by: | Beman Dawes | |
|---|---|---|---|
| Milestone: | Component: | filesystem | |
| Version: | Boost 1.43.0 | Severity: | Not Applicable |
| Keywords: | Cc: |
Description
boost::filesystem can be made to operate on other fs-like objects, like archives (tar, zip) or network file services (webdav, ftp, user-space cifs client). It probably can be done by overriding default filesystem access operators with user-supplied functions.
Change History (3)
comment:1 by , 13 years ago
| Severity: | Problem → Not Applicable |
|---|---|
| Status: | new → assigned |
| Version: | Boost 1.40.0 → Boost 1.43.0 |
comment:2 by , 13 years ago
I'm working on a project where having a "user-space vfs" is helpful, and, additionally, this sort of thing is implemented in most user environments out there, in different and incompatible ways.
It will be nice to have an extension mechanism for the filesystem library allowing operations on generic uris of sort:
path tar_path("tar:tarfile.tar/"); creates an uri pointing to root entry in tar file
directory_iterator iter(tar_path);
do stuff with directory iterators possibly, allow actual opening and reading (writing?) of referenced files
comment:3 by , 11 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | assigned → closed |
Such a feature would be beyond the scope of the library at this time.
Sorry,
--Beman

Could you give a concrete example or two of code that you would like to see work?
Thanks,
--Beman