[squeak-dev] The Trunk: Files-cmm.101.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Feb 25 01:19:46 UTC 2011

Chris Muller uploaded a new version of Files to project The Trunk:

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

Name: Files-cmm.101
Author: cmm
Time: 24 February 2011, 7:19:36.954 pm
UUID: 3463cdfa-5a3c-4e33-8c70-22a5f5be61fa
Ancestors: Files-cmm.100

Added conventional and necessary type-checking to new DirectoryEntry>>#=.

=============== Diff against Files-cmm.100 ===============

Item was changed:
  ----- Method: DirectoryEntry>>= (in category 'testing') -----
  = aDirectoryEntry 
  	"Answer whether I am equivalent in all of my file-system attributes."
+ 	super = aDirectoryEntry ifTrue: [^ true].
+ 	self species = aDirectoryEntry species ifFalse: [^ false].
  	^ self containingDirectory = aDirectoryEntry containingDirectory
  		and: [self name = aDirectoryEntry name
  				and: [self modificationTime = aDirectoryEntry modificationTime
  						and: [self fileSize = aDirectoryEntry fileSize]]]!

More information about the Squeak-dev mailing list