storage

package
v0.0.0-...-1054e26 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 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 GitRepository

type GitRepository struct {
	Path string
}

func NewGitRepository

func NewGitRepository(path string) *GitRepository

func (*GitRepository) GetGitRepo

func (r *GitRepository) GetGitRepo() *git.Repository

func (*GitRepository) Init

func (r *GitRepository) Init() error

func (*GitRepository) SetupHooks

func (r *GitRepository) SetupHooks(grpcSocket string) error

type Storage

type Storage struct {
	Root string
	Repo *GitRepository
}

func NewStorage

func NewStorage(dir string) *Storage

func (*Storage) HooksSocketPath

func (s *Storage) HooksSocketPath() string

Jump to

Keyboard shortcuts

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