forked from lorenzwalthert/precommit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
API
14 lines (12 loc) · 742 Bytes
/
API
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# API for precommit package
## Exported functions
autoupdate(root = here::here())
diff_requires_run_roxygenize(root = here::here())
install_precommit(force = FALSE)
open_config(root = here::here())
open_wordlist(root = here::here())
path_pre_commit_exec(check_if_exists = TRUE)
path_precommit_exec(check_if_exists = TRUE)
uninstall_precommit(scope = "repo", ask = "user", root = here::here())
use_precommit(config_source = getOption("precommit.config_source"), force = FALSE, legacy_hooks = "forbid", open = rstudioapi::isAvailable(), install_hooks = TRUE, root = here::here())
use_precommit_config(config_source = getOption("precommit.config_source"), force = FALSE, open = rstudioapi::isAvailable(), verbose = FALSE, root = here::here())