tool

package
v0.0.0-...-e5cfb07 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Overview

parts of the functionality is based on https://github.com/rogpeppe/govers for Copyright information see LICENSE file

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(srcfs, dstfs billy.Filesystem, src, dst string) error

func ExistsOrError

func ExistsOrError(fs billy.Filesystem, path string) error

func Run

func Run(inDir, outDir, ruleFile string) error

Types

type GitInfo

type GitInfo struct {
	MainBranchOff  object.Commit
	Head           object.Commit
	URL            string
	LastVersionTag string
}

func GitCloneToFS

func GitCloneToFS(fs billy.Filesystem, url, mainBranch string) (*GitInfo, error)

type Rules

type Rules struct {
	// contains filtered or unexported fields
}

func NewRules

func NewRules() *Rules

Jump to

Keyboard shortcuts

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