find_mock_file function

Go through mock paths to find the local mock file location

Go through mock paths to find the local mock file location

find_mock_file(file)

Arguments

  • file: A file path, as generated by build_mock_url().

Returns

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