pulls

package
v1.12.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: MIT Imports: 50 Imported by: 0

Documentation

Index

Constants

View Source
const ApplicationGzip = "application/gzip"

Variables

This section is empty.

Functions

This section is empty.

Types

type Pulls

type Pulls struct {
	// contains filtered or unexported fields
}

func New

func New(
	oauth *oauth.OAuth,
	repoResolver *reporesolver.RepoResolver,
	pages *pages.Pages,
	resolver *idresolver.Resolver,
	mentionsResolver *mentions.Resolver,
	db *db.DB,
	config *config.Config,
	notifier notify.Notifier,
	enforcer *rbac.Enforcer,
	validator *validator.Validator,
	indexer *pulls_indexer.Indexer,
	logger *slog.Logger,
) *Pulls

func (*Pulls) ClosePull

func (s *Pulls) ClosePull(w http.ResponseWriter, r *http.Request)

func (*Pulls) CompareBranchesFragment

func (s *Pulls) CompareBranchesFragment(w http.ResponseWriter, r *http.Request)

func (*Pulls) CompareForksBranchesFragment

func (s *Pulls) CompareForksBranchesFragment(w http.ResponseWriter, r *http.Request)

func (*Pulls) CompareForksFragment

func (s *Pulls) CompareForksFragment(w http.ResponseWriter, r *http.Request)

func (*Pulls) MergePull

func (s *Pulls) MergePull(w http.ResponseWriter, r *http.Request)

func (*Pulls) NewPull

func (s *Pulls) NewPull(w http.ResponseWriter, r *http.Request)

func (*Pulls) PatchUploadFragment

func (s *Pulls) PatchUploadFragment(w http.ResponseWriter, r *http.Request)

func (*Pulls) PullActions

func (s *Pulls) PullActions(w http.ResponseWriter, r *http.Request)

htmx fragment

func (*Pulls) PullComment

func (s *Pulls) PullComment(w http.ResponseWriter, r *http.Request)

func (*Pulls) PullOpenGraphSummary

func (s *Pulls) PullOpenGraphSummary(w http.ResponseWriter, r *http.Request)

func (*Pulls) ReopenPull

func (s *Pulls) ReopenPull(w http.ResponseWriter, r *http.Request)

func (*Pulls) RepoPullInterdiff

func (s *Pulls) RepoPullInterdiff(w http.ResponseWriter, r *http.Request)

func (*Pulls) RepoPullPatch

func (s *Pulls) RepoPullPatch(w http.ResponseWriter, r *http.Request)

func (*Pulls) RepoPullPatchRaw

func (s *Pulls) RepoPullPatchRaw(w http.ResponseWriter, r *http.Request)

func (*Pulls) RepoPulls

func (s *Pulls) RepoPulls(w http.ResponseWriter, r *http.Request)

func (*Pulls) RepoSinglePull

func (s *Pulls) RepoSinglePull(w http.ResponseWriter, r *http.Request)

func (*Pulls) ResubmitPull

func (s *Pulls) ResubmitPull(w http.ResponseWriter, r *http.Request)

func (*Pulls) Router

func (s *Pulls) Router(mw *middleware.Middleware) http.Handler

func (*Pulls) ValidatePatch

func (s *Pulls) ValidatePatch(w http.ResponseWriter, r *http.Request)

Source Files

  • opengraph.go
  • pulls.go
  • router.go

Jump to

Keyboard shortcuts

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