summaryrefslogtreecommitdiffstats
path: root/pkg/gui/file_watching.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-09-29 18:45:00 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-09-29 20:48:49 +1000
commit8d2af5cc61c8bc94da6f608598ff27aead491c6a (patch)
tree7764922b2e44960788df83ecfa3bd69b491caebf /pkg/gui/file_watching.go
parenteda4619a4f05b6720d091b31e60515f7289b9a47 (diff)
move file and submodule
Diffstat (limited to 'pkg/gui/file_watching.go')
-rw-r--r--pkg/gui/file_watching.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/file_watching.go b/pkg/gui/file_watching.go
index 81a0c97fc..e503316b4 100644
--- a/pkg/gui/file_watching.go
+++ b/pkg/gui/file_watching.go
@@ -5,7 +5,7 @@ import (
"path/filepath"
"github.com/fsnotify/fsnotify"
- "github.com/jesseduffield/lazygit/pkg/commands"
+ "github.com/jesseduffield/lazygit/pkg/models"
"github.com/sirupsen/logrus"
)
@@ -73,7 +73,7 @@ func (w *fileWatcher) watchFilename(filename string) {
w.WatchedFilenames = append(w.WatchedFilenames, filename)
}
-func (w *fileWatcher) addFilesToFileWatcher(files []*commands.File) error {
+func (w *fileWatcher) addFilesToFileWatcher(files []*models.File) error {
if w.Disabled {
return nil
}