utils

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SanitizeRepo

func SanitizeRepo(repo string) string

SanitizeRepo returns a sanitized version of the given repository name.

func ValidateRepo

func ValidateRepo(repo string) error

ValidateRepo returns an error if the given repository name is invalid.

func ValidateUsername

func ValidateUsername(username string) error

ValidateUsername returns an error if any of the given usernames are invalid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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