mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 09:46:17 +01:00
Merge branch 'dirname-of-root-docs' into 'master'
gfileutils: Add examples to g_path_get_dirname() documentation See merge request GNOME/glib!410
This commit is contained in:
commit
85de7749c4
@ -2387,7 +2387,9 @@ g_path_get_basename (const gchar *file_name)
|
|||||||
* g_path_get_dirname:
|
* g_path_get_dirname:
|
||||||
* @file_name: (type filename): the name of the file
|
* @file_name: (type filename): the name of the file
|
||||||
*
|
*
|
||||||
* Gets the directory components of a file name.
|
* Gets the directory components of a file name. For example, the directory
|
||||||
|
* component of `/usr/bin/test` is `/usr/bin`. The directory component of `/`
|
||||||
|
* is `/`.
|
||||||
*
|
*
|
||||||
* If the file name has no directory components "." is returned.
|
* If the file name has no directory components "." is returned.
|
||||||
* The returned string should be freed when no longer needed.
|
* The returned string should be freed when no longer needed.
|
||||||
|
Loading…
Reference in New Issue
Block a user