[Pkg] The Trunk: Files-eem.117.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Mar 31 20:51:22 UTC 2012

Eliot Miranda uploaded a new version of Files to project The Trunk:

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

Name: Files-eem.117
Author: eem
Time: 31 March 2012, 1:51:07.547 pm
UUID: 41d381b4-82de-43ea-befa-76eb5b4cea0c
Ancestors: Files-eem.116

Provide missing primitive primLookupEntryIn:name: used by

=============== Diff against Files-eem.116 ===============

Item was added:
+ ----- Method: FileDirectory>>primLookupEntryIn:name: (in category 'private') -----
+ primLookupEntryIn: fullPath name: fName
+ 	"Look up <fName> (a simple file name) in the directory identified by <fullPath>
+  	 and return an array containing:
+ 	<fName> <creationTime> <modificationTime> <dirFlag> <fileSize>
+ 	On Unix, the empty path denotes '/'. 
+       On Macs and PCs, it is the container of the system volumes.)
+ 	The creation and modification times are in seconds since the start of the Smalltalk time epoch. DirFlag is true if the entry is a directory. FileSize the file size in bytes or zero for directories. The primitive returns nil when index is past the end of the directory. It fails if the given path is bad."
+  	<primitive: 'primitiveDirectoryEntry' module: 'FilePlugin'>
+ 	^ #primFailed		"to distinguish from nil"
+ !

More information about the Packages mailing list