Code Explainers
public List<Path> expandGlob(Path baseDir, String glob) throws IOException { FileSystem fs = baseDir.getFileSystem(); PathMatcher matcher = fs.getPathMatcher("glob:" + glob); boolean recursive = glob.contains("**");