Discover Packages
github.com/tilt-dev/tilt
internal
tiltfile
io
package
Version:
v0.26.2
Opens a new window with list of versions in this module.
Published: Mar 18, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types ReadFile(thread, p) RecordReadPath(t, wt, files) type Blob type Plugin type ReadState type WatchType NewBlob(text, source) (b) Freeze() (b) Hash() (b) ImplicitString() (b) String() (b) Truth() (b) Type() NewPlugin() NewState() OnExec(t, tiltfilePath, contents) OnStart(e) GetState(m) MustState(model)
Documentation
¶
func ReadFile (thread *starlark.Thread, p string ) ([]byte , error )
func RecordReadPath (t *starlark.Thread, wt WatchType, files ...string ) error
type Blob struct {
Text string
Source string
}
func NewBlob (text string , source string ) Blob
func (b Blob) Hash() (uint32 , error )
func (b Blob) ImplicitString() string
func (b Blob) String() string
func (b Blob) Truth() starlark.Bool
func (b Blob) Type() string
func (Plugin) NewState() interface {}
func (Plugin) OnExec(t *starlark.Thread, tiltfilePath string , contents []byte ) error
func (Plugin) OnStart(e *starkit.Environment) error
type ReadState struct {
Paths []string
}
Track all the paths read while loading
func GetState (m starkit.Model) (ReadState, error )
func MustState (model starkit.Model) ReadState
const (
WatchFileOnly WatchType = iota
WatchRecursive
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.