hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/gils/tail.rv
diff options
context:
space:
mode:
Diffstat (limited to 'gils/tail.rv')
-rw-r--r--gils/tail.rv4
1 files changed, 2 insertions, 2 deletions
diff --git a/gils/tail.rv b/gils/tail.rv
index c0ce1df..b5513a6 100644
--- a/gils/tail.rv
+++ b/gils/tail.rv
@@ -2,11 +2,11 @@
# and its between my legs
fn file_lines(path) -> table | :nil do
- const size = fs:size(path)
+ const size = vfs:size(path)
if (size < 0)
return :nil
- const contents = if (size > 0) fs:read_bytes(path, 0, size) else ""
+ const contents = if (size > 0) vfs:read_bytes(path, 0, size) else ""
const raw_lines = contents:split("\n")
let result = {}