Weak support for directory manipulation in Squeak (?)
agree at carltonfields.com
agree at carltonfields.com
Wed Apr 7 19:51:35 UTC 1999
You can also use DirectoryEntry>>isDirectory. For example:
FileDirectory default entryAt: 'ReadMe.txt' isDirectory
You can drill to the DirectoryEntry object about a bazillion different ways.
-----Original Message-----
From: MIME :Andreas.Raab at disney.com Sent: Wednesday, April 07, 1999 3:08 PM
To: squeak at cs.uiuc.edu
Subject: RE: Weak support for directory manipulation in Squeak (?)
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 >========+
<< File: ENVELOPE.TXT >>
More information about the Squeak-dev
mailing list
|