forgeclient

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package forgeclient adapts git-pkgs/forge for majordomo consumers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewForgeClient

func NewForgeClient(opts ...forge.Option) *forge.Client

NewForgeClient constructs the upstream cross-forge API client.

Types

type RepositoryRef

type RepositoryRef struct {
	Domain string
	Owner  string
	Name   string
}

RepositoryRef is a validated forge repository identity.

func ParseRepositoryURL

func ParseRepositoryURL(raw string) (RepositoryRef, error)

ParseRepositoryURL parses a forge HTTPS clone URL into a RepositoryRef.

Jump to

Keyboard shortcuts

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