source

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Stdin ux.Source = stdin{}

Functions

func OpenStdin

func OpenStdin(ctx context.Context) (io.Reader, error)

func Parse added in v0.0.3

func Parse(i string) (ux.Source, error)

Types

type File

type File string

func (File) IsDir added in v0.0.5

func (f File) IsDir() bool

IsDir implements fs.FileInfo.

func (File) ModTime added in v0.0.5

func (f File) ModTime() time.Time

ModTime implements fs.FileInfo.

func (File) Mode added in v0.0.5

func (f File) Mode() fs.FileMode

Mode implements fs.FileInfo.

func (File) Name added in v0.0.5

func (f File) Name() string

Name implements fs.FileInfo.

func (File) Open

func (f File) Open(ctx context.Context) (io.Reader, error)

func (File) Path added in v0.0.5

func (f File) Path() string

func (File) Size added in v0.0.5

func (f File) Size() int64

Size implements fs.FileInfo.

func (File) Sys added in v0.0.5

func (f File) Sys() any

Sys implements fs.FileInfo.

Jump to

Keyboard shortcuts

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