get_dirname


Description:

public string get_dirname (string file_name)

Gets the directory components of a file name.

If the file name has no directory components "." is returned. The returned string should be freed when no longer needed.

Parameters:

file_name

the name of the file

Returns:

the directory components of the file


Namespace: GLib.Path
Package: glib-2.0