sonic-bluestreak/sonic-radiance.love/libs/loveutils/filesystem.lua
2019-02-03 19:40:28 +01:00

16 lines
249 B
Lua

local Filesystem = {}
function Filesystem.exists(filepath)
local info = love.filesystem.getInfo( filepath )
local exists = false
if (info == nil) then
exists = false
else
exists = true
end
return exists
end
return Filesystem