Skip to contents

Resolves a path stored relative to the project configuration directory (the directory containing pharos.toml) to an absolute path. If the path is already absolute, it is returned unchanged.

Usage

from_config_relative(path)

Arguments

path

A config-relative or absolute file path.

Value

The absolute file path as a character string.

Details

hyperion model objects store paths relative to the project configuration directory. Use this function to resolve them to absolute paths for file system operations.