~

object ~

File extension extractor

class Object
trait Matchable
class Any
~.type

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" => ...