Re: Can I prevent p:store from overwriting files?

p:directory-list can tell you whether or not a file exists

On 15 June 2017 at 03:40, Hans Hübner <hans.huebner@lambdawerk.com> wrote:

> Hi,
>
> in one of my pipelines, I want to generate certain files only if they do
> not already exist.  It seems, though, that there is no way to instruct
> p:store not to overwrite existing files, and there also seems to be no way
> to query for the existence of a file using plain XProc (or MorganaXProc,
> for that matter).  Has anyone of you ever run into such a requirement and
> found a nice and small solution?
>
> Thanks,
> Hans
>
> --
> LambdaWerk GmbH
> Oranienburger Straße 87/89
> 10178 Berlin
> Phone: +49 30 555 7335 0
> Fax: +49 30 555 7335 99
>
> HRB 169991 B Amtsgericht Charlottenburg
> USt-ID: DE301399951
> Geschäftsführer:  Hans Hübner
>
> http://lambdawerk.com/
>
>
>


-- 
Conal Tuohy
http://conaltuohy.com/
@conal_tuohy
+61-466-324297

Received on Thursday, 15 June 2017 01:19:30 UTC