common

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsASCII added in v0.7.7

func IsASCII(s string) bool

IsASCII indicates string contains only ASCII.

func IsHead added in v0.7.7

func IsHead(revision string) bool

IsHead indecates revision is a branch.

func IsImmutable added in v0.7.7

func IsImmutable(revision string) bool

IsImmutable indecates revision is a tag or sha or change.

func IsRef added in v0.7.7

func IsRef(revision string) bool

IsRef indecates revision is a ref.

func IsSha added in v0.7.7

func IsSha(revision string) bool

IsSha indecates revision is a commit id (hash).

func IsTag added in v0.7.7

func IsTag(revision string) bool

IsTag indecates revision is a tag.

func URLJoin added in v0.7.7

func URLJoin(u string, paths ...string) (string, error)

URLJoin appends fetch path (in remote element) and project name to manifest url.

Types

This section is empty.

Jump to

Keyboard shortcuts

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