I did my best to comment what I could really understand.
Now as soon as somebody understand more he should have the reflex to add 
comments.

I was always confused by resolve: 

Stef
> Apparently it is #resolve:
> 
> '/tmp/data-dir/' asFileReference resolve: 'a/b/c/file.txt' asFileReference
> 
> Way too many methods on the public classes of FileSystem are undocumented.
> 
> On 21 Jun 2013, at 16:31, Sven Van Caekenberghe <[email protected]> wrote:
> 
>> Hi,
>> 
>> Does anyone know how I can/should concatenate 2 FileReference paths ?
>> 
>> Given /tmp/my-cache and a/b/data.txt I want to get 
>> /tmp/my-cache/a/b/data.txt in such a way that it is a correct, useable path. 
>> Next I want to do #ensureDirectory on the parent and write to the file.
>> 
>> '/tmp/my-cache' asFileReference / 'a/b/data.txt' asFileReference 
>> 
>> does not work.
>> 
>> '/tmp/my-cache' asFileReference / 'a/b/data.txt' 
>> 
>> works but is wrong internally.
>> 
>> I can't figure out the semantics of #,
>> 
>> TIA,
>> 
>> Sven
> 
> 


Reply via email to