changeset 78956 | 12abaffb0346 |
parent 78952 | 4e1dc465dfcc |
child 79044 | 8cc1ae43e12e |
--- a/src/Pure/General/file.scala Sat Nov 11 22:17:14 2023 +0100 +++ b/src/Pure/General/file.scala Sun Nov 12 12:26:08 2023 +0100 @@ -408,8 +408,8 @@ } - /* space */ + /* strict file size */ - def space(path: Path): Space = - Space.bytes(path.check_file.file.length) + def size(path: Path): Long = path.check_file.file.length + def space(path: Path): Space = Space.bytes(size(path)) }