summaryrefslogtreecommitdiff
path: root/script/meta/bee
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-02-04 16:08:54 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-02-04 16:08:54 +0800
commit4504ee2ff574ab378ecf70f0bbfc5f664012ef02 (patch)
treea6f443aa3ad6ae58a791f8dc494ac187db4cc930 /script/meta/bee
parent9ba615e2af45cfe98d59612eb058f78372aa2966 (diff)
downloadlua-language-server-4504ee2ff574ab378ecf70f0bbfc5f664012ef02.zip
improve peformance for scanning files
#1872
Diffstat (limited to 'script/meta/bee')
-rw-r--r--script/meta/bee/filesystem.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/meta/bee/filesystem.lua b/script/meta/bee/filesystem.lua
index 6190dac7..5ffeda4a 100644
--- a/script/meta/bee/filesystem.lua
+++ b/script/meta/bee/filesystem.lua
@@ -31,7 +31,7 @@ end
---@class fs.status
local fsStatus = {}
----@return string
+---@return 'none' | 'not_found' | 'regular' | 'directory' | 'symlink' | 'block' | 'character' | 'fifo' | 'junction' | 'unknown'
function fsStatus:type()
end
@@ -64,7 +64,7 @@ function fs.is_directory(path)
end
---@param path fs.path
----@return fun():fs.path
+---@return fun():fs.path, fs.status
function fs.pairs(path)
end