a lot of shit
This commit is contained in:
23
mod/fs.d.lua
Normal file
23
mod/fs.d.lua
Normal 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;
|
||||
Reference in New Issue
Block a user