]> ruderich.org/simon Gitweb - safcm/safcm.git/commitdiff
Move synchronization loop into new package frontend
authorSimon Ruderich <simon@ruderich.org>
Tue, 18 May 2021 15:46:56 +0000 (17:46 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 18 May 2021 16:23:47 +0000 (18:23 +0200)
This is in preparation for other programs (besides cmd/safcm) using the
safcm library. To reduce code duplication useful functions will be
provided by the frontend package. Its use is optional. All core
functionality is provided by the regular safcm packages.

The logging setup was slightly modified. Log messages are now no longer
filtered by Sync.log() but by the new log function Loop.LogEventFunc (or
its implementation logEvent()). This is also the reason why one test was
removed from sync_sync_test.go which is no longer relevant.


No differences found