snapshot

package
v0.50.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsPlanSnapshot

func IsPlanSnapshot(r io.Reader) bool

Types

type Scanner

type Scanner struct {
	// contains filtered or unexported fields
}

func New

func New(opts ...options.ScannerOption) *Scanner

func (*Scanner) Name

func (s *Scanner) Name() string

func (*Scanner) Scan

func (s *Scanner) Scan(ctx context.Context, reader io.Reader) (scan.Results, error)

func (*Scanner) ScanFS

func (s *Scanner) ScanFS(ctx context.Context, fsys fs.FS, dir string) (scan.Results, error)

func (*Scanner) ScanFile

func (s *Scanner) ScanFile(ctx context.Context, fsys fs.FS, filepath string) (scan.Results, error)

Jump to

Keyboard shortcuts

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