Getting and Setting File Information
Getting and Setting File Information —
Synopsis
GnomeVFSResult gnome_vfs_get_file_info (const gchar *text_uri,
GnomeVFSFileInfo *info,
GnomeVFSFileInfoOptions options);
GnomeVFSResult gnome_vfs_get_file_info_uri (GnomeVFSURI *uri,
GnomeVFSFileInfo *info,
GnomeVFSFileInfoOptions options);
GnomeVFSResult gnome_vfs_get_file_info_from_handle
(GnomeVFSHandle *handle,
GnomeVFSFileInfo *info,
GnomeVFSFileInfoOptions options);
GnomeVFSResult gnome_vfs_set_file_info_uri (GnomeVFSURI *uri,
GnomeVFSFileInfo *info,
GnomeVFSSetFileInfoMask mask);
GnomeVFSResult gnome_vfs_set_file_info (const gchar *text_uri,
GnomeVFSFileInfo *info,
GnomeVFSSetFileInfoMask mask);
Description
Details
gnome_vfs_get_file_info ()
GnomeVFSResult gnome_vfs_get_file_info (const gchar *text_uri,
GnomeVFSFileInfo *info,
GnomeVFSFileInfoOptions options);
text_uri : | URI of the file for which information will be retrieved
|
info : | Pointer to a GnomeVFSFileInfo object that will hold the information
for the file on return
|
options : | Options for retrieving file information
to retrieve for the file
|
Returns : | An integer representing the result of the operation
|
gnome_vfs_get_file_info_uri ()
GnomeVFSResult gnome_vfs_get_file_info_uri (GnomeVFSURI *uri,
GnomeVFSFileInfo *info,
GnomeVFSFileInfoOptions options);
uri : | URI of the file for which information will be retrieved
|
info : | Pointer to a GnomeVFSFileInfo object that will hold the information
for the file on return
|
options : | Options for retrieving file information
to retrieve for the file
|
Returns : | An integer representing the result of the operation
|
gnome_vfs_get_file_info_from_handle ()
GnomeVFSResult gnome_vfs_get_file_info_from_handle
(GnomeVFSHandle *handle,
GnomeVFSFileInfo *info,
GnomeVFSFileInfoOptions options);
handle : | Handle of the file for which information must be retrieved
|
info : | Pointer to a GnomeVFSFileInfo object that will hold the information
for the file on return
|
options : | Options for retrieving file information
to retrieve for the file
|
Returns : | An integer representing the result of the operation
|
gnome_vfs_set_file_info_uri ()
GnomeVFSResult gnome_vfs_set_file_info_uri (GnomeVFSURI *uri,
GnomeVFSFileInfo *info,
GnomeVFSSetFileInfoMask mask);
uri : | A URI
|
info : | Information that must be set for the file
|
mask : | Bit mask representing which fields of info need to be set
|
Returns : | An integer representing the result of the operation.
|
gnome_vfs_set_file_info ()
GnomeVFSResult gnome_vfs_set_file_info (const gchar *text_uri,
GnomeVFSFileInfo *info,
GnomeVFSSetFileInfoMask mask);
text_uri : | A URI
|
info : | Information that must be set for the file
|
mask : | Bit mask representing which fields of info need to be set
|
Returns : | An integer representing the result of the operation.
|
See Also