This is a follow up question to 'How do I make sure a directory exists?'

The answer to that question was

       dir := FileSystem workingDirectory / '..' / 'public'.
       dir ensureCreateDirectory.

Now I want to create a writeStream.

       dir writeStream

gives 'Unable to open file'

It seems that I need to ask to resolve the relative path first.
How does the proper code idiom look like?



Reply via email to