Skip to main content

nova_rt_fs_create_dir_all

Function nova_rt_fs_create_dir_all 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn nova_rt_fs_create_dir_all( path: *const NovaStr, ) -> i64
Expand description

Create the directory path, and any missing parent directories along the way. Unlike create_dir, an existing directory at path is success, not ALREADY_EXISTS – std::fs::create_dir_all’s own behaviour, carried through unchanged rather than papered over.

§Safety

path must point to a live NovaStr.