~

org.http4s.dsl.impl.~$
object ~

File extension extractor

Attributes

Source
Path.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
~.type

Members list

Value members

Concrete methods

def unapply(path: Path): Option[(Path, String)]

File extension extractor for Path: Path("example.json") match { case Root / "example" ~ "json" => ...

File extension extractor for Path: Path("example.json") match { case Root / "example" ~ "json" => ...

Attributes

Source
Path.scala
def unapply(fileName: String): Option[(String, String)]

File extension matcher for String:

File extension matcher for String:

 "example.json" match {
    case => "example" ~ "json" => ...

Attributes

Source
Path.scala