record

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: AGPL-3.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package record is the wire shape of one stubproc invocation record.

It is a package of its own so the writer (test/stubproc, a main package) and the reader (test/integration's tier-3 test) share one declaration: a second copy of this struct could drift from the JSON written.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Record

type Record struct {
	// Command is the basename the stub was invoked as ("Render", "ffmpeg").
	Command string `json:"command"`
	// Args are the arguments after argv[0].
	Args []string `json:"args"`
	// Cwd is the working directory at invocation.
	Cwd string `json:"cwd"`
	// Stdin is what was piped in, truncated to stdinLimit bytes.
	Stdin string `json:"stdin,omitempty"`
}

Record is one invocation of the stub, as written to SQI_STUB_RECORD: one JSON object per line, appended.

Jump to

Keyboard shortcuts

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