method
realdirpath
v2_1_10 -
Show latest stable
- Class:
File
realdirpath(p1, p2 = v2)public
Returns the real (absolute) pathname of pathname in the actual filesystem. The real pathname doesn’t contain symlinks or useless dots.
If dir_string is given, it is used as a base directory for interpreting relative pathname instead of the current directory.
The last component of the real pathname can be nonexistent.