|
Discussion started at http://forum.world.st/Pharo-s-Gofer-td4723799.html :
<code>Gofer>>#directory:
...
Smalltalk globals
at: #MCSubDirectoryRepository
ifAbsent: [ self error: aDirectoryOrString printString , ' is an unsupported repository type' ]</code>
Why wouldn't MCSubDirectoryRepository be present? Are we staying compatible with other platforms? Or another reason? If it's unnecessary I will gut... err, I mean simplify, hehe...
AND...
<code>Gofer>>#directory:
...
repository := (aDirectoryOrString isString and: [ aDirectoryOrString endsWith: '*' ])</code>
I don't like the double-duty of appending $* to the string argument to indicate a subdirectory repository. How about adding to the API, like directoriesIn: or similar...
|
|
|
Priority: 5 – Fix If Time
|
|
Status: Work Needed
|
|
Assigned to: Sean DeNigris
|
|
Milestone: Pharo3.0
|
Go to Case
|
|