[BUG][FIX]FileDirectory>directoryExists: a bit silly
Tim Rowledge
tim at sumeru.stanford.edu
Sun Aug 3 23:26:27 UTC 2003
In message <200308032323.h73NN6tk070416 at hampden.charm.net>
Bob Arning <arning at charm.net> wrote:
> On Sun, 3 Aug 2003 23:15:05 +0000 (GMT) tim at sumeru.stanford.edu wrote:
> >I'm fairly sure that
> >+++++++
> >directoryExists: filenameOrPath
> > "Answer true if a directory of the given name exists. The given name
> >may be either a full path name or a local directory within this
> >directory."
> > "FileDirectory default directoryExists: FileDirectory default pathName"
> >
> > ^(FileDirectory default directoryNamed: filenameOrPath ) exists
> >++++++++++++++
> >would actually be correct
>
> Umm... maybe you meant
>
> +++++++
> directoryExists: filenameOrPath
> "Answer true if a directory of the given name exists. The given name
> may be either a full path name or a local directory within this
> directory."
> "FileDirectory default directoryExists: FileDirectory default pathName"
>
> ^(self directoryNamed: filenameOrPath ) exists
> ++++++++++++++
>
Yup, better.
tim
--
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Strange OpCodes: WBT: Water Binary Tree
More information about the Squeak-dev
mailing list
|