17 lines
362 B
Plaintext
17 lines
362 B
Plaintext
:sig
|
|
String path_real(String path)
|
|
|
|
:params
|
|
path : filesystem path
|
|
return value : canonical absolute path, or an empty string when the path cannot be resolved
|
|
|
|
:see
|
|
>sys
|
|
>path_is_within
|
|
|
|
:content
|
|
Returns the host canonical path using `realpath()`. Relative paths resolve according to the worker process current directory.
|
|
|
|
:example
|
|
print("path_real example\n");
|