docs: public static List<String> getDirectoryNames(String root, boolean fullPath) {
          List<File> fileList = getDirectoriesByName(root);
          List<String> list = new ArrayList<String>(fileList.size());
  
          for (File f : fileList) {
              String name = fullPath ? f.getAbsolutePath() : f.getName();
              list.add(name);
          }
  
          return list;
      }