Various fixes for updating dircounts with watch enabled (#1881)

* Fix file size bug when copying files

* Don't remove existing watches

* Bump fsnotify

* Ignore watching `/dev`
This commit is contained in:
Joe Lim authored and GitHub committed 2025-01-15 13:06:00 +11:00
1 parent 8bfa3a6d34
commit 2095efa661
5 files changed
+20 -22

No files matched your search

+3 -3
View File
@@ -5,7 +5,7 @@ go 1.23
require (
github.com/Xuanwo/go-locale v1.1.2
github.com/djherbis/times v1.6.0
github.com/fsnotify/fsnotify v1.7.0
github.com/fsnotify/fsnotify v1.8.0
github.com/gdamore/tcell/v2 v2.7.4
github.com/mattn/go-runewidth v0.0.16
golang.org/x/sys v0.28.0
@@ -14,7 +14,7 @@ require (
)
require (
github.com/gdamore/encoding v1.0.0 // indirect
github.com/gdamore/encoding v1.0.1 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
github.com/rivo/uniseg v0.4.3 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
)