Skip to content

Commit

Permalink
mark as private
Browse files Browse the repository at this point in the history
Co-authored-by: Nabil Abdel-Hafeez <[email protected]>
  • Loading branch information
Saturn225 and 987Nabil authored Jan 23, 2025
1 parent 87194e9 commit 8a50242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zio-http/shared/src/main/scala/zio/http/RoutePattern.scala
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ object RoutePattern {
else forMethod ++ wildcardsTree.get(path)
}

def getAllMethods(path: Path): Set[Method] = {
private[http] def getAllMethods(path: Path): Set[Method] = {
roots.collect {
case (method, subtree) if subtree.get(path).nonEmpty => method
}.toSet
Expand Down

0 comments on commit 8a50242

Please sign in to comment.