Skip to contents

Detect the backend for a file

Usage

at_backend_detect(path, call = rlang::caller_env())

Arguments

path

Single string file path.

call

The calling environment, for error reporting.

Value

The name of the first available backend (in priority order) that can read path. Errors informatively if none can.