The Trunk: Files-cmm.166.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-cmm.166.mcz

commits-2
Chris Muller uploaded a new version of Files to project The Trunk:
http://source.squeak.org/trunk/Files-cmm.166.mcz

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

Name: Files-cmm.166
Author: cmm
Time: 24 January 2017, 3:47:38.072033 pm
UUID: 1591ae96-17e3-4d5c-9e96-f5cb0a4e26e7
Ancestors: Files-tfel.165

- FileDirectory>>#assureExistence must not silently fail to assure the existence.

=============== Diff against Files-tfel.165 ===============

Item was changed:
  ----- Method: FileDirectory>>assureExistence (in category 'file directory') -----
  assureExistence
  "Make sure the current directory exists. If necessary, create all parts in between"
+ self exists ifFalse:
+ [ self containingDirectory
+ assureExistence ;
+ createDirectory: self localName.
+ self exists ifFalse: [ Error signal: self fullName, ' could not be created.  Permissions?' ] ]!
-
- self exists ifFalse: [
-   self containingDirectory
- assureExistence;
- createDirectory: self localName]!