pathJoin function

String pathJoin(
  1. List<String> parts
)

Joins the given path parts into a single path

Implementation

String pathJoin(List<String> parts) {
  if (parts.isEmpty) {
    return '';
  }
  String path = parts[0];
  for (int i = 1; i < parts.length; i++) {
    path = path_path.join(path, parts[i]);
  }
  return pathExpand(path);
}