File tree Expand file tree Collapse file tree 7 files changed +11
-21
lines changed Expand file tree Collapse file tree 7 files changed +11
-21
lines changed Original file line number Diff line number Diff line change 11local platform = require ' bee.platform'
22local fs = require ' bee.filesystem'
3- local sys = require ' bee.sys'
43local config = require ' config'
54local glob = require ' glob'
65local furi = require ' file-uri'
@@ -71,7 +70,7 @@ local function getRealParent(path)
7170 == path :string ():gsub (' ^%w+:' , string.lower ) then
7271 return path
7372 end
74- local res = sys .fullpath (path )
73+ local res = fs .fullpath (path )
7574 return getRealParent (parent ) / res :filename ()
7675end
7776
Original file line number Diff line number Diff line change 11local fw = require ' bee.filewatch'
22local fs = require ' bee.filesystem'
33local plat = require ' bee.platform'
4- local sys = require ' bee.sys'
54local await = require ' await'
65local files = require ' files'
76
@@ -17,7 +16,7 @@ local function isExists(filename)
1716 if plat .os ~= ' windows' then
1817 return true
1918 end
20- local res = sys .fullpath (path )
19+ local res = fs .fullpath (path )
2120 if not res then
2221 return false
2322 end
Original file line number Diff line number Diff line change 1- --- @meta bee.filesystem
1+ --- @meta
22
33--- @class fs.path
44--- @operator div : fs.path
7373function fs .canonical (path )
7474end
7575
76+ --- @param path fs.path
77+ --- @return fs.path
78+ function fs .fullpath (path )
79+ end
80+
7681--- @param path fs.path
7782--- @return fs.path
7883function fs .absolute (path )
Original file line number Diff line number Diff line change 1- --- @meta bee.filewatch
1+ --- @meta
22
33--- @class bee.filewatch.instance
44local instance = {}
Original file line number Diff line number Diff line change 1- --- @meta bee.socket
1+ --- @meta
22
33--- @alias bee.socket.protocol
44--- | ' tcp'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- --- @meta bee.thread
1+ --- @meta
22
33--- @class bee.thread
44local thread = {}
You can’t perform that action at this time.
0 commit comments