Docs exports: JSON llms.txt llms-full.txt Agent Files

module Shards::PurlGenerator

Defined in:

purl.cr

Class Method Summary

Class Method Detail

def self.generate(pkg : Package) : String | Nil #

Returns a Package URL (purl) string for the given package, or nil for path dependencies that have no meaningful remote identity.


[View source]
def self.parse_owner_repo(source : String) : Tuple(String | Nil, String | Nil) #

Parses "owner/repo" from a git source URL.


[View source]