MCPcopy Create free account
hub / github.com/B33pBeeps/redthread / Workspace

Struct Workspace

internal/app/notes.go:252–256  ·  view source on GitHub ↗

Workspace is a list of named cork boards the user can cycle between. One is "active"; everything in the running model points at that one.

Source from the content-addressed store, hash-verified

250// Workspace is a list of named cork boards the user can cycle between.
251// One is "active"; everything in the running model points at that one.
252type Workspace struct {
253 Boards []*Board `json:"boards"`
254 ActiveIdx int `json:"activeIdx,omitempty"`
255 Background Background `json:"background,omitempty"`
256}
257
258// CorkOn reports whether the cork texture overlay should be drawn.
259func (w *Workspace) CorkOn() bool { return w.Background.Cork }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected