common

package
v0.19.8 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeDuplicateExtraArgs

func DeDuplicateExtraArgs(commandArgs []string, extraArgs []string) []string

Looks for any argument in commandArgs that has been overridden by an entry in extra args and replaces them any extraArgs that are not used as overrides are added yo the end of the final string slice

func FileExists

func FileExists(path string) bool

returns true if a file at the passed path exists

func IsFileTracked

func IsFileTracked(cloneDir string, filename string) (bool, error)

returns true if the given file is tracked by git

Types

This section is empty.

Jump to

Keyboard shortcuts

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