aboutsummaryrefslogtreecommitdiff
path: root/stage1/cbt.scala
diff options
context:
space:
mode:
Diffstat (limited to 'stage1/cbt.scala')
-rw-r--r--stage1/cbt.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/stage1/cbt.scala b/stage1/cbt.scala
index 0305dd2..062e11d 100644
--- a/stage1/cbt.scala
+++ b/stage1/cbt.scala
@@ -61,6 +61,8 @@ object `package`{
)
}
+ def lastModifiedRecursive = listRecursive.map(_.lastModified).max
+
def readAsString = new String( readAllBytes( file.toPath ) )
}
implicit class URLExtensionMethods( url: URL ){