ls

package
v0.0.0-...-5f7c61f Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Ls is a processor to return a list of FileInfo for the provided directory

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileInfo

type FileInfo struct {
	Name    string
	Size    int64
	Mode    os.FileMode
	ModTime time.Time
	IsDir   bool
}

type LsProcessor

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

func (*LsProcessor) Configure

func (p *LsProcessor) Configure(config interface{}) error

func (*LsProcessor) GetConfig

func (p *LsProcessor) GetConfig() interface{}

func (*LsProcessor) GetError

func (p *LsProcessor) GetError() error

func (*LsProcessor) Metadata

func (p *LsProcessor) Metadata() processors.Processor

func (*LsProcessor) New

func (*LsProcessor) Output

func (p *LsProcessor) Output() interface{}

func (*LsProcessor) Run

func (p *LsProcessor) Run(data interface{})

func (*LsProcessor) State

func (p *LsProcessor) State() <-chan processors.DataChunkState

Jump to

Keyboard shortcuts

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