From eac82e69fb1016fb351349be919539989425d530 Mon Sep 17 00:00:00 2001 From: Guldoman Date: Wed, 22 Dec 2021 23:43:56 +0100 Subject: [PATCH] Add parameters to `core.on_dirmonitor_{modify,delete}` --- data/core/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/core/init.lua b/data/core/init.lua index 0b4c355f..c76c6366 100644 --- a/data/core/init.lua +++ b/data/core/init.lua @@ -1158,8 +1158,8 @@ end -- no-op but can be overrided by plugins -function core.on_dirmonitor_modify() end -function core.on_dirmonitor_delete() end +function core.on_dirmonitor_modify(dir, filepath) end +function core.on_dirmonitor_delete(dir, filepath) end function core.on_dir_change(watch_id, action, filepath)