[Pkg] Monticello Public: PackageInfo-Base-mtf.49.mcz

squeaksource-noreply at iam.unibe.ch squeaksource-noreply at iam.unibe.ch
Tue Jun 10 04:14:09 UTC 2008

A new version of PackageInfo-Base was added to project Monticello Public:

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

Name: PackageInfo-Base-mtf.49
Author: mtf
Time: 9 June 2008, 9:12:31 pm
UUID: 95d45bb7-4d50-409b-94a3-66e2dd2ff92c
Ancestors: PackageInfo-Base-mtf.48

added three methods that were left out during the re-integration of PackageOrganizer

=============== Diff against PackageInfo-Base-mtf.48 ===============

Item was added:
+ ----- Method: PackageOrganizer class>>forcefullyClearCache (in category 'as yet unclassified') -----
+ forcefullyClearCache
+ 	"Clear out the cache dangerously. Forgets any preambles that have been defined"
+ 	default := nil!

Item was added:
+ ----- Method: PackageOrganizer class>>freeSomeSpace (in category 'as yet unclassified') -----
+ freeSomeSpace
+ 	self default clearCacheButPreservePreambles!

Item was added:
+ ----- Method: PackageOrganizer>>clearCacheButPreservePreambles (in category 'initializing') -----
+ clearCacheButPreservePreambles
+ 	"Remove every PI from the cache which does not have either a preamble or postscript"
+ 	self packages do: [:package | (package hasPreamble
+ 			or: [package hasPostscript]
+ 			or: [package hasPreambleOfRemoval]
+ 			or: [package hasPostscriptOfRemoval])
+ 		ifFalse: [self unregisterPackage: package]]!

More information about the Packages mailing list