Using those examples directly it is possible to synchronize local folder on Windows to a linux server and transferred files are logged.
However, for a file that is not transferred (either direction) due to it already being present, I can find no corresponding event. Is this use case not considered relevant? In the GUI you can preview changes so this indicates a very similar use-case was considered for the gui. It's possible I'm not seeing a class or method due to user error.