Make a new debug function to help delegation
This commit is contained in:
parent
aae23f5ef3
commit
f8efe5d189
@ -183,6 +183,10 @@ object DebugFunctions {
|
|||||||
"${it.id}: ${it.name} (${it.lang.toUpperCase()})"
|
"${it.id}: ${it.name} (${it.lang.toUpperCase()})"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fun listAllSourcesClassName() = sourceManager.getCatalogueSources().joinToString("\n") {
|
||||||
|
"${it::class.qualifiedName}: ${it.name} (${it.lang.toUpperCase()})"
|
||||||
|
}
|
||||||
|
|
||||||
fun listVisibleSources() = sourceManager.getVisibleCatalogueSources().joinToString("\n") {
|
fun listVisibleSources() = sourceManager.getVisibleCatalogueSources().joinToString("\n") {
|
||||||
"${it.id}: ${it.name} (${it.lang.toUpperCase()})"
|
"${it.id}: ${it.name} (${it.lang.toUpperCase()})"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user