Rename project to unc-file-watcher

This commit is contained in:
Codex
2026-04-17 17:41:57 +08:00
parent 1d283d540c
commit 4379c6c995
4 changed files with 8 additions and 6 deletions
+2
View File
@@ -1,5 +1,7 @@
.gocache/
.gotmp/
unc-file-watcher.exe
unc-file-watcher-settings.json
unc_tar_watcher.exe
unc_tar_watcher.exe~
unc_tar_watcher_settings.json
+4 -4
View File
@@ -52,13 +52,13 @@ stable_scans: 3
## Build
```powershell
go build -o unc_tar_watcher.exe .
go build -o unc-file-watcher.exe .
```
## Run
```powershell
.\unc_tar_watcher.exe
.\unc-file-watcher.exe
```
Default listen address:
@@ -70,7 +70,7 @@ http://127.0.0.1:18080
To change the port:
```powershell
.\unc_tar_watcher.exe -listen 127.0.0.1:19090
.\unc-file-watcher.exe -listen 127.0.0.1:19090
```
## Web UI Settings
@@ -103,7 +103,7 @@ To change the port:
The web UI saves settings automatically next to the executable:
```text
unc_tar_watcher_settings.json
unc-file-watcher-settings.json
```
When you open the page again, the last saved settings are loaded automatically.
+1 -1
View File
@@ -1,3 +1,3 @@
module file_listening_tools
module unc-file-watcher
go 1.26
+1 -1
View File
@@ -13,7 +13,7 @@ const (
defaultInterval = 15 * time.Second
defaultStableFor = 30 * time.Second
maxLogLines = 200
settingsFileName = "unc_tar_watcher_settings.json"
settingsFileName = "unc-file-watcher-settings.json"
genericDedupeNameSize = "name_size"
genericDedupeNameHash = "name_hash"
)