The Trunk: Files-eem.117.mcz

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

The Trunk: Files-eem.117.mcz

commits-2
Eliot Miranda uploaded a new version of Files to project The Trunk:
http://source.squeak.org/trunk/Files-eem.117.mcz

==================== 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
directoryEntryForName:

=============== 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"
+
+ !