class ShardLockEntry
- ShardLockEntry
- Reference
- Object
Overview
Represents a single entry within the shards section of a shard.lock file.
It provides details about a specific dependency.
Included Modules
- YAML::Serializable
Defined in:
shard/shard_lock_file.crConstructors
Instance Method Summary
-
#git : String | Nil
The Git URL if the dependency is sourced from a Git repository.
-
#git=(git : String | Nil)
The Git URL if the dependency is sourced from a Git repository.
-
#github : String | Nil
The GitHub repository path (e.g., "owner/repo") if sourced from GitHub.
-
#github=(github : String | Nil)
The GitHub repository path (e.g., "owner/repo") if sourced from GitHub.
-
#path : String | Nil
The local path if the dependency is a local path dependency.
-
#path=(path : String | Nil)
The local path if the dependency is a local path dependency.
-
#version : String
The version of the locked dependency.
-
#version=(version : String)
The version of the locked dependency.
Constructor Detail
Instance Method Detail
def github=(github : String | Nil)
#
The GitHub repository path (e.g., "owner/repo") if sourced from GitHub.