Hi all,
IHMO, it makes sense to add #asFileEntry and #asDirectoryEntry
to the classes FileEntry and DirectoryEntry both answering self.
This will avoid clumsy code like this:
fileEntry := aFilename isString
ifTrue: [ aFilename asFileEntry ]
ifFalse: [ aFilename ].
Best Regards,
Gerald