static MateVFSResult
do_make_directory (MateVFSMethod *method,
		   MateVFSURI *uri,
		   guint perm,
		   MateVFSContext *context)
{
	PERFORM_OPERATION (make_directory, mate_vfs_make_directory_for_uri_cancellable (uri, perm, context));
}
Example #2
0
/**
 * mate_vfs_make_directory_for_uri:
 * @uri: uri of the directory to be created.
 * @perm: Unix-style permissions for the newly created directory.
 * 
 * Create a directory at @uri. Only succeeds if a file or directory
 * does not already exist at @uri.
 * 
 * Return value: an integer representing the result of the operation.
 */
MateVFSResult
mate_vfs_make_directory_for_uri (MateVFSURI *uri,
				  guint perm)
{
	return mate_vfs_make_directory_for_uri_cancellable (uri, perm, NULL);
}