hacks/path_operations |
Public Methods |
Determine the "real" name of a file.
On Win32 (and other platforms that don't support symlinks), this should return whatever was passed (similar to the "truename" command on DOS, but at the moment doesn't handle subst'd drives).
On Unix, this will break the filename into pieces and remove all symlinks from the filename. It does not handle hard links.
file | the filename to process. |
---|
Returns: the "real" name of the passed filename.
Given a filename, search for it in path.
file | the name of the file to find |
---|---|
path | an array containing all the directories to search |
extensions | an array containing extensions to search for |
Returns: the full pathname of the file, or just the parameter file if it was not found.