Boost logo

Boost :

From: Jan Langer (jan_at_[hidden])
Date: 2002-02-26 08:32:22

On Tue, 26 Feb 2002, Vladimir Prus wrote:
>The first thing is that it would be great to have some base filesystem class
>which can be used to access different fs types. This would allow, for
>example, accessing regular filesystem and HTTP/WebDAV server in a uniform

it is possible, but not in the sense you mean. for example an
implementation for urls can be provided. and you can write
  copy ("", "file:/home/jan/index.htm");
currently it is assumed that the contents of both strings must be valid
descriptors to filenames on the specific platform. and if they are the
result of copy is the obvious one (copy the file). but the format of the
strings is implementation defined.

>And a minor question: path operations include "stripping a leaf", which is
>not the same as getting a parent. Is it possible to start with
> foobar
>and the get parent two time, to end up with:
> ".."
>Looks like no. And getting parent directory is a reasonable operation.

probably we should consider changing remove_leaf() to parent() with this
new meaning.

jan langer ... jan_at_[hidden]
"pi ist genau drei"

Boost list run by bdawes at, gregod at, cpdaniel at, john at