public static boolean antPathIncluded(String dirStr, String patternStr) {
        // todo:Determines whether a path is a possible prefix of the path expression
        List<String> dirArr = Stream.of(dirStr.split(File.separator)).collect(Collectors.toList());
        List<String> patternDirArr = Stream.of(patternStr.split(File.separator)).collect(Collectors.toList());
        int everything = patternDirArr.indexOf("**");
        if (everything != -1) {
            return antPathMatch(
                    String.join(File.separator, dirArr.subList(0, everything)),
                    String.join(File.separator, patternDirArr.subList(0, everything)));
        }
        return antPathMatch(dirStr, String.join(File.separator, patternDirArr.subList(0, dirArr.size())));
    }
Check whether directory name are included in patternStr prefix<br>
e.g. "/a/b/1/3/4/5"  are included in "/a/*\/1/3/**\/1.log" prefix

@param dirStr directory string
@param patternStr ant regex pattern
@return true if all match
inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/utils/PathUtils.java