17 lines
447 B
Plaintext
17 lines
447 B
Plaintext
:sig
|
|
String expand_path(String path, String relative_to_path = "")
|
|
|
|
:params
|
|
path : a relative path
|
|
relative_to_path : optional, expand relative to this path (if not given, the current path is used)
|
|
return value : expanded version of the 'path'
|
|
|
|
:see
|
|
>sys
|
|
|
|
:content
|
|
Converts a relative path name into an absolute path, using the current working directory as a base when `relative_to_path` is not provided.
|
|
|
|
:example
|
|
print("expand_path example\n");
|