struct Git::Url

Defined in:

lib/url.cr

Constant Summary

SCP_LIKE_PATTERN = /^[^\/]+:/
URL_PATTERN = /^\w+:\/\//

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(string, path, scheme, host, user, port) #

[View source]

Class Method Detail

def self.parse(s) #

[View source]
def self.parse_local_path(s) #

[View source]
def self.parse_scp_like(s) #

[View source]
def self.parse_url(s) #

[View source]
def self.parse_url_with_username_expansion(s, uri) #

[View source]
def self.parse_url_without_username_expansion(s, uri) #

[View source]

Instance Method Detail

def host? : String? #

[View source]
def path : String #

[View source]
def port? : Int32? #

[View source]
def scheme? : String? #

[View source]
def string : String #

[View source]
def user? : String? #

[View source]