Skip to content

Lua API Filesystem

Leonard Ramminger edited this page Aug 10, 2026 · 1 revision

Lua API — Filesystem (beez.fs)

Project-root file operations.

FunctionInputOutput / effect
glob(pattern)glob string{ path, ... } sorted array
exists(path)pathboolean
join(a, b, ...)path segmentsjoined path
copy(src, dst, [overwrite])paths, bool?copies file or tree
remove(path)pathdeletes file or tree
for_, srcinipairs(beez.fs.glob("src/**/*.cpp")) dolocalobj=beez.fs.join("build", src:gsub("%.cpp$", ".o"))
-- ...end

← Lua API Overview

Clone this wiki locally