'From Squeak3.7beta of ''1 April 2004'' [latest update: #5878] on 28 April 2004 at 5:35:28 pm'! !ServerDirectory methodsFor: 'file directory' stamp: 'tpr 4/28/2004 17:32'! assureExistence "Make sure the current directory exists. If necessary, create all parts inbetween" self exists ifFalse: [ self isRoot ifFalse: [ self containingDirectory assureExistenceOfPath: self localName]]! ! !ServerDirectory methodsFor: 'file directory' stamp: 'tpr 4/28/2004 17:31'! assureExistenceOfPath: localPath "Make sure the local directory exists. If necessary, create all parts inbetween" localPath = (String with: self pathNameDelimiter) ifTrue: [^self]. self assureExistence. (self localPathExists: localPath) ifFalse: [ self createDirectory: localPath].! ! ServerDirectory removeSelector: #assurePathExists:! FileDirectory removeSelector: #assurePathExists:!