invoke

operator fun invoke(string: String, hasAuthority: Boolean): Rfc3986UriPath(source)
URI         = scheme ":" hier-part [ "?" query ] [ "#" fragment ]

hier-part   = "//" authority path-abempty
            / path-absolute
            / path-rootless
            / path-empty