path

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemPathVisitor

type MemPathVisitor struct {
	MemFs     billy.Filesystem // Where to send output.
	Iostreams genericclioptions.IOStreams
}

func (*MemPathVisitor) ExpandPathsToFileVisitors

func (mpv *MemPathVisitor) ExpandPathsToFileVisitors(mapper resource.InfoMapper, path string, recursive bool, extensions []string, schema resource.ContentValidator) ([]resource.Visitor, error)

ExpandPathsToFileVisitors

func (*MemPathVisitor) FileVisitorForSTDIN

func (mpv *MemPathVisitor) FileVisitorForSTDIN(builder *resource.Builder) resource.Visitor

type MemoryFileVisitor

type MemoryFileVisitor struct {
	MemFile billy.File
	*resource.StreamVisitor
}

MemoryFileVisitor is wrapping around a StreamVisitor, to handle open/close files

func (*MemoryFileVisitor) Visit

Visit in a FileVisitor is just taking care of opening/closing files

Jump to

Keyboard shortcuts

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