remotes

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Remotes

type Remotes struct {
	// contains filtered or unexported fields
}

func New

func New(scrb scribe.Scriber) *Remotes

func (*Remotes) Add

func (r *Remotes) Add(ctx context.Context, dirs []string, name, baseURL string) error

func (*Remotes) Remotes

func (r *Remotes) Remotes(ctx context.Context, dirs []string, args ...string) error

func (*Remotes) Remove

func (r *Remotes) Remove(ctx context.Context, dirs []string, name string) error

func (*Remotes) Rename

func (r *Remotes) Rename(ctx context.Context, dirs []string, oldName, newName string) error

func (*Remotes) SetURLs

func (r *Remotes) SetURLs(ctx context.Context, dirs []string, name, baseURL string) error

Jump to

Keyboard shortcuts

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