Commit 4b7980b9 authored by Carlos Garnacho's avatar Carlos Garnacho

libtracker-miner: Small optimization

Using get_file() should be equivalent to peek_file() given that the
file is already interned, but the latter takes less detours to find
this out.
parent 1e846a13
Pipeline #29518 passed with stage
in 4 minutes and 9 seconds
......@@ -2100,10 +2100,7 @@ tracker_file_notifier_invalidate_file_iri (TrackerFileNotifier *notifier,
g_return_if_fail (G_IS_FILE (file));
priv = notifier->priv;
canonical = tracker_file_system_get_file (priv->file_system,
file,
G_FILE_TYPE_REGULAR,
NULL);
canonical = tracker_file_system_peek_file (priv->file_system, file);
if (!canonical) {
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment