validationutil

package
v0.0.0-...-d3da680 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package validationutil contains various validation utilities for Source Index.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateCommitHash

func ValidateCommitHash(hash string) error

ValidateCommitHash checks whether the specified hash is a valid sha-1 hash.

func ValidateRepoName

func ValidateRepoName(name string) error

ValidateRepoName checks whether the specified name is a valid repository name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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