![]() | ![]() | ![]() | GnomeVFS - Filesystem Abstraction library | ![]() |
---|
Basic Directory Operations — Creating and removing directories.
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);
GnomeVFSResult gnome_vfs_make_directory (const gchar *text_uri, guint perm);
Create text_uri as a directory.
text_uri : | URI of the directory to be created |
perm : | Unix-style permissions for the newly created directory |
Returns : | An integer representing the result of the operation |
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 : | URI of the directory to be created |
perm : | Unix-style permissions for the newly created directory |
Returns : | An integer representing the result of the operation |
GnomeVFSResult gnome_vfs_remove_directory (const gchar *text_uri);
Remove text_uri. text_uri must be an empty directory.
text_uri : | URI of the directory to be removed |
Returns : | An integer representing the result of the operation |
GnomeVFSResult gnome_vfs_remove_directory_from_uri (GnomeVFSURI *uri);
Remove uri. uri must be an empty directory.
uri : | URI of the directory to be removed |
Returns : | An integer representing the result of the operation |
<< Directory Handling | Listing Directory Contents >> |