Documentation
¶
Index ¶
- type Provider
- func (p *Provider) Commit(ctx context.Context, repoID string, options provider.CommitOptions) (string, error)
- func (p *Provider) CreateRepository(ctx context.Context, repoID string) (*provider.Repository, error)
- func (p *Provider) DeleteRepository(ctx context.Context, repoID string) error
- func (p *Provider) GetFile(ctx context.Context, repoID string, path string) (io.ReadCloser, error)
- func (p *Provider) GetRepositoryID(options provider.RepositoryOptions) string
- func (p *Provider) Head(ctx context.Context, repoID string) (string, error)
- func (p *Provider) ListFiles(ctx context.Context, repoID string) ([]string, error)
- func (p *Provider) Name() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func (*Provider) CreateRepository ¶
func (*Provider) DeleteRepository ¶
func (*Provider) GetRepositoryID ¶
func (p *Provider) GetRepositoryID(options provider.RepositoryOptions) string
Click to show internal directories.
Click to hide internal directories.