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

Struct StringConn

internal/app/notes.go:163–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163type StringConn struct {
164 A StringEnd `json:"a"`
165 B StringEnd `json:"b"`
166 Tight bool `json:"tight"`
167 InFront bool `json:"front,omitempty"`
168
169 // legacy v2 fields (loaded, never written)
170 FromID string `json:"from,omitempty"`
171 ToID string `json:"to,omitempty"`
172}
173
174func (s *StringConn) normalizeLegacy() {
175 if s.A.NoteID == "" && s.A.X == 0 && s.A.Y == 0 && s.FromID != "" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected