File: gMountGuessContentTypeSync.Rd

package info (click to toggle)
rgtk2 2.20.36-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 33,540 kB
  • sloc: ansic: 137,163; makefile: 2; sh: 1
file content (28 lines) | stat: -rw-r--r-- 1,389 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
\alias{gMountGuessContentTypeSync}
\name{gMountGuessContentTypeSync}
\title{gMountGuessContentTypeSync}
\description{Tries to guess the type of content stored on \code{mount}. Returns one or
more textual identifiers of well-known content types (typically
prefixed with "x-content/"), e.g. x-content/image-dcf for camera 
memory cards. See the shared-mime-info (\url{http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec})
specification for more on x-content types.}
\usage{gMountGuessContentTypeSync(object, force.rescan, cancellable = NULL, 
    .errwarn = TRUE)}
\arguments{
\item{\verb{object}}{a \code{\link{GMount}}}
\item{\verb{force.rescan}}{Whether to force a rescan of the content.
Otherwise a cached result will be used if available}
\item{\verb{cancellable}}{optional \code{\link{GCancellable}} object, \code{NULL} to ignore}
\item{.errwarn}{Whether to issue a warning on error or fail silently}
}
\details{This is an synchronous operation and as such may block doing IO;
see \code{\link{gMountGuessContentType}} for the asynchronous version.
  Since 2.18}
\value{
A list containing the following elements:
\item{retval}{[character] a list of content types or \code{NULL} on error.}
\item{\verb{error}}{a \code{\link{GError}} location to store the error occuring, or \code{NULL} to
ignore}
}
\author{Derived by RGtkGen from GTK+ documentation}
\keyword{internal}