resolveSrcShelves function

Future<List<String>> resolveSrcShelves(
  1. CometYaml cometYaml
)

determin the src targets

Implementation

Future<List<String>> resolveSrcShelves(CometYaml cometYaml) async {
  final folders = await readSubFolderNamesCurrent();
  // ignore FLUTTER project
  folders.removeWhere((it) => it == cometYaml.flutterProject.root);
  // ignore settings for ignore_folders
  folders.removeWhere((it) => cometYaml.ignoreFolders.contains(it));
  return folders;
}