hook_state_create: Create a hook state

View source: R/testing.R

hook_state_createR Documentation

Create a hook state

Description

Runs the hook script to create a hook state, i.e. exit code, transformed files and emitted messages of the hook run.

Usage

hook_state_create(
  tempdir,
  path_candidate_temp,
  path_executable,
  cmd_args,
  path_stdout,
  path_stderr,
  env
)

precommit documentation built on Sept. 11, 2024, 7:07 p.m.