Skip to main content

resolve_project_data_path_with_format

Function resolve_project_data_path_with_format 

Source
pub fn resolve_project_data_path_with_format(
    file: impl AsRef<Path>,
    format: ProjectDataFormat,
) -> Result<PathBuf, String>
Expand description

Resolve storage with an explicit external JSON or Links Notation boundary.

ยงErrors

Returns an error when automatic or Links Notation resolution finds both formats. Explicit JSON always preserves the requested path.