registerPathAlias#

Fully qualified name: carb::tokens::registerPathAlias

Defined in carb/tokens/PathAlias.h

inline bool carb::tokens::registerPathAlias(
cpp::string_view alias,
cpp::string_view value,
)#

Registers a new path string alias for replacement with resolvePathAliases().

Parameters:
  • alias[in] The alias string to be replaced. This should not contain the replacement marker around the name “${}”.

  • value[in] The value to replace the alias string with.

Returns:

true if the alias was successfully registered, false if the tokens interface is not available.