scanner

package
v0.0.0-...-6c6fd2d Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewlineRegex = regexp.MustCompile(`\r?\n`)

NewlineRegex ...

Functions

func LocalGitScan

func LocalGitScan(sess *session.Session, gitProvider gitprovider.GitProvider)

LocalGitScan starts a scan on local directory without first cloning from git provider

func Pluralize

func Pluralize(count int, singular string, plural string) string

Pluralize makes word plural

func Scan

func Scan(sess *session.Session, gitProvider gitprovider.GitProvider)

Scan starts the scanning process

func TruncateString

func TruncateString(str string, maxLength int) string

TruncateString truncates string from whitespace pre/suf-fix

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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