mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 09:49:12 +08:00
Remove unused function.
The `get_hg_status()` function has been unused since commit
35eab7a51a
in 2018.
This commit is contained in:
parent
c9153c96bf
commit
5fab87f4d6
15
vendor/clink.lua
vendored
15
vendor/clink.lua
vendored
@ -393,21 +393,6 @@ local function get_git_status()
|
||||
return { status = is_status, conflict = conflict_found }
|
||||
end
|
||||
|
||||
---
|
||||
-- Get the status of working dir
|
||||
-- @return {bool}
|
||||
---
|
||||
local function get_hg_status()
|
||||
local file = io.popen("hg status -0")
|
||||
for line in file:lines() do
|
||||
file:close()
|
||||
return false
|
||||
end
|
||||
file:close()
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
---
|
||||
-- Get the status of working dir
|
||||
-- @return {bool}
|
||||
|
Loading…
Reference in New Issue
Block a user