sdl3/generated/lib_sdl_filesystem
library
Functions
-
sdlCopyFile(String? oldpath, String? newpath)
→ bool
-
Copy a file.
-
sdlCreateDirectory(String? path)
→ bool
-
Create a directory, and any missing parent directories.
-
sdlEnumerateDirectory(String? path, Pointer<NativeFunction<SdlEnumerateDirectoryCallback>> callback, Pointer<NativeType> userdata)
→ bool
-
Enumerate a directory through a callback function.
-
sdlGetBasePath()
→ String?
-
Get the directory where the application was run from.
-
sdlGetCurrentDirectory()
→ Pointer<Int8>
-
Get what the system believes is the "current working directory."
-
sdlGetPathInfo(String? path, Pointer<SdlPathInfo> info)
→ bool
-
Get information about a filesystem path.
-
sdlGetPrefPath(String? org, String? app)
→ Pointer<Int8>
-
Get the user-and-app-specific path where files can be written.
-
sdlGetUserFolder(int folder)
→ String?
-
Finds the most suitable user folder for a specific purpose.
-
sdlGlobDirectory(String? path, String? pattern, int flags, Pointer<Int32> count)
→ Pointer<Pointer<Int8>>
-
Enumerate a directory tree, filtered by pattern, and return a list.
-
sdlRemovePath(String? path)
→ bool
-
Remove a file or an empty directory.
-
sdlRenamePath(String? oldpath, String? newpath)
→ bool
-
Rename a file or directory.