Weak support for directory manipulation in Squeak (?)
Raab, Andreas
Andreas.Raab at disney.com
Wed Apr 7 18:57:51 UTC 1999
Stephen,
> In porting the Minnestore OODB to Squeak, I'm running into problems with
> directory manipulation. There are methods in class FileDirectory for
> creating
> directories, but not for deleting them (FileDirectory deleteFileNamed:
> won't
> work) or asking whether a directory exists (FileDirectory fileExists:
> answers
> false), and there's also no method for asking whether a given name is a
> directory or a normal file (though this can be written using existing
> methods).
>
Have a look at FileDirectory>>fileAndDirectoryNames vs.
FileDirectory>>fileNames. From both it should be easy to derive a
#directoryNames or #isDirectory: method.
Andreas
--
PLEASE NOTE NEW EMAIL ADRESS!
+===== Andreas Raab ========= (andreasr at wdi.disney.com) ==+
| Walt Disney Imagineering Phone: +1 818 544 5016 I
I Glendale, CA Fax: +1 818 544 4544 I
+======< http://isgwww.cs.uni-magdeburg.de/~raab >========+
More information about the Squeak-dev
mailing list
|