io

package
v0.10.15 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFile

func ReadFile(thread *starlark.Thread, p string) ([]byte, error)

func RecordReadFile

func RecordReadFile(t *starlark.Thread, files ...string) error

Types

type Blob

type Blob struct {
	Text   string
	Source string
}

func NewBlob

func NewBlob(text string, source string) Blob

func (Blob) Freeze

func (b Blob) Freeze()

func (Blob) Hash

func (b Blob) Hash() (uint32, error)

func (Blob) String

func (b Blob) String() string

func (Blob) Truth

func (b Blob) Truth() starlark.Bool

func (Blob) Type

func (b Blob) Type() string

type Extension

type Extension struct{}

func NewExtension

func NewExtension() Extension

func (Extension) NewState

func (Extension) NewState() interface{}

func (Extension) OnExec

func (Extension) OnExec(t *starlark.Thread, tiltfilePath string) error

func (Extension) OnStart

func (Extension) OnStart(e *starkit.Environment) error

type ReadState

type ReadState struct {
	Files []string
}

Track all the files read while loading

func GetState

func GetState(m starkit.Model) (ReadState, error)

func MustState

func MustState(model starkit.Model) ReadState

Jump to

Keyboard shortcuts

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