| Top |
| char * | go_basename_from_uri () |
| char * | go_dirname_from_uri () |
| gint | go_file_access () |
| GsfOutput * | go_file_create () |
| time_t | go_file_get_date_accessed () |
| time_t | go_file_get_date_changed () |
| time_t | go_file_get_date_modified () |
| gchar * | go_file_get_group_name () |
| GDateTime * | go_file_get_modtime () |
| gchar * | go_file_get_owner_name () |
| GsfInput * | go_file_open () |
| GSList * | go_file_split_urls () |
| char * | go_filename_from_uri () |
| char * | go_filename_simplify () |
| char * | go_filename_to_uri () |
| GOFilePermissions * | go_get_file_permissions () |
| gchar * | go_get_mime_type () |
| gchar * | go_get_mime_type_for_data () |
| gchar * | go_mime_type_get_description () |
| void | go_set_file_permissions () |
| char * | go_shell_arg_to_uri () |
| gchar const ** | go_shell_argv_to_glib_encoding () |
| void | go_shell_argv_to_glib_encoding_free () |
char *
go_basename_from_uri (const char *uri);
Decode the final path component. Returns as UTF-8 encoded suitable for display.
char * go_dirname_from_uri (const char *uri,gboolean brief);
Decode the all but the final path component. Returns as UTF-8 encoded suitable for display.
GsfOutput * go_file_create (char const *uri,GError **err);
Creates a file or return an error. If the file already exists, it is replaced.
time_t
go_file_get_date_accessed (char const *uri);
Returns the last access time of uri
.
time_t
go_file_get_date_changed (char const *uri);
Returns the last status change time of uri
.
time_t
go_file_get_date_modified (char const *uri);
Returns the last modification time of uri
.
gchar *
go_file_get_group_name (char const *uri);
Returns the group name of the owner of a URI.
GDateTime *
go_file_get_modtime (char const *uri);
Determine the last modification time of uri
.
gchar *
go_file_get_owner_name (char const *uri);
Returns the real name of the owner of a URI.
GsfInput * go_file_open (char const *uri,GError **err);
Try all available methods to open a file or return an error
GSList *
go_file_split_urls (char const *data);
Splits the chain into a list of URIs. Lines starting with '#' are ignored.
char *
go_filename_from_uri (const char *uri);
Convert an escaped URI into a filename.
char * go_filename_simplify (const char *filename,GODotDot dotdot,gboolean make_absolute);
Simplifies a filename.
char *
go_filename_to_uri (const char *filename);
Convert a filename into an escaped URI.
GOFilePermissions *
go_get_file_permissions (char const *uri);
Returns the file permissions for uri
.
void go_set_file_permissions (char const *uri,GOFilePermissions *file_permissions);
Sets the file permissions for uri
.
char *
go_shell_arg_to_uri (const char *arg);
Convert a shell argv entry (assumed already translated into filename encoding) to an escaped URI.
gchar const ** go_shell_argv_to_glib_encoding (gint argc,gchar const **argv);
Transform arguments to UTF-8 when needed.
void
go_shell_argv_to_glib_encoding_free (void);
Frees the memory allocated by go_shell_argv_to_glib_encoding().
struct GOFilePermissions {
gboolean owner_read;
gboolean owner_write;
gboolean owner_execute;
gboolean group_read;
gboolean group_write;
gboolean group_execute;
gboolean others_read;
gboolean others_write;
gboolean others_execute;
};