|
FileReference>>= currently performs a simplistic path comparison to determine if two FileReferences are the same.
This means that an absolute reference and a relative reference to the same file will be flagged as different files.
The (soon to be supplied) Pull Request modifies FileReference>>= to resolv mak e the paths absolute as part of the comparison, causing the two FileReferences to be considered equal.
As an example, in the existing Pharo6:
| f1 f2 |
f1 := FileLocator workingDirectory / 'pharo-local'. f2 := f1 asAbsolute. f1 = f2 " false"
The patched system will answer true.
Cheers, Alistair
|
|
|
Priority: 5 – Fix If Time
|
|
Status: Work Needed
|
|
Assigned to: Everyone
|
|
Milestone: Pharo7.0
|
Go to Case
|
|