exists ... and is writeable?
nicolas cellier
ncellier at ifrance.com
Tue Feb 13 19:03:44 UTC 2007
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
More information about the Squeak-dev
mailing list
|