Pike v8.0 release 1738

Method Gnome.FileEntry()->get_full_path()


Method get_full_path

string get_full_path(int file_must_exist)

Description

Gets the full absolute path of the file from the entry. If file_must_exist is false, nothing is tested and the path is returned. If file_must_exist is true, then the path is only returned if the path actually exists. In case the entry is a directory entry (see set_directory), then if the path exists and is a directory then it's returned; if not, it is assumed it was a file so we try to strip it, and try again.