file

package
v0.0.0-...-c5bcced Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 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(orb *orbit.Orbit) interface{}

Types

type File

type File struct {
	afero.File
	// contains filtered or unexported fields
}

func NewFile

func NewFile(orb *orbit.Orbit, name string) *File

func NewTemp

func NewTemp(orb *orbit.Orbit) *File

func (*File) Close

func (this *File) Close() error

func (*File) Consume

func (this *File) Consume(r io.Reader)

func (*File) End

func (this *File) End()

func (*File) Pipe

func (this *File) Pipe(w io.Writer)

func (*File) String

func (this *File) String() string

type Module

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

func (*Module) Load

func (this *Module) Load(file string) *File

func (*Module) Open

func (this *Module) Open(file string) *File

func (*Module) Temp

func (this *Module) Temp() *File

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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