Functions

file_info_create (location)

file_info_create_for_uri (uri)

file_info_list_copy (files)

file_info_list_free (files)

file_info_lookup (location)

file_info_lookup_for_uri (uri)

info_provider_update_complete_invoke (update_complete, provider, handle, result)

Details

Nautilus.file_info_create(location)
Parameters:

location (Gio.File) – the location to create the file info for

Return type:

Nautilus.FileInfo

Get an existing NautilusFileInfo (if it exists) or create a new one is it does not exist.

Nautilus.file_info_create_for_uri(uri)
Parameters:

uri (str) – the URI to lookup the file info for

Return type:

Nautilus.FileInfo

Get an existing NautilusFileInfo (if it exists) or create a new one is it does not exist.

Nautilus.file_info_list_copy(files)
Parameters:

files ([Nautilus.FileInfo]) – the files to copy

Returns:

a copy of files. Use [func`FileInfo`.list_free] to free the list and unref its contents.

Return type:

[Nautilus.FileInfo]

Deep copy a list of NautilusFileInfo.

Nautilus.file_info_list_free(files)
Parameters:

files ([Nautilus.FileInfo]) – a list created with [func`FileInfo`.list_copy]

Deep free a list of NautilusFileInfo.

Nautilus.file_info_lookup(location)
Parameters:

location (Gio.File) – the location for which to look up a corresponding Nautilus.FileInfo object

Return type:

Nautilus.FileInfo or None

Get an existing NautilusFileInfo or NULL if it does not exist in the application cache.

Nautilus.file_info_lookup_for_uri(uri)
Parameters:

uri (str) – the URI to lookup the file info for

Return type:

Nautilus.FileInfo or None

Get an existing NautilusFileInfo or NULL if it does not exist in the application cache.

Nautilus.info_provider_update_complete_invoke(update_complete, provider, handle, result)
Parameters:

Complete an async file info update.