Class ExactPathMatcher

    • Method Detail

      • hashCode

        public int hashCode()
        hashCode in class Object
      • toWatchmanMatchQuery

        public<?> toWatchmanMatchQuery​(Set<Capability> capabilities)
        Description copied from interface: PathMatcher
        Transforms this matcher into a Watchman match query arguments matching the same set of paths as this matcher.
        Specified by:
        toWatchmanMatchQuery in interface PathMatcher
      • getPathOrGlob

        public String getPathOrGlob()
        Description copied from interface: PathMatcher
        Returns a path or glob pattern identifying paths that should be matched by this matcher.
        Specified by:
        getPathOrGlob in interface PathMatcher
      • of

        public static ExactPathMatcher of​(String path)
        The matcher for paths that are exactly the same as path.