diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-07 00:35:24 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-07-07 00:35:24 +0800 |
commit | 7c9503e0f1d2566a9a6df9f5c309af48972cabb3 (patch) | |
tree | e5d6c5bf2fa9491218fa84fd5dcb78906d5e2742 /script/meta/bee | |
parent | 01a09c66af04ab3e37d02782721c20bff8092e15 (diff) | |
download | lua-language-server-7c9503e0f1d2566a9a6df9f5c309af48972cabb3.zip |
add meta file for `bee.filesystem`
Diffstat (limited to 'script/meta/bee')
-rw-r--r-- | script/meta/bee/filesystem.lua | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/script/meta/bee/filesystem.lua b/script/meta/bee/filesystem.lua new file mode 100644 index 00000000..54c17c37 --- /dev/null +++ b/script/meta/bee/filesystem.lua @@ -0,0 +1,28 @@ +---@class fspath +---@operator div: fspath +local fsPath = {} + +---@return string +function fsPath:string() +end + +---@return fspath +function fsPath:parent_path() +end + +---@return boolean +function fsPath:is_relative() +end + +---@return fspath +function fsPath:filename() +end + +local fs = {} + +---@param path string +---@return fspath +function fs.path(path) +end + +return fs |