Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 5x 5x 5x 3x 3x 3x 3x 3x 3x 3x 1x | import {library} from '@feasibleone/blong';
import type {KukumLibContext} from '../../operation.ts';
/**
* `kukum.method.find` — the method groups the runtime actually wired up.
*
* Reads the live registry off `this`, so it reports what this process mounted
* rather than what the source says.
*/
export default library(
() =>
function methodFind(this: KukumLibContext, _params?: unknown) {
const description = this.registry?.describe?.();
if (!description) return {available: false as const};
return {
available: true as const,
groups: description.groups,
folders: description.folders,
files: description.files,
};
},
);
|