config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultRootDir = ".gh-md"
	EnvRootDir     = "GH_MD_ROOT"
)

Variables

This section is empty.

Functions

func GetDiscussionsDir

func GetDiscussionsDir(owner, repo string) (string, error)

GetDiscussionsDir returns the discussions directory for a repo.

func GetIssuesDir

func GetIssuesDir(owner, repo string) (string, error)

GetIssuesDir returns the issues directory for a repo.

func GetPullsDir

func GetPullsDir(owner, repo string) (string, error)

GetPullsDir returns the pulls directory for a repo.

func GetRepoDir

func GetRepoDir(owner, repo string) (string, error)

GetRepoDir returns the directory path for a specific repo. Format: <root>/<owner>/<repo>/

func GetRootDir

func GetRootDir() (string, error)

GetRootDir returns the root directory for gh-md storage. It checks GH_MD_ROOT env var first, then defaults to ~/.gh-md/

Types

This section is empty.

Jump to

Keyboard shortcuts

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