links

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Root

func Root(path string) (string, error)

Root is like git ls-files --full-name <filepath>

Types

type GitHub

type GitHub struct {
	Repo   string
	Branch string
}

func NewGitHub

func NewGitHub(repo, branch string) *GitHub

func (*GitHub) Create

func (g *GitHub) Create(relPath string) string

Jump to

Keyboard shortcuts

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