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

commits at source.squeak.org commits at source.squeak.org
Tue Jan 24 21:47:44 UTC 2017


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]!



More information about the Squeak-dev mailing list