x_fs_path_exists
Check whether a path exists on disk.
X_FILESYSTEM_API bool x_fs_path_exists(const XFSPath *path);
Parameters
const XFSPath *path- Path to check.
Returns
True if it exists, false otherwise.
Check whether a path exists on disk.
X_FILESYSTEM_API bool x_fs_path_exists(const XFSPath *path);
const XFSPath *pathTrue if it exists, false otherwise.
Check whether a C-string path exists on disk.
X_FILESYSTEM_API bool x_fs_path_exists_cstr(const char *path);
const char *pathTrue if it exists, false otherwise.
Check whether a path exists on disk using a faster, less thorough method.
X_FILESYSTEM_API bool x_fs_path_exists_quick(const XFSPath *path);
const XFSPath *pathTrue if it exists, false otherwise.
Check whether a C-string path exists on disk using a faster, less thorough method.
X_FILESYSTEM_API bool x_fs_path_exists_quick_cstr(const char *path);
const char *pathTrue if it exists, false otherwise.
Check whether a path is absolute.
X_FILESYSTEM_API bool x_fs_path_is_absolute(const XFSPath *path);
const XFSPath *pathTrue if absolute, false otherwise.
Check whether a C-string path is absolute.
X_FILESYSTEM_API bool x_fs_path_is_absolute_cstr(const char *path);
const char *pathTrue if absolute, false otherwise.
Check whether a path is absolute using native platform rules.
X_FILESYSTEM_API bool x_fs_path_is_absolute_native(const XFSPath *path);
const XFSPath *pathTrue if absolute, false otherwise.
Check whether a C-string path is absolute using native platform rules.
X_FILESYSTEM_API bool x_fs_path_is_absolute_native_cstr(const char *path);
const char *pathTrue if absolute, false otherwise.
Check whether a path points to an existing directory.
X_FILESYSTEM_API bool x_fs_path_is_directory(const XFSPath *path);
const XFSPath *pathTrue if it is a directory, false otherwise.
Check whether a C-string path points to an existing directory.
X_FILESYSTEM_API bool x_fs_path_is_directory_cstr(const char *path);
const char *pathTrue if it is a directory, false otherwise.
Check whether a path points to an existing file.
X_FILESYSTEM_API bool x_fs_path_is_file(const XFSPath *path);
const XFSPath *pathTrue if it is a file, false otherwise.
Check whether a C-string path points to an existing file.
X_FILESYSTEM_API bool x_fs_path_is_file_cstr(const char *path);
const char *pathTrue if it is a file, false otherwise.
Check whether a path is relative.
X_FILESYSTEM_API bool x_fs_path_is_relative(const XFSPath *path);
const XFSPath *pathTrue if relative, false otherwise.
Check whether a C-string path is relative.
X_FILESYSTEM_API bool x_fs_path_is_relative_cstr(const char *path);
const char *pathTrue if relative, false otherwise.