inputiter

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(args []string) (iterator.IterCloser[string], error)

Iterator returns an IterCloser for iterating across repositories for collecting signals.

If only one arg is specified, the code will treat it as a file and attempt to open it. If the file doesn't exist, and is parseable as a URL the arg will be treated as a repo.

If more than one arg is specified they are all considered to be repos.

TODO: support the ability to force args to be interpreted as either a file, or a list of repos.

Types

This section is empty.

Jump to

Keyboard shortcuts

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