File.hash

Creates a hash value for a GFile. This call does no blocking i/o. Virtual: hash

class File
static
uint
hash
(
void* file
)

Parameters

file void*

gconstpointer to a GFile.

Return Value

Type: uint

0 if file is not a valid GFile, otherwise an integer that can be used as hash value for the GFile. This function is intended for easily hashing a GFile to add to a GHashTable or similar data structure.

Meta