x_fs_path_compare
Compare two paths, ignoring separator type.
X_FILESYSTEM_API size_t x_fs_path_compare(
const XFSPath *a,
const XFSPath *b
);
Parameters
Returns
0 if equal, <0 if a < b, >0 if a > b.
Compare two paths, ignoring separator type.
X_FILESYSTEM_API size_t x_fs_path_compare(
const XFSPath *a,
const XFSPath *b
);
0 if equal, <0 if a < b, >0 if a > b.
Compare a path against a C string path, ignoring separator type.
X_FILESYSTEM_API int32_t x_fs_path_compare_cstr(
const XFSPath *a,
const char *cstr
);
const XFSPath *aconst char *cstr0 if equal, <0 if a < cstr, >0 if a > cstr.
Check whether a path equals a small string.
X_FILESYSTEM_API bool x_fs_path_eq(
const XFSPath *a,
const XSmallstr *b
);
True if equal, false otherwise.
Check whether a path equals a C string path.
X_FILESYSTEM_API bool x_fs_path_eq_cstr(
const XFSPath *a,
const char *b
);
const XFSPath *aconst char *bTrue if equal, false otherwise.