MCPcopy Create free account
hub / github.com/apache/arrow / garrow_file_system_create_dir

Function garrow_file_system_create_dir

c_glib/arrow-glib/file-system.cpp:787–796  ·  view source on GitHub ↗

* garrow_file_system_create_dir: * @file_system: A #GArrowFileSystem. * @path: The paths of the directory. * @recursive: Whether creating directory recursively or not. * @error: (nullable): Return location for a #GError or %NULL. * * Create a directory and subdirectories. * This function succeeds if the directory already exists. * * Returns: %TRUE on success, %FALSE if there was an error.

Source from the content-addressed store, hash-verified

785 * Since: 0.17.0
786 */
787gboolean
788garrow_file_system_create_dir(GArrowFileSystem *file_system,
789 const gchar *path,
790 gboolean recursive,
791 GError **error)
792{
793 auto arrow_file_system = garrow_file_system_get_raw(file_system);
794 auto status = arrow_file_system->CreateDir(path, recursive);
795 return garrow::check(error, status, "[file-system][create-dir]");
796}
797
798/**
799 * garrow_file_system_delete_dir:

Callers

nothing calls this directly

Calls 3

checkFunction · 0.70
CreateDirMethod · 0.45

Tested by

no test coverage detected