Skip to content

class Crystal::Doc::ProjectInfo
inherits Reference

Constants

VERSION_TAG = /^v(\d+[-.][-.a-zA-Z\d]+)$/

Class methods

.find_git_version

View source

.find_source_url_pattern(remote)

View source

.git_clean?

View source

.git_dir?

View source

.git_ref(*, branch)

View source

.git_remote

View source

.read_shard_properties

View source

.new(name : String? = nil, version : String? = nil, refname : String? = nil, source_url_pattern : String? = nil)

View source

Methods

#==(other : self)

Returns true if this reference is the same as other. Invokes same?.

#canonical_base_url : String?

View source

#canonical_base_url=(canonical_base_url : String?)

View source

#crystal_stdlib?

View source

#fill_with_defaults

View source

#hash(hasher)

#json_config_url : String?

View source

#json_config_url=(json_config_url : String?)

View source

#name : String

#name=(name : String)

View source

#name? : String?

#refname : String?

View source

#refname=(refname : String?)

View source

#source_url(location : RelativeLocation)

View source

#source_url_pattern : String?

View source

#source_url_pattern=(source_url_pattern : String?)

View source

#version : String

#version=(version : String)

View source

#version? : String?