summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-11-09 00:15:33 +0700
committerShulhan <ms@kilabit.info>2023-11-09 20:26:43 +0700
commit80c4242daca3ae106dcf1fccba37b6bf73598558 (patch)
tree897373077c9dd227d000e70b8378ef1ec1647846
parent159cd136ff12cf1c269c57e942479b2cf46d1fcc (diff)
downloadciigo-80c4242daca3ae106dcf1fccba37b6bf73598558.tar.xz
all: update comment on newWatcher
-rw-r--r--watcher.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/watcher.go b/watcher.go
index 81108bc..3f4fd8f 100644
--- a/watcher.go
+++ b/watcher.go
@@ -38,11 +38,11 @@ type watcher struct {
//
// watcher
// |
-// +-- watchFileMarkup --> UPDATE --> Converter.ToHtmlFile()
+// +-- watchFileMarkup --> UPDATE --> Converter.convertFileMarkups()
// |
// +-- watchHtmlTemplate +--> DELETE --> Converter.htmlTemplateUseInternal()
// |
-// +--> UPDATE --> Converter.htmlTemplateReload()
+// +--> UPDATE --> Converter.convertFileMarkups()
func newWatcher(converter *Converter, convertOpts *ConvertOptions) (w *watcher, err error) {
var (
logp = `newWatcher`