feat: complete tests
This commit is contained in:
@@ -5,8 +5,14 @@ import (
|
||||
"log"
|
||||
"os"
|
||||
"os/exec"
|
||||
|
||||
"github.com/fsnotify/fsnotify"
|
||||
)
|
||||
|
||||
type NotifyIface interface {
|
||||
NewWatcher() (*fsnotify.Watcher, error)
|
||||
}
|
||||
|
||||
type WatcherIface interface {
|
||||
Monitor(path string) error
|
||||
Listen(binaryPath, scriptPath string, outputErr chan<- error)
|
||||
|
||||
Reference in New Issue
Block a user