Cross-platform path specification (was RE: Access directory relatively)
Tim Rowledge
tim at sumeru.stanford.edu
Tue Aug 6 00:19:34 UTC 2002
Ned Konz <ned at bike-nomad.com> is claimed by the authorities to have written:
> On Monday 05 August 2002 04:10 pm, Luciano Notarfrancesco wrote:
> > > file := FileDirectory default, 'foo', 'bar',
> > > 'baz', 'mumble.file'.
> >
> > And I don't like this so much, because it answers a
> > closed file and you have to do "file open: #readOnly"
> > or whatever.
>
> I'd rather deal with filenames as separate entities from files.
> There's a lot that can be done with filenames that never requires
> opening a file.
'zactly. Like checking for directory/file, permissions, size,
existance(!), building a list for use later, all sorts of things. Oh,
copying may very likely need a name (or a pair, I guess) rather than a
filestream.
tim
--
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Useful random insult:- Fell out of the family tree.
More information about the Squeak-dev
mailing list
|