summaryrefslogtreecommitdiff
path: root/lib/watchfs/watchcallback.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/watchfs/watchcallback.go')
-rw-r--r--lib/watchfs/watchcallback.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/watchfs/watchcallback.go b/lib/watchfs/watchcallback.go
deleted file mode 100644
index ab14537b..00000000
--- a/lib/watchfs/watchcallback.go
+++ /dev/null
@@ -1,9 +0,0 @@
-// SPDX-FileCopyrightText: 2019 M. Shulhan <ms@kilabit.info>
-// SPDX-License-Identifier: BSD-3-Clause
-
-package watchfs
-
-// WatchCallback is a function that will be called when Watcher or DirWatcher
-// detect any changes on its file or directory.
-// The watcher will pass the file information and its state.
-type WatchCallback func(*NodeState)