Present since hutils v1.5.0.

provide.file(path, on_failure = "")

Arguments

path

A string. The path to a filename that requires existence.

on_failure

The return value on failure. By default, an empty string.

Value

path for success. Or on_failure if the path cannot be provided.