List<Glob> globList(List<String>? expressions) { final globs = <Glob>[]; if (expressions != null) { for (final expression in expressions) { globs.add(Glob(expression)); } } return globs; }