blob: b5211355ed7c7bfcfa005f6802464b81e1cbd665 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
---@meta
---@class bee.filewatch.instance
local instance = {}
---@param path string
function instance:add(path)
end
---@param enable boolean
---@return boolean
function instance:set_recursive(enable)
end
---@param enable boolean
---@return boolean
function instance:set_follow_symlinks(enable)
end
---@param callback? fun(path: string):boolean
---@return boolean
function instance:set_filter(callback)
end
---@class bee.filewatch
local fw = {}
---@return bee.filewatch.instance
function fw.create()
end
return fw
|