types

package
v2.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotImplemented = errors.New("not implemented")

Functions

This section is empty.

Types

type AuthError

type AuthError struct {
	Err         string
	Description string
	URI         string
}

AuthError represents forge authentication error.

func (*AuthError) Error

func (ae *AuthError) Error() string

Error implements error interface.

type ErrConfigNotFound

type ErrConfigNotFound struct {
	Configs []string
}

func (*ErrConfigNotFound) Error

func (m *ErrConfigNotFound) Error() string

func (*ErrConfigNotFound) Is

func (*ErrConfigNotFound) Is(target error) bool

type ErrIgnoreEvent

type ErrIgnoreEvent struct {
	Event string
}

func (*ErrIgnoreEvent) Error

func (err *ErrIgnoreEvent) Error() string

func (*ErrIgnoreEvent) Is

func (*ErrIgnoreEvent) Is(target error) bool

type FileMeta

type FileMeta struct {
	Name string
	Data []byte
}

FileMeta represents a file in version control

func SortByName

func SortByName(fm []*FileMeta) []*FileMeta

Jump to

Keyboard shortcuts

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