4
\description{Checks whether \code{file} has the prefix specified by \code{prefix}. In other word,
5
if the names of inital elements of \code{file}s pathname match \code{prefix}.
6
Only full pathname elements are matched, so a path like /foo is not
7
considered a prefix of /foobar, only of /foo/bar.}
8
\usage{gFileHasPrefix(object, descendant)}
10
\item{\verb{object}}{input \code{\link{GFile}}.}
11
\item{\verb{descendant}}{input \code{\link{GFile}}.}
13
\details{This call does no i/o, as it works purely on names. As such it can
14
sometimes return \code{FALSE} even if \code{file} is inside a \code{prefix} (from a
15
filesystem point of view), because the prefix of \code{file} is an alias
17
\value{[logical] \code{TRUE} if the \code{files}'s parent, grandparent, etc is \code{prefix}.
18
\code{FALSE} otherwise.}
19
\author{Derived by RGtkGen from GTK+ documentation}