exists ... and is writeable?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

exists ... and is writeable?

keith1y
I have just submitted a bug report on mantis for Monticello,

http://bugs.impara.de/view.php?id=6056

and I cannot find any tests in FileDirectory for isWriteable. Should
#exists also include an isWriteable check?

Keith

               
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com

Reply | Threaded
Open this post in threaded view
|

Re: exists ... and is writeable?

Nicolas Cellier-3
Keith Hodges <keith_hodges <at> yahoo.co.uk> writes:

>
> I have just submitted a bug report on mantis for Monticello,
>
> http://bugs.impara.de/view.php?id=6056
>
> and I cannot find any tests in FileDirectory for isWriteable. Should
> #exists also include an isWriteable check?
>
> Keith
>
>
> ___________________________________________________________
> To help you stay safe and secure online, we've developed the all new Yahoo!
Security Centre. http://uk.security.yahoo.com
>
>


I would prefer not.
    directory exists ifFalse: [" i can eventually create it."].
    directory isWriteable ifFalse: ["i should not try and create it"].
These are different notions.

Nicolas