From 4379c6c9955bfeb6af6f73acac517da433f87cd8 Mon Sep 17 00:00:00 2001 From: Codex Date: Fri, 17 Apr 2026 17:41:57 +0800 Subject: [PATCH] Rename project to unc-file-watcher --- .gitignore | 2 ++ README.md | 8 ++++---- go.mod | 2 +- types.go | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 4d7c813..67b29a8 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/README.md b/README.md index 13cbc57..1b5f043 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/go.mod b/go.mod index f56b663..7c32baa 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module file_listening_tools +module unc-file-watcher go 1.26 diff --git a/types.go b/types.go index f5ab566..dea75c1 100644 --- a/types.go +++ b/types.go @@ -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" )