export function upwardDirectories(
  startPath = ".",
  upperBound?: number | string,
): AsyncIterable<string> {
  return filter(overloadedUpwardPaths(startPath, upperBound), isDirectory);