GnomeVFS - Filesystem Abstraction library | ||||
---|---|---|---|---|
Top | Description |
Synopsis
GnomeVFSResult gnome_vfs_make_directory (const gchar *text_uri, guint perm); GnomeVFSResult gnome_vfs_make_directory_for_uri (GnomeVFSURI *uri, guint perm); GnomeVFSResult gnome_vfs_remove_directory (const gchar *text_uri); GnomeVFSResult gnome_vfs_remove_directory_from_uri (GnomeVFSURI *uri);
Details
gnome_vfs_make_directory ()
GnomeVFSResult gnome_vfs_make_directory (const gchar *text_uri, guint perm);
Create text_uri
as a directory.
|
uri of the directory to be created. |
|
Unix-style permissions for the newly created directory |
Returns : |
an integer representing the result of the operation. |
gnome_vfs_make_directory_for_uri ()
GnomeVFSResult gnome_vfs_make_directory_for_uri (GnomeVFSURI *uri, guint perm);
Create a directory at uri
. Only succeeds if a file or directory
does not already exist at uri
.
|
uri of the directory to be created. |
|
Unix-style permissions for the newly created directory. |
Returns : |
an integer representing the result of the operation. |
gnome_vfs_remove_directory ()
GnomeVFSResult gnome_vfs_remove_directory (const gchar *text_uri);
Remove text_uri
. text_uri
must be an empty directory.
|
path of the directory to be removed. |
Returns : |
an integer representing the result of the operation. |
gnome_vfs_remove_directory_from_uri ()
GnomeVFSResult gnome_vfs_remove_directory_from_uri (GnomeVFSURI *uri);
Remove uri
. uri
must be an empty directory.
|
uri of the directory to be removed. |
Returns : |
an integer representing the result of the operation. |