Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerpetualSoftware/pad
/ functions
Functions
28,840 in github.com/PerpetualSoftware/pad
⨍
Functions
28,840
◇
Types & classes
3,245
↓ 3 callers
Function
procStatFields
procStatFields reads /proc/<pid>/stat and returns the space-separated fields AFTER the comm field — the one parser both the start-token and the ancest
internal/cli/proc_start_linux.go:61
↓ 3 callers
Function
promptAndBootstrap
promptAndBootstrap collects admin credentials from the terminal and creates the first admin account via /auth/bootstrap, retrying the password pair on
cmd/pad/cmd_auth.go:676
↓ 3 callers
Function
protectedResourceMetadataURL
protectedResourceMetadataURL is where RFC 9728 §3.1 puts the metadata for resource: the well-known segment inserted between the host and the resource'
internal/server/handlers_well_known.go:243
↓ 3 callers
Function
provePreServer
(cmd *exec.Cmd, probeHost string, port int, d time.Duration, cleanup func(func()))
internal/buildtools/install_refresh_test.go:360
↓ 3 callers
Function
providerListHas
(list []string, v string)
internal/store/oauth_identities.go:57
↓ 3 callers
Function
psRSS
psRSS reads a process's resident set size with `ps -o rss= -p <pid>`, the macOS watchdog's fallback when proc_info is unavailable. Built on Linux too
internal/materialize/memcap_ps.go:15
↓ 3 callers
Method
publishItemVerified
publishItemVerified rides the existing item_updated SSE event rather than a new type: every client already subscribes to it, and a new type would be d
internal/server/handlers_verifications.go:405
↓ 3 callers
Method
publishLostIfUnreachable
publishLostIfUnreachable publishes "lost" for a user after a per-user loss write (member removal, grant revoke) when nothing is left that reaches the
internal/server/workspace_access_notify.go:107
↓ 3 callers
Method
publishReactionEvent
publishReactionEvent publishes a real-time event for reaction changes.
internal/server/handlers_comments.go:629
↓ 3 callers
Method
published
()
internal/server/task3585_push_key_test.go:32
↓ 3 callers
Method
pushAvailable
pushAvailable reports whether this server can send pushes.
internal/server/handlers_push_devices.go:46
↓ 3 callers
Method
queueBehindMove
queueBehindMove runs fn once it is waiting on the move's lock, then commits the move.
internal/store/commitment_links_pg_test.go:336
↓ 3 callers
Function
randomBracketContent
randomBracketContent builds a short body mixing prose, matching brackets, non-matching brackets, unclosed brackets and multibyte runes.
internal/links/rewrite_brackets_diff_test.go:455
↓ 3 callers
Function
rawItems
(userId: string | null, ws: string)
web/src/test/idbHarness.ts:153
↓ 3 callers
Method
read
(p []byte)
internal/server/handlers_import_bundle.go:120
↓ 3 callers
Function
readAll
readAll drives the scanner to its end, reporting whether it accepted the input as exactly one well-formed value.
internal/jsonscan/jsonscan_test.go:13
↓ 3 callers
Function
readBarrierAck
(t *testing.T, c *websocket.Conn)
internal/collab/barrier_bug3523_test.go:23
↓ 3 callers
Function
readBoundedBytes
(response: Response, max: number)
web/src/lib/attachments/boundedBytes.ts:50
↓ 3 callers
Function
readPadTomlMap
TASK-3612: WriteWorkspaceLink updates an existing .pad.toml instead of replacing it, so a relink keeps agent_name, the [push] consent table and any ke
internal/cli/workspace_link_write_test.go:15
↓ 3 callers
Function
readRegistryBytes
readRegistryBytes opens a registry entry WITHOUT following symlinks or blocking on a FIFO (where the platform allows), re-checks that what it opened i
internal/cli/session_registry.go:392
↓ 3 callers
Function
readResponses
(t *testing.T, b []byte)
internal/materialize/worker_test.go:32
↓ 3 callers
Function
readScheduleParams
(input map[string]any)
internal/mcp/dispatch_http_schedule.go:45
↓ 3 callers
Method
readSeqResult
readSeqResult reads the reply both id-assigning scripts return: the id as the key holds it, then a repair report (BUG-2744). A repair is logged and co
internal/events/redis_bus.go:1525
↓ 3 callers
Function
readSessionRecord
readSessionRecord reads one file and judges it. Only a missing file is an error; unreadable or unparseable content is a Malformed record.
internal/cli/session_registry.go:354
↓ 3 callers
Function
readSkill
(t *testing.T, project string)
cmd/pad/bug3466_skill_overwrite_test.go:45
↓ 3 callers
Function
readStructuredEntryBody
()
cmd/pad/notes.go:272
↓ 3 callers
Function
readUserColumns
(t *testing.T, srv *Server, query, id string)
internal/server/bug3372_attribution_test.go:96
↓ 3 callers
Function
readVarUint
readVarUint decodes a lib0 variable-length unsigned integer at data[pos:], returning the value and the position after it. ok is false on truncation or
internal/store/yjs_content_bearing.go:56
↓ 3 callers
Function
readyThread
(rows = 3)
web/src/lib/stores/chatThread.svelte.test.ts:699
↓ 3 callers
Function
receive
(msg: Relay)
web/src/lib/services/accessStream.svelte.ts:130
↓ 3 callers
Function
receiveN
(t *testing.T, ch chan Event, n int)
internal/events/bug2744_seq_guard_test.go:37
↓ 3 callers
Method
recentDebounceCandidateQ
(q rowsQueryer, a models.Activity, cutoff, incomingAgent string)
internal/store/activities.go:415
↓ 3 callers
Method
reconcileRestoreCommit
reconcileRestoreCommit re-reads an item after a version-restore commit reported an error, to determine whether the restore's transaction DURABLY lande
internal/server/handlers_item_versions.go:569
↓ 3 callers
Function
reconcileTargetItems
(client *cli.Client, ws string, args []string)
cmd/pad/reconcile.go:143
↓ 3 callers
Method
reconfigureEmail
reconfigureEmail reads email settings from the platform_settings table and updates (or creates) the email sender. Called after admin settings change.
internal/server/server.go:1644
↓ 3 callers
Function
reconnectDelayMs
(attempt: number, retryAfterMs: number | null, rand: () => number = Math.random)
web/src/lib/services/sseReconnect.ts:28
↓ 3 callers
Method
recordDeathLocked
recordDeathLocked bumps the death streak and sets the next spawn time. A child that lived HealthyStretch resets the streak first. Holds s.mu.
internal/materialize/supervisor.go:989
↓ 3 callers
Function
recordInstallation
recordInstallation stores a skill install in the global registry (~/.pad/installations.json).
cmd/pad/cmd_agent.go:324
↓ 3 callers
Method
recordMCPPreAuthDenied
recordMCPPreAuthDenied counts a pre-auth /mcp refusal. The reason label is a closed set, so a caller-supplied code can never mint a series.
internal/server/middleware_ratelimit.go:1109
↓ 3 callers
Function
recoverCase
recoverCase inserts the case's op-log over a stale body and runs one recovery pass through the production path (index builder included).
internal/server/materialize_recovery_links_test.go:87
↓ 3 callers
Function
recurringCloseHTTP
(t *testing.T)
internal/server/handlers_items_schedule_active_test.go:13
↓ 3 callers
Function
redisSubscriberCount
(b *RedisBus)
internal/watchevents/subscribe_refused_test.go:35
↓ 3 callers
Function
refWindow
refWindow is the oracle's answer: every occurrence in [q, q+w), settled, or for w == 0 the first one strictly after q (NextAfter's contract).
internal/schedule/oracle_test.go:74
↓ 3 callers
Function
refreshIcon
()
web/src/lib/components/editor/attachment-chip.ts:279
↓ 3 callers
Function
refusals
(table: GateTable, code: string, opts: GateOptions = {})
web/src/test/identityFenceGate.ts:589
↓ 3 callers
Function
refuseReferencesInFields
(fields map[string]any)
internal/appstore/items.go:293
↓ 3 callers
Function
refusedByMovedOut
(state: WorkspaceState, row: ItemIndexRow | Item)
web/src/lib/stores/localIndex.svelte.ts:623
↓ 3 callers
Method
regSeqInsertExpr
regSeqInsertExpr is the value an INSERT writes: the same as the UPDATE's on SQLite; on Postgres the column default is nextval, so an explicit call is
internal/store/push_devices.go:164
↓ 3 callers
Function
regSeqOf
(t *testing.T, s *Store, userID, token string)
internal/store/task4031_push_reg_seq_test.go:10
↓ 3 callers
Function
registerAttachmentParentRestoredListener
( fn: (event: AttachmentParentRestoredEvent) => void )
web/src/lib/attachments/events.ts:106
↓ 3 callers
Function
registerAttachmentSurfaceListener
( fn: (event: AttachmentSurfaceOpenEvent) => void )
web/src/lib/attachments/events.ts:420
↓ 3 callers
Function
registrationWellFormed
registrationWellFormed rejects files that parse as JSON but are not something this code wrote: `{}` would otherwise read as a dead legacy record (owne
internal/cli/session_registry.go:426
↓ 3 callers
Function
relationChipFor
(value: string, resolve: ResolveRow)
web/src/lib/collections/relationGroups.ts:77
↓ 3 callers
Function
relationDefaultList
relationDefaultList reads a `multi_relation` value as a list of strings, and is STRICT about the elements. Reports (nil, false) for anything that is
internal/store/relation_referents.go:1603
↓ 3 callers
Function
relationValuesOf
(type: string | undefined | null, value: unknown)
web/src/lib/items/relationFieldTypes.ts:79
↓ 3 callers
Function
release
()
web/src/lib/components/editor/attachmentChipPanel.svelte.test.ts:385
↓ 3 callers
Function
releaseB
()
web/src/lib/stores/workspaceMembershipKnown.svelte.test.ts:145
↓ 3 callers
Function
remindCmd
`pad remind` (alias `pad item remind`) and friends — the CLI half of IDEA-2641 / GitHub #1010. The verbs mirror the lifecycle rather than inventing a
cmd/pad/cmd_reminder.go:25
↓ 3 callers
Function
remove
(id: string)
web/src/mcp-app/boardModel.ts:70
↓ 3 callers
Function
removeGhost
()
web/src/lib/components/editor/block-drag-handle.ts:693
↓ 3 callers
Function
removePadEntryTOML
removePadEntryTOML deletes mcp_servers.pad while leaving other servers and top-level keys intact. Returns (true, nil) when an entry was removed, (fals
internal/mcp/install.go:455
↓ 3 callers
Function
removePending
(userId: string, n: number, opKey: string)
web/src/lib/chat/chatRecords.ts:78
↓ 3 callers
Function
rename
(value: string)
web/src/lib/components/collections/task2191EditDraftGuard.svelte.test.ts:77
↓ 3 callers
Function
render
(component: unknown, props: P)
web/src/lib/items/staleBodyRenders.svelte.test.ts:39
↓ 3 callers
Function
renderChatMarkdown
( body: string, refs: readonly ChatRef[], ctxWorkspace: string | undefined )
web/src/lib/chat/markdown.ts:88
↓ 3 callers
Function
renderCommitmentGate
(w io.Writer, g models.ScheduleGate, state string)
cmd/pad/cmd_schedule_link.go:368
↓ 3 callers
Function
renderDepsMarkdown
renderDepsMarkdown is the markdown counterpart of `pad item deps`. The terminal form is two coloured sections rather than a table, so markdown keeps t
cmd/pad/cmd_item.go:3774
↓ 3 callers
Function
renderItemCopyPreflight
renderItemCopyPreflight writes the human-readable dry run. EVERY bucket header and EVERY warning line is printed unconditionally, including the empty
cmd/pad/cmd_item.go:2478
↓ 3 callers
Function
renderNULTriggerMigration
renderNULTriggerMigration is the single definition of one trigger file's text: its header, then the triggers of every column assigned to it. It lives
internal/store/nulcolumns.go:1106
↓ 3 callers
Function
renderPreview
()
web/src/lib/components/editor/extensions/htmlBlock.ts:314
↓ 3 callers
Function
renderUnsubPage
renderUnsubPage writes the unsubscribe status page with a strict CSP. The CSP denies scripts, inline event handlers, iframes, and remote resources out
internal/server/handlers_unsubscribe.go:122
↓ 3 callers
Function
renderedNULTriggers
renderedNULTriggers returns the exact CREATE statement each trigger in the named trigger files should have, keyed by name. It parses the SAME rendere
internal/store/nulcolumns.go:1022
↓ 3 callers
Method
reopenDependencyQ
(q Queryer, sc *models.ItemSchedule)
internal/store/schedule_reopen.go:153
↓ 3 callers
Method
reopenImageQ
(q Queryer, sc *models.ItemSchedule, u *resolutionUndo, lock bool)
internal/store/schedule_reopen.go:232
↓ 3 callers
Function
reorderedList
( ordered: Item[], itemId: string, dir: ReorderDirection )
web/src/lib/collections/reorder.ts:30
↓ 3 callers
Function
replaceDBName
replaceDBName swaps the database name in a postgres:// URL. e.g. "postgres://pad:pad@localhost:5432/pad?sslmode=disable" becomes "postgres://pad:pad@l
internal/store/store_test.go:350
↓ 3 callers
Method
reportReset
(reason string)
internal/events/observer.go:316
↓ 3 callers
Method
reportSnapshotAsOf
reportSnapshotAsOf reconstructs the status-distribution and WIP snapshot as they stood at time t, from the status-transition history (PLAN-1628 / TASK
internal/store/reports.go:457
↓ 3 callers
Method
requireCallerCanSetCollectionAccess
requireCallerCanSetCollectionAccess denies a restricted caller (their own collection_access is "specific") from using this endpoint to escalate beyond
internal/server/handlers_members.go:897
↓ 3 callers
Method
requireCommitmentWrite
requireCommitmentWrite answers a refused commitment write with the same bytes as the middleware token-scope gate and requireEditPermission.
internal/server/handlers_commitments.go:76
↓ 3 callers
Method
requireCreatedHere
(itemID string)
internal/store/fenced_items.go:199
↓ 3 callers
Function
requireRealPostgres
requireRealPostgres fails the test unless s.db is talking to PostgreSQL.
internal/store/runtime_pool_test.go:54
↓ 3 callers
Function
resetEpoch
()
web/src/test/identityEpochMock.svelte.ts:50
↓ 3 callers
Function
resetFake
()
web/src/test/mocks/indexedPageStores.svelte.ts:32
↓ 3 callers
Method
resetFloatingForItem
resetFloatingForItem resets the item's armed floating managed row, after its assignee changed.
internal/store/schedule_fire.go:351
↓ 3 callers
Method
resetFloors
Discard the connection's floors, retaining delivery, retraction ownership, and time-based backoff for the same identity.
cmd/pad/cmd_watch_chat.go:334
↓ 3 callers
Function
resetMissing
()
web/src/lib/components/editor/attachment-image.ts:528
↓ 3 callers
Function
resetRelativeDataDirWarning
resetRelativeDataDirWarning lets each test see the once-per-process warning afresh, with the default (stderr) sink.
internal/config/bug4066_reset_test.go:5
↓ 3 callers
Function
resolve
()
web/src/lib/components/fields/FieldEditor.typedDebounce.svelte.test.ts:357
↓ 3 callers
Function
resolve
(id: string)
web/src/lib/utils/quickActionCategorical.test.ts:44
↓ 3 callers
Method
resolve
The occurrence wall is the seed-equivalent; target displacement is not subtracted from the deadline displacement.
internal/store/schedule_deadline_eval.go:50
↓ 3 callers
Method
resolve2
(t *testing.T, it *models.Item, sc *models.ItemSchedule, state string)
internal/store/commitment_gates_outcome_test.go:378
↓ 3 callers
Function
resolveActivityMeta
resolveActivityMeta is the names-only metadata of a resolution: the schedule's kind and the state chosen. No comment text, wall, instant or rule.
internal/server/handlers_schedules.go:647
↓ 3 callers
Function
resolveBody
(t *testing.T, c recordedCall)
cmd/pad/schedule_end_test.go:30
↓ 3 callers
Function
resolveDBFilePath
resolveDBFilePath resolves symlinks even when the output file does not exist.
cmd/pad/db_restore_sqlite.go:128
↓ 3 callers
Method
resolveItemRef
resolveItemRef does a GET /api/v1/workspaces/{ws}/items/{ref} and returns the resolved id+slug. Used by the link dispatchers to translate user-friendl
internal/mcp/dispatch_http_links.go:140
↓ 3 callers
Method
resolveLimitQ
resolveLimitQ resolves the limit for a feature using the three-tier resolution: user overrides → DB-stored plan defaults → hardcoded fallback. It take
internal/store/limits.go:384
↓ 3 callers
Function
resolveMulti
(t *testing.T, s *Store, ws *models.Workspace, schema models.CollectionSchema, supplied any)
internal/store/relation_multi_test.go:27
↓ 3 callers
Method
resolveOutboxDrainSettings
resolveOutboxDrainSettings fills every unset knob with its default and stores the result, so the resolved values are identical no matter which entry p
internal/server/outbox_drain.go:110
↓ 3 callers
Method
resolveParentFilter
resolveParentFilter extracts a "parent" (or "plan") key from the field filters and converts it to a ParentLinkID filter (which uses item_links instead
internal/server/handlers_items.go:4158
← previous
next →
5,501–5,600 of 28,840, ranked by callers