equal


Description:

public bool equal (PathBuf v2)

Compares two path buffers for equality and returns `TRUE` if they are equal.

The path inside the paths buffers are not going to be normalized, so `X/Y/Z/A/..`, `X/./Y/Z` and `X/Y/Z` are not going to be considered equal.

This function can be passed to g_hash_table_new as the `key_equal_func` parameter.

Parameters:

v2

a path buffer to compare

v1

a path buffer to compare

Returns:

`TRUE` if the two path buffers are equal, and `FALSE` otherwise