PathBuf.equal

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 glib.hash_table.HashTable.new_ as the key_equal_func parameter.

class PathBuf
static
bool
equal
(
const(void)* v1
,
const(void)* v2
)

Parameters

v1 const(void)*

a path buffer to compare

v2 const(void)*

a path buffer to compare

Return Value

Type: bool

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