Mojo function
join
join(path: String, *paths: String) -> String
Join two or more pathname components, inserting '/' as needed. If any component is an absolute path, all previous path components will be discarded. An empty last part will result in a path that ends with a separator.
Args:
- βpath (
String
): The path to join. - β*paths (
String
): The paths to join.
Returns:
The joined path.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
π What went wrong?