Gck.modules_token_for_uri

function modules_token_for_uri(modules: Array(Gck.Module), uri: String): Gck.Slot {
    // Gjs wrapper for gck_modules_token_for_uri()
}
  

Lookup a token that matches the URI.

modules

The modules

uri

The URI that the token must match

Returns

A newly allocated Gck.Slot or null if no such token was found.