gitnore

package
v0.0.0-...-e982722 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	// Token is
	GithubAccessToken string `mapstructure:"token" yaml:"token" json:"token" toml:"token"`
	// contains filtered or unexported fields
}

Configuration represents the gitnore configuration

func (*Configuration) DownloadRepositoryFileContents

func (c *Configuration) DownloadRepositoryFileContents(path string) error

DownloadRepositoryFileContents is used to retrieve information about a repository's file contents and store it in the .gitignore file

func (*Configuration) GetRepositoryContents

func (c *Configuration) GetRepositoryContents(path string) error

GetRepositoryContents is used to retrieve information about a repository's contents

func (*Configuration) GetRepositoryFileContents

func (c *Configuration) GetRepositoryFileContents(path string) error

GetRepositoryFileContents is used to retrieve information about a repository's file contents

func (*Configuration) NewGithubAPIClient

func (c *Configuration) NewGithubAPIClient() error

NewGithubAPIClient is used to create a new API client for use with the Github API

Jump to

Keyboard shortcuts

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