updateIfNeeded

abstract fun updateIfNeeded(context: UpdateContext): Boolean

Attempts to update the target configuration file.

Return

true if the configuration file was modified and needs to be reloaded, false if no changes were made

Parameters

context

the UpdateContext providing information about the file, parser, logger, and resource path