about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-09-03 14:59:57 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-09-03 14:59:57 -0700
commit9a1e297ee39c1250162f1fecbc8fb8e8e6d41120 (patch)
treed63f307f98f4a9413dc5ee339bcdc679b2f3bff3
parent17fa0ec9e74b7897f85c295db00b65c1bc123ab1 (diff)
downloadtext.love-9a1e297ee39c1250162f1fecbc8fb8e8e6d41120.tar.gz
duplicate
-rw-r--r--source_file.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/source_file.lua b/source_file.lua
index 978e949..9c0b8a4 100644
--- a/source_file.lua
+++ b/source_file.lua
@@ -56,16 +56,6 @@ function save_to_disk(State)
   outfile:close()
 end
 
-function file_exists(filename)
-  local infile = App.open_for_reading(filename)
-  if infile then
-    infile:close()
-    return true
-  else
-    return false
-  end
-end
-
 -- for tests
 function load_array(a)
   local result = {}