6.28 GVfsFileLookupFunc

Callback: GVfsFileLookupFunc

A procedure given for it is called as (procedure vfs identifier) ⇒ %return.

This function type is used by vfs:register-uri-scheme? to make it possible for a client to associate a URI scheme to a different <GFile> implementation.

The client should return a reference to the new file that has been created for uri, or #f to continue with the default implementation.

vfs

Passed: a <GVfs>.

a <GVfs>

identifier

Passed: a string.

the identifier to look up a <GFile> for. This can either be a URI or a parse name as returned by file:get-parse-name

%return

Returned: a <GFile>, or #f.

a <GFile> for identifier.

user-data

Not passed: it is the user data that guile-gi supplied.

user data passed to the function, or #f