MCCacheRepository.st
branchjv
changeset 1115 12c55ec23e26
parent 906 a12f9e7f5421
child 1133 c2a73e27e67c
--- a/MCCacheRepository.st	Mon Aug 10 12:48:14 2020 +0100
+++ b/MCCacheRepository.st	Mon Aug 31 18:13:01 2020 +0100
@@ -1,5 +1,10 @@
+"
+COPYRIGHT (c) 2020 LabWare
+"
 "{ Package: 'stx:goodies/monticello' }"
 
+"{ NameSpace: Smalltalk }"
+
 MCDirectoryRepository subclass:#MCCacheRepository
 	instanceVariableNames:'packageCaches seenFiles'
 	classVariableNames:''
@@ -14,6 +19,15 @@
 "
 !
 
+!MCCacheRepository class methodsFor:'documentation'!
+
+copyright
+"
+COPYRIGHT (c) 2020 LabWare
+
+
+"
+! !
 
 !MCCacheRepository class methodsFor:'initialization'!
 
@@ -31,9 +45,11 @@
 !MCCacheRepository class methodsFor:'misc'!
 
 cacheDirectory
-	^ (FileDirectory default directoryNamed: 'package-cache')
-		assureExistence;
-		yourself
+    ^ (Filename currentDirectory / 'package-cache')
+        makeDirectory;
+        yourself.
+
+    "Modified: / 25-08-2020 / 10:09:53 / Jan Vrany <jan.vrany@labware.com>"
 !
 
 checkCacheDirectory
@@ -96,6 +112,11 @@
 
 version
     ^ '$Header: /cvs/stx/stx/goodies/monticello/MCCacheRepository.st,v 1.3 2014-02-12 14:53:37 cg Exp $'
+!
+
+version_HG
+
+    ^ '$Changeset: <not expanded> $'
 ! !