repo

package
v0.0.0-...-f25d48c Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// The directory where episode files are stored.
	EpisodeDir = "_episodes"

	// The file where guest metadata are stored.
	GuestFile = "_data/guests.yaml"
)

Variables

This section is empty.

Functions

func ChdirRoot

func ChdirRoot() error

ChdirRoot changes the current working directory to the repository root.

func FileExists

func FileExists(path string) bool

FileExists reports whether the specified file path exists.

func RemoteRepo

func RemoteRepo(remote string) (string, error)

RemoteRepo returns the repository name corresponding to the given git remote.

func Root

func Root() (string, error)

Root returns the root directory of the repository.

Types

This section is empty.

Jump to

Keyboard shortcuts

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