module Purl::Normalizer

Overview

Handles type-specific normalization of purl components.

Defined in:

purl/normalizer.cr

Class Method Summary

Class Method Detail

def self.decode_and_normalize_subpath(raw : String) : String | Nil #

[View source]
def self.normalize_name(type : String, name : String) : String #

[View source]
def self.normalize_namespace(type : String, namespace : String) : String #

[View source]
def self.normalize_subpath(subpath : String) : String | Nil #

[View source]
def self.normalize_subpath_segments(segments : Array(String)) : String | Nil #

[View source]