mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
Bug 543183 – Clarify docs for g_file_has_prefix
2009-02-26 Alexander Larsson <alexl@redhat.com> Bug 543183 – Clarify docs for g_file_has_prefix * gfile.c: (g_file_has_prefix): Clarify how the prefix matching works. svn path=/trunk/; revision=7915
This commit is contained in:
parent
fa558d00c3
commit
1ab68f9ee9
@ -1,3 +1,10 @@
|
||||
2009-02-26 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
Bug 543183 – Clarify docs for g_file_has_prefix
|
||||
|
||||
* gfile.c: (g_file_has_prefix):
|
||||
Clarify how the prefix matching works.
|
||||
|
||||
2009-02-26 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdesktopappinfo.c:
|
||||
|
@ -685,6 +685,8 @@ g_file_get_child_for_display_name (GFile *file,
|
||||
*
|
||||
* Checks whether @file has the prefix specified by @prefix. In other word,
|
||||
* if the names of inital elements of @file<!-- -->s pathname match @prefix.
|
||||
* Only full pathname elements are matched, so a path like /foo is not
|
||||
* considered a prefix of /foobar, only of /foo/bar.
|
||||
*
|
||||
* This call does no i/o, as it works purely on names. As such it can
|
||||
* sometimes return %FALSE even if @file is inside a @prefix (from a
|
||||
|
Loading…
Reference in New Issue
Block a user