about summary refs log tree commit diff stats
path: root/source_file.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-09-03 17:26:04 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-09-03 17:26:04 -0700
commit1eb8b8d9eba68cf7d41fe4c5c72bf8c1f58eda4f (patch)
tree789d252a5546956700f607bd9faa1ecae98eb4b1 /source_file.lua
parent60fe0866dd2926270ab288758dab5f05c96efaab (diff)
parenta92ded7f49121039c2e5a5d8eafd465d8593337b (diff)
downloadview.love-1eb8b8d9eba68cf7d41fe4c5c72bf8c1f58eda4f.tar.gz
Merge text.love
Diffstat (limited to 'source_file.lua')
-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 = {}