scm

package
v13.2.7+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package scm abstracts operations on various tools like git Currently, only git

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangedFiles

func ChangedFiles(fromCommit string, includeUntracked bool, relativeTo string) []string

ChangedFiles returns a list of modified files since the given commit, optionally including untracked files.

func ChangesIn

func ChangesIn(diffSpec string, relativeTo string) []string

ChangesIn returns a list of modified files in the given diffSpec.

func CurrentRevIdentifier

func CurrentRevIdentifier() string

CurrentRevIdentifier returns the string that specifies what the current revision is.

Types

This section is empty.

Jump to

Keyboard shortcuts

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