acidbase.add_to_path_end

acidbase.add_to_path_end(path_string: str, new_path: str) str

Append new_path to the end of a path string (if not present).

Parameters:
  • path_string (str) – Colon-separated path string.

  • new_path (str) – Entry to append.

Returns:

Updated path string.

Return type:

str