src/Pure/General/file.scala
changeset 77109 e3a2b3536030
parent 76884 a004c5322ea4
child 77110 595358b9f61d
--- a/src/Pure/General/file.scala	Fri Jan 27 15:22:26 2023 +0100
+++ b/src/Pure/General/file.scala	Fri Jan 27 15:33:21 2023 +0100
@@ -399,4 +399,10 @@
 
     def output(out: XML.Body => String): Content = new Content(path, Bytes(out(content)))
   }
+
+
+  /* space */
+
+  def space(path: Path): Space =
+    Space.bytes(path.file.length)
 }