githubutil

package
v1.0.27 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PullRequestRepository added in v1.0.10

func PullRequestRepository(raw string) string

PullRequestRepository extracts OWNER/REPO from a GitHub PR URL. Non-PR selectors return an empty string.

func PullRequestSelector

func PullRequestSelector(raw string) string

PullRequestSelector converts a GitHub PR URL into the numeric selector that gh prefers for repository-scoped PR operations. Non-PR URLs are returned as-is.

Types

This section is empty.

Jump to

Keyboard shortcuts

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