scan

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepositoryTarget

type RepositoryTarget struct {
	LocalFilePath string
	// contains filtered or unexported fields
}

func (RepositoryTarget) GetPath

func (r RepositoryTarget) GetPath() string

func (RepositoryTarget) GetRepositoryUrl

func (r RepositoryTarget) GetRepositoryUrl() string

type Target

type Target interface {
	GetPath() string
}

func NewRepositoryTarget

func NewRepositoryTarget(path string, options ...TargetOptions) (Target, error)

type TargetOptions

type TargetOptions func(*RepositoryTarget) error

func WithRepositoryUrl

func WithRepositoryUrl(repositoryUrl string) TargetOptions

Jump to

Keyboard shortcuts

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