[][src]Module qrsync::utils

Shared utility functionalities.

Functions

copy_file

Copy a file from a source to a destination. The file_name and content_type are used to produce nice errors.

register_signal_handlers

Register signal handlers for SIGTERM, SIGINT and SIGQUIT

setup_logging

Setup logging, with different level configurations for QrSync and the rest of libraries used.

Type Definitions

ResultOrError

Handy type handling Result and Errors.