find_mock_file: Go through mock paths to find the local mock file location

View source: R/mock-api.R

find_mock_fileR Documentation

Go through mock paths to find the local mock file location

Description

Go through mock paths to find the local mock file location

Usage

find_mock_file(file)

Arguments

file

A file path, as generated by build_mock_url().

Value

A path to a file that exists, or NULL if none found.


httptest documentation built on July 9, 2023, 7:45 p.m.