From 270007e0bf6626d9cde0cf05729558ab37721301 Mon Sep 17 00:00:00 2001 From: Izaya Date: Sun, 23 Apr 2017 11:09:07 +1000 Subject: [PATCH] Fully completes #3. It's passable for me. --- modules/library/fs-ext.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/library/fs-ext.lua b/modules/library/fs-ext.lua index bd300c1..90e2c0b 100644 --- a/modules/library/fs-ext.lua +++ b/modules/library/fs-ext.lua @@ -10,3 +10,7 @@ function frm(s) local d,p = fres(s) return d.remove(p) end +function fexists(s) + local d,p = fres(s) + return d.exists(p) +end