Function in stdx_filesystem.h

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.

Function in stdx_filesystem.h

x_fs_path_exists_cstr

Check whether a C-string path exists on disk.

X_FILESYSTEM_API bool x_fs_path_exists_cstr(const char *path);

Parameters

const char *path
Path to check.

Returns

True if it exists, false otherwise.

Function in stdx_filesystem.h

x_fs_path_exists_quick

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);

Parameters

const XFSPath *path
Path to check.

Returns

True if it exists, false otherwise.

Function in stdx_filesystem.h

x_fs_path_exists_quick_cstr

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);

Parameters

const char *path
Path to check.

Returns

True if it exists, false otherwise.

Function in stdx_filesystem.h

x_fs_path_is_absolute

Check whether a path is absolute.

X_FILESYSTEM_API bool x_fs_path_is_absolute(const XFSPath *path);

Parameters

const XFSPath *path
Path to check.

Returns

True if absolute, false otherwise.

Function in stdx_filesystem.h

x_fs_path_is_absolute_cstr

Check whether a C-string path is absolute.

X_FILESYSTEM_API bool x_fs_path_is_absolute_cstr(const char *path);

Parameters

const char *path
Path to check.

Returns

True if absolute, false otherwise.

Function in stdx_filesystem.h

x_fs_path_is_absolute_native

Check whether a path is absolute using native platform rules.

X_FILESYSTEM_API bool x_fs_path_is_absolute_native(const XFSPath *path);

Parameters

const XFSPath *path
Path to check.

Returns

True if absolute, false otherwise.

Function in stdx_filesystem.h

x_fs_path_is_absolute_native_cstr

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);

Parameters

const char *path
Path to check.

Returns

True if absolute, false otherwise.

Function in stdx_filesystem.h

x_fs_path_is_directory

Check whether a path points to an existing directory.

X_FILESYSTEM_API bool x_fs_path_is_directory(const XFSPath *path);

Parameters

const XFSPath *path
Path to check.

Returns

True if it is a directory, false otherwise.

Function in stdx_filesystem.h

x_fs_path_is_directory_cstr

Check whether a C-string path points to an existing directory.

X_FILESYSTEM_API bool x_fs_path_is_directory_cstr(const char *path);

Parameters

const char *path
Path to check.

Returns

True if it is a directory, false otherwise.

Function in stdx_filesystem.h

x_fs_path_is_file

Check whether a path points to an existing file.

X_FILESYSTEM_API bool x_fs_path_is_file(const XFSPath *path);

Parameters

const XFSPath *path
Path to check.

Returns

True if it is a file, false otherwise.

Function in stdx_filesystem.h

x_fs_path_is_file_cstr

Check whether a C-string path points to an existing file.

X_FILESYSTEM_API bool x_fs_path_is_file_cstr(const char *path);

Parameters

const char *path
Path to check.

Returns

True if it is a file, false otherwise.

Function in stdx_filesystem.h

x_fs_path_is_relative

Check whether a path is relative.

X_FILESYSTEM_API bool x_fs_path_is_relative(const XFSPath *path);

Parameters

const XFSPath *path
Path to check.

Returns

True if relative, false otherwise.

Function in stdx_filesystem.h

x_fs_path_is_relative_cstr

Check whether a C-string path is relative.

X_FILESYSTEM_API bool x_fs_path_is_relative_cstr(const char *path);

Parameters

const char *path
Path to check.

Returns

True if relative, false otherwise.