applies method

bool applies(
  1. String option,
  2. String path
)

Whether option names the repository at path: an option acts only on the repositories it names.

Implementation

bool applies(String option, String path) =>
    _byOption[option]?.contains(path) ?? false;