git

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connector

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

func NewConnector

func NewConnector(repoPath, commitMessage, remote string) *Connector

func (*Connector) Connect

func (c *Connector) Connect() error

func (*Connector) Delete

func (c *Connector) Delete(remoteID string) error

func (*Connector) Name

func (c *Connector) Name() string

func (*Connector) Pull

func (c *Connector) Pull(remoteID string) (string, error)

func (*Connector) Push

func (c *Connector) Push(note *storage.Note, content string, remoteID string) (string, error)

func (*Connector) Status

func (c *Connector) Status() (bool, error)

Jump to

Keyboard shortcuts

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