listGpioChipPaths method

  1. @override
List<String> listGpioChipPaths()
override

Lists the GPIO character devices present, as absolute paths.

Sits here rather than in the chip layer because it is the one piece of discovery that touches the filesystem, and a fake kernel needs to answer it to be useful.

Implementation

@override
List<String> listGpioChipPaths() => [for (final c in chips) c.path];