aboutsummaryrefslogtreecommitdiffhomepage
path: root/watcher/filenotify
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-01-28 22:34:10 +0100
committerBjørn Erik Pedersen <[email protected]>2024-01-28 23:14:09 +0100
commita795acbcd8b18aa4af384d5c03f30740361c8fcf (patch)
tree0dbf7b000681a738b892c5235daf52c63cda88b9 /watcher/filenotify
parent982d9513e71b3d48e20cfa38454a0e1215a8d963 (diff)
downloadhugo-a795acbcd8b18aa4af384d5c03f30740361c8fcf.tar.gz
hugo-a795acbcd8b18aa4af384d5c03f30740361c8fcf.zip
all: Run gofumpt -l -w .
Diffstat (limited to 'watcher/filenotify')
-rw-r--r--watcher/filenotify/poller.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/watcher/filenotify/poller.go b/watcher/filenotify/poller.go
index 3bde73bd8..cedb5d079 100644
--- a/watcher/filenotify/poller.go
+++ b/watcher/filenotify/poller.go
@@ -248,7 +248,6 @@ func newItemToWatch(filename string) (*itemToWatch, error) {
}
return &itemToWatch{filename: filename, left: r}, nil
-
}
func (item *itemToWatch) checkForChanges() ([]fsnotify.Event, error) {
@@ -298,7 +297,6 @@ func (item *itemToWatch) checkForChanges() ([]fsnotify.Event, error) {
}
return evs, nil
-
}
func checkChange(fi1, fi2 os.FileInfo) fsnotify.Op {