pub fn read(text: &str, dir_name: &str, origin: Origin) -> HookRead
Read a hook.toml. dir_name names the hook when the file does not.
hook.toml
dir_name