a lot of shit

This commit is contained in:
2025-03-16 01:35:39 +02:00
parent db54d5deec
commit 7bd20fc6bd
18 changed files with 697 additions and 201 deletions

23
mod/fs.d.lua Normal file
View File

@@ -0,0 +1,23 @@
--- @meta fs
local fs = {};
--- @param path string
--- @param recursive? boolean
--- @return boolean? ok
--- @return string? err
function fs.mkdir(path, recursive) end
--- @param src string
--- @param dst string
--- @return boolean? ok
--- @return string? err
function fs.symlink(src, dst) end
--- @param path string
--- @param mode string | integer
--- @return boolean? ok
--- @return string? err
function fs.chmod(path, mode) end
return fs;