libb.get_tempdir

get_tempdir()[source]

Get temporary directory setting from environment or system default.

Returns:

Setting object with dir attribute pointing to temp directory.

Return type:

Setting

Uses CONFIG_TMPDIR_DIR environment variable if set, otherwise falls back to system temp directory.