Gio.IOModuleScope.prototype.block

function block(basename: String): void {
    // Gjs wrapper for g_io_module_scope_block()
}
  

Block modules with the given basename from being loaded when this scope is used with Gio.io_modules_scan_all_in_directory_with_scope or Gio.io_modules_load_all_in_directory_with_scope.

Since 2.30

basename

the basename to block