initpr

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: Apache-2.0 Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package initpr is init's last step on the repo: it installs the Session: hook, and opens or refreshes the PR of physa/init with the body of what was written. It never merges a PR; a forge that cannot open PRs, or is unavailable or not signed in, leaves the branch ready, with the reason.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallHook

func InstallHook(hooks func(dir string) (vcs.Hooks, error)) initbranch.Hook

InstallHook installs the Session: hook in the repo here and says what happened; any error is a refusal, with its reason. hooks gives the repo's hooks for the directory it is called with.

func Open

Open opens the PR of physa/init into the default branch with out's body, or refreshes the open one's body. A forge that cannot open PRs, is unavailable or is not signed in leaves the branch ready, with the reason. It never merges a PR.

Types

This section is empty.

Jump to

Keyboard shortcuts

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