file

package
v0.1.0-dev.20260306003143 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Params = op.MethodParams{
	"Backup":     {"path", "backup_suffix"},
	"Copy":       {"source_file", "destination_filename", "destination_file_mode"},
	"Link":       {"source", "path"},
	"Move":       {"source", "destination"},
	"Remove":     {"path", "prune", "prune_boundary"},
	"RemoveAll":  {"path", "prune", "prune_boundary"},
	"Unlink":     {"path", "prune", "prune_boundary"},
	"WalkTree":   {"root?", "honor_gitignore?"},
	"WriteBytes": {"destination", "content", "mode"},
	"WriteText":  {"destination", "content", "mode"},
	"Exists":     {"resource"},
	"Glob":       {"pattern", "honor_gitignore"},
	"IsDir":      {"resource"},
	"IsFile":     {"resource"},
	"Join":       {"parts"},
	"Mkdir":      {"resource", "mode"},
	"Name":       {"path"},
	"Parent":     {"path"},
	"Read":       {"path"},
}

Params maps Go method names to Starlark parameter name lists.

Functions

func NewFilePlan

func NewFilePlan(graph *op.Graph, project string, reg *op.ActionRegistry) *op.ReflectedPlanned

NewFilePlan creates a wrapped file provider for planned-mode Starlark consumption.

func NewFileReceiver

func NewFileReceiver(p *provider.Provider) *op.ReflectedReceiver

NewFileReceiver creates a wrapped file provider for Starlark consumption.

Types

This section is empty.

Jump to

Keyboard shortcuts

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