summaryrefslogtreecommitdiff
path: root/script/meta/bee
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-11-23 19:52:57 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-11-23 19:52:57 +0800
commitd86c2c46e8985da8899ae77d4c6f54f5b902cd71 (patch)
tree7d4adab36450f59cd3e9456086614120176731fc /script/meta/bee
parentb18329cea47f2de9c50abefecaccf248c16aa398 (diff)
downloadlua-language-server-d86c2c46e8985da8899ae77d4c6f54f5b902cd71.zip
change `config.lua` to `config,json`
#1607
Diffstat (limited to 'script/meta/bee')
-rw-r--r--script/meta/bee/filesystem.lua8
1 files changed, 6 insertions, 2 deletions
diff --git a/script/meta/bee/filesystem.lua b/script/meta/bee/filesystem.lua
index 1f62e78c..6190dac7 100644
--- a/script/meta/bee/filesystem.lua
+++ b/script/meta/bee/filesystem.lua
@@ -44,7 +44,7 @@ local copy_options
fs.copy_options = copy_options
----@param path string
+---@param path string|fs.path
---@return fs.path
function fs.path(path)
end
@@ -99,7 +99,7 @@ end
---@param source fs.path
---@param target fs.path
----@param options? `fs.copy_options.overwrite_existing`
+---@param options? integer | `fs.copy_options.overwrite_existing`
function fs.copy_file(source, target, options)
end
@@ -108,4 +108,8 @@ end
function fs.rename(oldPath, newPath)
end
+---@return fs.path
+function fs.current_path()
+end
+
return fs