util

package
v1.1.0-beta.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPkgUrl

func GetPkgUrl(url string) string

GetPkgUrl returns the URL for the packages

func ParseDestinationRegistryPath

func ParseDestinationRegistryPath(registryPath string) (string, string, string)

ParseDestinationRegistryPath parses a destination ar path into its components

func ProgressBar

func ProgressBar(current, total int, width int) string

ProgressBar returns a string representing a progress bar

func Safe

func Safe[T any](p *T) T

func SetupLogging

func SetupLogging(logDir string, logLevel string) error

SetupLogging configures logging to file and stdout

func ValidateMapping

func ValidateMapping(sourceRegistry, destinationRegistry string) error

ValidateMapping validates a ar mapping

Types

This section is empty.

Directories

Path Synopsis
printer
Package printer provides output formatting utilities for the CLI
Package printer provides output formatting utilities for the CLI
progress
Package progress provides progress reporting functionality
Package progress provides progress reporting functionality
vcs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL