createPath static method

List<String> createPath(
  1. List<String> folders, {
  2. required bool underSrc,
})

Implementation

static List<String> createPath(List<String> folders, { required bool underSrc }) {
  final path = List<String>.from(folders);
  if(underSrc && AFibD.config.isLibraryCommand && path[0] == libFolder) {
    path.insert(1, srcFolder);
  }
  return path;
}