Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasBranchPrefix ¶
func HasReleasePrefix ¶
Types ¶
type AssetPath ¶
type AssetPath struct { ReleasePath Asset string }
func NewAssetPath ¶
func ParseAsset ¶
type BranchPath ¶
type BranchPath struct { RepositoryPath Branch string }
func NewBranchPath ¶
func NewBranchPath(owner, repo, branch string) BranchPath
func ParseBranch ¶
func ParseBranch(path Path) (branch BranchPath, err error)
func (BranchPath) String ¶
func (p BranchPath) String() string
type ContentPath ¶
type ContentPath struct { BranchPath Content string }
func NewContentPath ¶
func NewContentPath(owner, repo, branch, content string) ContentPath
func ParseContent ¶
func ParseContent(p Path) (content ContentPath, err error)
func (ContentPath) String ¶
func (p ContentPath) String() string
type Path ¶
type ReleasePath ¶
type ReleasePath struct { RepositoryPath Release string }
func NewReleasePath ¶
func NewReleasePath(owner, repo, release string) ReleasePath
func ParseRelease ¶
func ParseRelease(path Path) (release ReleasePath, err error)
func (ReleasePath) String ¶
func (p ReleasePath) String() string
type RepositoryPath ¶
func NewRepositoryPath ¶
func NewRepositoryPath(owner, repo string) RepositoryPath
func ParseRepository ¶
func ParseRepository(path Path) (repo RepositoryPath, err error)
func (RepositoryPath) String ¶
func (p RepositoryPath) String() string
Click to show internal directories.
Click to hide internal directories.