class ShardLockEntry

Overview

Represents a single entry within the shards section of a shard.lock file. It provides details about a specific dependency.

Included Modules

Defined in:

shard/shard_lock_file.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]

Instance Method Detail

def git : String | Nil #

The Git URL if the dependency is sourced from a Git repository.


[View source]
def git=(git : String | Nil) #

The Git URL if the dependency is sourced from a Git repository.


[View source]
def github : String | Nil #

The GitHub repository path (e.g., "owner/repo") if sourced from GitHub.


[View source]
def github=(github : String | Nil) #

The GitHub repository path (e.g., "owner/repo") if sourced from GitHub.


[View source]
def path : String | Nil #

The local path if the dependency is a local path dependency.


[View source]
def path=(path : String | Nil) #

The local path if the dependency is a local path dependency.


[View source]
def version : String #

The version of the locked dependency.


[View source]
def version=(version : String) #

The version of the locked dependency.


[View source]