Documentation
¶
Overview ¶
Package app provides the core functionality for the import-gitlab-commits application, including initializing the GitLab client, fetching user information, and importing commits into a local git repository.
Index ¶
- func ParseCommitMessage(message string) (projectName string, hash string, _ error)
- type App
- type Commit
- type GitLab
- func (s *GitLab) CurrentUser(ctx context.Context) (*User, error)
- func (s *GitLab) FetchCommits(ctx context.Context, user *User, projectID int, since time.Time) ([]*Commit, error)
- func (s *GitLab) FetchProjectPage(ctx context.Context, page int, user *User, idAfter int) (_ []int, nextPage int, _ error)
- func (s *GitLab) HasUserContributions(ctx context.Context, user *User, projectID int) bool
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GitLab ¶
type GitLab struct {
// contains filtered or unexported fields
}
func (*GitLab) FetchCommits ¶
func (*GitLab) FetchProjectPage ¶
Click to show internal directories.
Click to hide internal directories.