File Operations

File Operations

Synopsis


#include <libtracker-common/tracker-file-utils.h>

gboolean            tracker_env_check_xdg_dirs          (void);
void                tracker_file_close                  (gint fd,
                                                         gboolean no_longer_needed);
gchar*              tracker_file_get_mime_type          (const gchar *uri);
gint32              tracker_file_get_mtime              (const gchar *uri);
void                tracker_file_get_path_and_name      (const gchar *uri,
                                                         gchar **path,
                                                         gchar **name);
guint32             tracker_file_get_size               (const gchar *uri);
gboolean            tracker_file_is_directory           (const gchar *uri);
gboolean            tracker_file_is_indexable           (const gchar *uri);
gboolean            tracker_file_is_valid               (const gchar *uri);
gint                tracker_file_open                   (const gchar *uri,
                                                         gboolean readahead);
gboolean            tracker_file_unlink                 (const gchar *uri);
gchar*              tracker_path_evaluate_name          (const gchar *uri);
void                tracker_path_hash_table_filter_duplicates
                                                        (GHashTable *roots);
gboolean            tracker_path_is_in_path             (const gchar *path,
                                                         const gchar *in_path);
GSList*             tracker_path_list_filter_duplicates (GSList *roots);
void                tracker_path_remove                 (const gchar *uri);

Description

Details

tracker_env_check_xdg_dirs ()

gboolean            tracker_env_check_xdg_dirs          (void);

Returns :

tracker_file_close ()

void                tracker_file_close                  (gint fd,
                                                         gboolean no_longer_needed);

fd :
no_longer_needed :

tracker_file_get_mime_type ()

gchar*              tracker_file_get_mime_type          (const gchar *uri);

uri :
Returns :

tracker_file_get_mtime ()

gint32              tracker_file_get_mtime              (const gchar *uri);

uri :
Returns :

tracker_file_get_path_and_name ()

void                tracker_file_get_path_and_name      (const gchar *uri,
                                                         gchar **path,
                                                         gchar **name);

uri :
path :
name :

tracker_file_get_size ()

guint32             tracker_file_get_size               (const gchar *uri);

uri :
Returns :

tracker_file_is_directory ()

gboolean            tracker_file_is_directory           (const gchar *uri);

uri :
Returns :

tracker_file_is_indexable ()

gboolean            tracker_file_is_indexable           (const gchar *uri);

uri :
Returns :

tracker_file_is_valid ()

gboolean            tracker_file_is_valid               (const gchar *uri);

uri :
Returns :

tracker_file_open ()

gint                tracker_file_open                   (const gchar *uri,
                                                         gboolean readahead);

uri :
readahead :
Returns :

tracker_file_unlink ()

gboolean            tracker_file_unlink                 (const gchar *uri);

uri :
Returns :

tracker_path_evaluate_name ()

gchar*              tracker_path_evaluate_name          (const gchar *uri);

uri :
Returns :

tracker_path_hash_table_filter_duplicates ()

void                tracker_path_hash_table_filter_duplicates
                                                        (GHashTable *roots);

roots :

tracker_path_is_in_path ()

gboolean            tracker_path_is_in_path             (const gchar *path,
                                                         const gchar *in_path);

path :
in_path :
Returns :

tracker_path_list_filter_duplicates ()

GSList*             tracker_path_list_filter_duplicates (GSList *roots);

roots :
Returns :

tracker_path_remove ()

void                tracker_path_remove                 (const gchar *uri);

uri :