utils_location_get_dirname_for_display


Description:


public string utils_location_get_dirname_for_display (File location)

Returns a string suitable to be displayed in the UI indicating the name of the directory where the file is located.

For remote files it may also contain the hostname etc. For local files it tries to replace the home dir with ~.

Parameters:

location

the location

Returns:

a string to display the dirname


Namespace: Gedit
Package: gedit



2022 vala-language.org