Skip to main content

Module init

Module init 

Source

Functions§

has_stale_hooks
Check if settings.json has cove hooks pointing to a different binary path.
hooks_installed
Check if Cove hooks are already installed in settings.json with the correct binary path. Returns false if hooks are missing OR if the binary path is stale.
install_hooks
Install Cove hooks into settings.json. Appends to existing hook arrays — does not overwrite.
run