stuff to add to FilePath or

Simon Marlow simonmar at
Mon Jan 10 05:33:56 EST 2005

On 10 January 2005 09:03, Krasimir Angelov wrote:

>    I would like to have these functions in
> System.Directory. Just some notes:
>    - createDirectoryIfNotExists seems to be better
> name for createIfNotExists. This makes clear that the
> function creates directory. Since createIfNotExists
> creates the parents only it is explicitly specified
> createDirectoryAndParents doesn't sound very well for
> me.

I suggest createDirectoryIfMissing, or ensureDirectoryExists as more
grammatically-pleasing alternatives.


More information about the Libraries mailing list