[SAGA-RG] spec

Ceriel Jacobs ceriel at cs.vu.nl
Sun Dec 16 13:27:42 CST 2007


Thilo Kielmann wrote:

> If we agree to restrict strings to relative paths, which use cases are we
> missing? What can NOT be expresed then? We can still do the following:
> 
> saga::directory dir(url);
> dir.copy("sub/*/bla[1-9].doc",target-url);
> 
> Which can be, for the running aplication, a third-party copy, honoring 
> wild cards.

Agreed.

> I can currently not think of any use case where it would be a problem
> to first create the dir object first (and instead do the same copy
> with two URLs directly, but then on which directory object???)

There were no use cases that required wildcards anyway. I asked Andre
some time ago, and he said that people requested the feature, but that
it was not explicit in any of the use cases.

> To summarize:
> 
> I hereby propose to limit the use of wild cards to strings, and in there
> to relative paths, because this:
> - is sufficiently different from absolute URLs to avoid confusion
> - is sufficiently expressive

A very thorough and well-put discussion! I agree.

Ceriel


More information about the saga-rg mailing list