file

package
v0.33.3 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	FS   fs.FS
	Path string
}

func (*File) Attr

func (f *File) Attr(name string) (starlark.Value, error)

func (*File) AttrNames

func (f *File) AttrNames() []string

func (*File) Freeze

func (f *File) Freeze()

func (*File) Hash

func (f *File) Hash() (uint32, error)

func (*File) String

func (f *File) String() string

func (*File) Truth

func (f *File) Truth() starlark.Bool

func (*File) Type

func (f *File) Type() string

type Reader

type Reader struct {
	io.ReadCloser
	// contains filtered or unexported fields
}

func (Reader) Struct

func (r Reader) Struct() *starlarkstruct.Struct

Jump to

Keyboard shortcuts

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