codestorage

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 NewProvider() (*Provider, error)

func (*Provider) Commit

func (p *Provider) Commit(ctx context.Context, repoID string, options provider.CommitOptions) (string, error)

func (*Provider) CreateRepository

func (p *Provider) CreateRepository(ctx context.Context, repoID string) (*provider.Repository, error)

func (*Provider) DeleteRepository

func (p *Provider) DeleteRepository(ctx context.Context, repoID string) error

func (*Provider) GetFile

func (p *Provider) GetFile(ctx context.Context, repoID string, path string) (io.ReadCloser, error)

func (*Provider) GetRepositoryID

func (p *Provider) GetRepositoryID(options provider.RepositoryOptions) string

func (*Provider) Head

func (p *Provider) Head(ctx context.Context, repoID string) (string, error)

func (*Provider) ListFiles

func (p *Provider) ListFiles(ctx context.Context, repoID string) ([]string, error)

func (*Provider) Name

func (p *Provider) Name() string

Jump to

Keyboard shortcuts

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