internal

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GithubClient added in v0.1.1

type GithubClient interface {
	GetChangedFiles(
		ctx context.Context,
		event int,
	) ([]*github.CommitFile, error)
	GetFileContent(
		ctx context.Context,
		path string,
	) (*github.RepositoryContent, error)
}

type PullRequestService added in v0.1.1

type PullRequestService interface {
	ListFiles(
		ctx context.Context,
		owner string,
		name string,
		event int,
		opts *github.ListOptions,
	) ([]*github.CommitFile, *github.Response, error)
}

type RepositoryService added in v0.1.1

type RepositoryService interface {
	GetContents(
		ctx context.Context,
		owner string,
		name string,
		path string,
		opts *github.RepositoryContentGetOptions,
	) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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