childDirectory function

Directory childDirectory(
  1. Directory dir,
  2. String sub
)

get a child as a directory

Implementation

Directory childDirectory(Directory dir, String sub) {
  return Directory(join(dir.path, sub));
}