yasuki_core.paths.resolve_set_image_path#

resolve_set_image_path(relative_path)[source]#

Resolve a DB-stored image path to an absolute filesystem path.

The database stores paths like "sets/celestial_edition/card.png". This strips the leading sets/ prefix and resolves against SETS_DIR.

Parameters:
relative_pathstr

Relative path as stored in the database

Returns:
resolvedPath or None

Absolute path, or None if the input is empty