openmixer — generated API reference
    Preparing search index...

    Function classifyResources

    • Sort a live source + sink node list into a DetectedResources inventory. Pure — no I/O, so it is unit-tested directly against captured node-name fixtures. Node order within a bucket follows the input lists (which preserve pw-link order).

      Parameters

      • sources: readonly IoNode[]

        the source-side nodes (pw-link -o, grouped)

      • sinks: readonly IoNode[]

        the sink-side nodes (pw-link -i, grouped)

      Returns DetectedResources

      the classified inventory