[squeak-dev] The Trunk: Files-ar.28.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] The Trunk: Files-ar.28.mcz

commits-2
Andreas Raab uploaded a new version of Files to project The Trunk:
http://source.squeak.org/trunk/Files-ar.28.mcz

==================== Summary ====================

Name: Files-ar.28
Author: ar
Time: 4 October 2009, 10:23:52 am
UUID: 2063524f-512e-e243-bf75-2b1e031bd71e
Ancestors: Files-jcg.27

Adds FileDirectory equality comparison (#hash and #=).

=============== Diff against Files-jcg.27 ===============

Item was added:
+ ----- Method: FileDirectory>>hash (in category 'comparing') -----
+ hash
+ "Hash is reimplemented because #= is reimplemented"
+ ^pathName asLowercase hash!

Item was added:
+ ----- Method: FileDirectory>>= (in category 'comparing') -----
+ = aDirectory
+ "Compare two FileDirectory instances."
+ ^(pathName asString
+ compare: aDirectory pathName asString
+ caseSensitive: (self isCaseSensitive | aDirectory isCaseSensitive)) = 2!