createDirectory method

bool createDirectory(
  1. String path
)

Create a directory in a writable storage container.

\param storage a storage container. \param path the path of the directory to create. \returns true on success or false on failure; call SDL_GetError() for more information.

\since This function is available since SDL 3.2.0.

\sa SDL_StorageReady

extern SDL_DECLSPEC bool SDLCALL SDL_CreateStorageDirectory(SDL_Storage *storage, const char *path)

Implementation

bool createDirectory(String path) => sdlCreateStorageDirectory(this, path);