set_load_std_data_locations


Description:

[ Version ( since = "0.15.0" ) ]
public void set_load_std_data_locations (bool enabled)

This is a convenience function that enables or disables loading of metadata from well-known standard locations by configuring the PoolFlags of this Pool accordingly.

Data affected by this includes the OS data catalog, metainfo, desktop-entry files and Flatpak data. If you need more fine-grained control, set the PoolFlags explicitly.

Parameters:

this

An instance of Pool.

enabled

Whether loading of data from standard locations should be enabled.