Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerpetualSoftware/pad
/ functions
Functions
31,685 in github.com/PerpetualSoftware/pad
⨍
Functions
31,685
◇
Types & classes
3,533
↓ 2 callers
Function
readyCmd
()
cmd/pad/query.go:31
↓ 2 callers
Function
reanchorCandidate
reanchorCandidate is the eligibility predicate above, shared by the fire and a calendar resolve so the two cannot drift. It returns the spec compiled
internal/store/schedule_fire.go:247
↓ 2 callers
Function
reapArmFile
reapArmFile removes a stale arm file, but only after RE-READING it and confirming it is still stale — so a concurrent `pad session arm` that rewrote a
internal/cli/session_arm_state.go:619
↓ 2 callers
Function
reapOwnedArmFile
TASK-4041: share the race-safe owner recheck with the independent chat file.
internal/cli/session_arm_state.go:624
↓ 2 callers
Method
reapTombstonesTx
reapTombstonesTx hard-deletes the tombstone at id if it has no reply left, then does the same for its parent, and so on up. The caller has just delete
internal/store/comments.go:755
↓ 2 callers
Function
reapedPid
reapedPid is a pid that existed and is gone now.
internal/buildtools/bug4068_pidfile_test.go:172
↓ 2 callers
Method
rebased
()
internal/server/handlers_items_patch.go:365
↓ 2 callers
Function
rebindQuery
---------- Helper ---------- rebindQuery converts "?" placeholders to PostgreSQL's "$1", "$2", etc. A "?" is a placeholder only in plain SQL text: it
internal/store/dialect.go:472
↓ 2 callers
Function
rebuildSearchIndex
* Rebuild the per-workspace MiniSearch index from the current in-RAM * snapshot. Called after the warm-cache hydrate and after the cold-path * /item
web/src/lib/stores/localIndex.svelte.ts:671
↓ 2 callers
Method
receiveMessages
(ctx context.Context, pubsub *redis.PubSub, gen int64)
internal/watchevents/redis_bus.go:1269
↓ 2 callers
Method
reclaimWorkspaceBlobs
reclaimWorkspaceBlobs deletes every physical blob owned solely by workspace c, returning true only when the workspace is safe to purge — i.e. every bl
internal/server/workspace_purge.go:316
↓ 2 callers
Function
reconcileWorkspace
( ws: string, state: WorkspaceState, isStale: () => boolean = () => false, )
web/src/lib/stores/localIndex.svelte.ts:822
↓ 2 callers
Method
reconfigureDecisionsLocked
()
internal/server/decision_settings.go:72
↓ 2 callers
Function
reconnectChat
BUG-4320: the unread summary prints at most once, across the connect-time resync, a sync_required resync, and a reconnect that builds a new monitorCha
cmd/pad/cmd_watch_chat_test.go:667
↓ 2 callers
Method
record
record stores a session's client name, evicting expired and, past the bound, the stalest entries.
internal/mcp/client_identity.go:98
↓ 2 callers
Method
record
(err error, e events.Event)
internal/server/events_publish.go:62
↓ 2 callers
Method
recordActivity
recordActivity writes an app activity on the fence's transaction. Only "updated" debounces, as on the human path; the install is part of the identity
internal/store/fenced_items.go:436
↓ 2 callers
Method
recordDropDecision
(eventID, webhookID, outcome string)
internal/store/app_delivery.go:215
↓ 2 callers
Method
recordDropDecisionTx
recordDropDecisionTx writes the terminal row for a drop-age decision and, for a drop, counts it on the hook. "" when the row was already terminal.
internal/store/app_delivery.go:230
↓ 2 callers
Method
recordEdits
recordEdits stores the applied edits on the patch record.
internal/server/handlers_items_patch.go:130
↓ 2 callers
Method
recordFirstWrite
(r *http.Request, kind string, first bool)
internal/server/funnel_metrics.go:73
↓ 2 callers
Function
recordFor
recordFor projects a registration into a record, computing liveness.
internal/cli/session_registry.go:452
↓ 2 callers
Method
recordOnTimeCorrectionTx
recordOnTimeCorrectionTx answers a recorded miss when a completion reported at or before the occurrence's deadline arrives after it: a change_type don
internal/store/commitment.go:629
↓ 2 callers
Function
recordOutstandingMiss
recordOutstandingMiss records the miss of the outstanding occurrence the way the evaluator does, leaving the occurrence itself outstanding.
internal/store/commitment_renegotiate_lapse_test.go:26
↓ 2 callers
Method
recordScheduleEndDismissedActivity
recordScheduleEndDismissedActivity logs the schedule_end_dismissed activity entry shared by POST .../commitment/dismiss-ended and resolve with dismiss
internal/server/handlers_schedule_end.go:37
↓ 2 callers
Method
recordSignup
recordSignup counts a registration that signed the new user in.
internal/server/funnel_metrics.go:55
↓ 2 callers
Function
recordedPrefix
recordedPrefix is how many leading ids a failed RecordNotificationsSent still recorded: its chunks commit one by one, and an id left parked after its
internal/server/push_dispatch.go:378
↓ 2 callers
Function
rect
(e: Element)
web/e2e/lib/boardClickProbe.ts:29
↓ 2 callers
Function
recvOf
(fn *types.Func)
internal/appstore/boundary_check_test.go:568
↓ 2 callers
Function
redactFieldMapKey
redactFieldMapKey names a map whose own keys are schema field keys chosen by users, so no key name at that level marks a structural value: typed value
internal/store/redact_match.go:142
↓ 2 callers
Function
redactQueryDepth
(raw string, depth int)
internal/logging/redaction.go:174
↓ 2 callers
Function
redisOptionsFromEnv
redisOptionsFromEnv parses the Redis URL and, when password is non-empty, sets it as the connection password, replacing any password in the URL. The p
cmd/pad/redis_options.go:13
↓ 2 callers
Function
reduceURLText
reduceURLText reduces a URL value to its host. A value with no / or ? in it (failureUrl=timeout) is plain text and stays.
internal/logging/redaction.go:252
↓ 2 callers
Function
reference
reference is the TracksWork value of a reference collection, a fresh pointer each call so no two definitions share one.
internal/collections/templates.go:300
↓ 2 callers
Function
refreshFilenameDom
()
web/src/lib/components/editor/attachment-chip.ts:264
↓ 2 callers
Method
refreshUser
refreshUser re-fetches c.user fresh from the store, mirroring computeSSEVisibility's re-fetch (handlers_events.go) with ONE deliberate, documented dif
internal/server/handlers_watch_events.go:714
↓ 2 callers
Function
refs
()
web/src/routes/(console)/home.svelte.test.ts:84
↓ 2 callers
Method
refusalLocked
refusalLocked says whether a new subscriber must be refused, and why. Callers must hold b.mu, and must decide AND register under that one hold: b.pubs
internal/watchevents/redis_bus.go:716
↓ 2 callers
Function
refuseAppAuthoredReferences
refuseAppAuthoredReferences refuses any pad-attachment: token, in any spelling, in an app artifact's content or field values, and any workspace-qualif
internal/server/handlers_apps_install.go:863
↓ 2 callers
Function
refuseBlankBody
A comment body may carry a pad-attachment: reference, unlike an item's content, but only to an attachment already bound to the comment's item (DOC-337
internal/appstore/comments.go:25
↓ 2 callers
Method
refuseOAuthSubject
refuseOAuthSubject answers a sign-in or link whose provider account is not the one bound to this pad account (TASK-3351). It names the way back in: th
internal/server/handlers_cloud.go:60
↓ 2 callers
Function
refuseReferences
refuseReferences refuses ANY pad-attachment: token, whether or not the id exists, in any spelling: an unconditional refusal is not an oracle, and noth
internal/appstore/items.go:286
↓ 2 callers
Function
refuseRepeatedFieldValues
refuseRepeatedFieldValues finishes a request decode whose struct carries a models.FieldValues member (BUG-3219). decodeErr is the struct decode's resu
internal/server/handlers_items_copy_preflight.go:1835
↓ 2 callers
Function
refuseStructuredFieldsOverCLI
BuildCLIArgs translates an MCP tool call's JSON arguments into the CLI argument list that should be appended after the command path. Pure function — n
internal/mcp/dispatch.go:427
↓ 2 callers
Function
refuseUnsupportedResponseMode
refuseUnsupportedResponseMode answers 400 for a response_mode outside supportedResponseModes, before fosite builds the request, so not even the error
internal/server/oauth_iss.go:96
↓ 2 callers
Function
refuseUpgrade
(path, format string, args ...any)
internal/server/app_upgrade_diff.go:72
↓ 2 callers
Function
refused
(writes: string[])
web/e2e/permission-walk-move.spec.ts:113
↓ 2 callers
Function
refusedRawDraftOffer
( draft: RefusedRawDraft | null, storedBody: string, )
web/src/lib/items/refusedRawDraft.ts:313
↓ 2 callers
Function
refusingAttachmentServer
refusingAttachmentServer advertises attachment_restore, answers every HEAD 404 (delete --yes sends the DELETE anyway), and answers the write with the
cmd/pad/attachment_stdio_parity_test.go:53
↓ 2 callers
Method
regSeqUpdateExpr
regSeqUpdateExpr is the SQL value a register writes to reg_seq on a row it UPDATEs (TASK-4031). SQLite: MAX+1, race-free because every write transacti
internal/store/push_devices.go:154
↓ 2 callers
Function
region
()
web/src/lib/components/items/SaveSyncStatus.svelte.test.ts:21
↓ 2 callers
Function
registerAttachmentDeletionListener
(fn: (uuid: string) => void)
web/src/lib/attachments/events.ts:36
↓ 2 callers
Function
registerCrashDraftKeeper
( source: CrashDraftSource, schedule: (fn: () => void, ms: number) => () => void = (fn, ms) => { const t =
web/src/lib/items/crashDraft.ts:65
↓ 2 callers
Function
registerRefreshBeforeLocalChange
(editor: BeforeTransactionSource, refresh: () => void)
web/src/lib/items/confirmedBase.ts:141
↓ 2 callers
Function
registerSessionExpiryKeeper
(fn: SessionExpiryKeeper)
web/src/lib/stores/sessionExpiryKeep.ts:18
↓ 2 callers
Function
registerThreadView
(userId: string, n: number, surface: (opKey: string) => void)
web/src/lib/chat/composerRegistry.ts:55
↓ 2 callers
Function
registered
()
plugin/hooks/register.js:1134
↓ 2 callers
Function
registered
()
web/src/lib/components/chat/ChatHost.svelte.test.ts:563
↓ 2 callers
Function
registryPath
registryPath returns ~/.pad/installations.json.
internal/cli/registry.go:34
↓ 2 callers
Function
rejectRollbackLeavesNoHuskAndReclaimsBlobs
(t *testing.T, driver store.DriverType)
internal/server/handlers_import_bundle_husk_test.go:184
↓ 2 callers
Function
rejectRollbackReclaimRefused
(t *testing.T, driver store.DriverType)
internal/server/handlers_import_bundle_husk_test.go:254
↓ 2 callers
Method
rejectSubscription
rejectSubscription runs when Redis answers a SUBSCRIBE with an error reply instead of an acknowledgement (BUG-2799): an ACL denial (-NOPERM), -NOAUTH,
internal/events/redis_bus.go:1939
↓ 2 callers
Function
relatedEntryFromLink
relatedEntryFromLink projects a link's source-side or target-side metadata into a relatedEntry. Mirrors cmd/pad/query.go's helper.
internal/mcp/dispatch_http_links.go:685
↓ 2 callers
Function
relatedEntryFromLink
(link models.ItemLink, useSource bool)
cmd/pad/query.go:493
↓ 2 callers
Function
relationField
relationField builds the conventions collection's `role` field retyped as a relation pointing at the Secrets collection, with extra keys merged over i
internal/server/handlers_artifact_import_relation_carry_test.go:212
↓ 2 callers
Function
relationGroupingRefusal
( field: { type?: string; collection?: string } | null | undefined, )
web/src/lib/collections/relationGroups.ts:316
↓ 2 callers
Function
relationKeysFromSchemaJSON
relationKeysFromSchemaJSON returns the field keys a collection schema declares as `relation` (or `multi_relation`). ONE function so the write hook an
internal/store/relation_links.go:165
↓ 2 callers
Function
relationValueShapeIsValid
(def models.FieldDef, raw any)
internal/store/relation_referents.go:418
↓ 2 callers
Function
relationValueStoredAsText
relationValueStoredAsText is the `stored_as_text` predicate (BUG-3014): a stored relation value that, after strings.TrimSpace, is not 8-4-4-4-12 hex w
internal/store/relation_referents.go:2041
↓ 2 callers
Function
relativeTimeStr
(t time.Time)
cmd/pad/cmd_github.go:479
↓ 2 callers
Function
release
()
web/src/lib/components/layout/QuickCaptureSheet.you.svelte.test.ts:76
↓ 2 callers
Function
release
()
web/src/lib/components/timeline/timelinePagination.svelte.test.ts:312
↓ 2 callers
Function
releaseA
()
web/src/lib/stores/workspaceMembershipKnown.svelte.test.ts:144
↓ 2 callers
Function
releaseA
()
web/e2e/pane-async-race.spec.ts:596
↓ 2 callers
Method
releaseAwareness
releaseAwareness forgets a closing connection's clients and tells the room they are gone. Under awPubMu with relayAwareness: a reconnected client's fi
internal/collab/room.go:832
↓ 2 callers
Method
releaseDecisionClaim
releaseDecisionClaim gives a claim back without recording anything: attempts and last_error are untouched, so the job is claimable again as soon as it
internal/store/decisions.go:409
↓ 2 callers
Function
releaseFirst
()
web/src/lib/components/editor/attachmentImageKeyboard.svelte.test.ts:1363
↓ 2 callers
Function
releaseGo
* Release the latch; true when it ran a continuation. `fallback` is the 3s timer: * the only release that runs a heal as a plain navigation with Chat
web/src/lib/stores/chatSurface.svelte.ts:272
↓ 2 callers
Function
releaseSet
(claimedAt string)
internal/store/push_dispatch.go:326
↓ 2 callers
Function
releaseStale
()
web/src/lib/components/timeline/timelinePagination.svelte.test.ts:351
↓ 2 callers
Method
releaseSupersededDecisionJob
(j DecisionJob)
internal/store/decisions.go:502
↓ 2 callers
Function
releasedSkillOutputs
releasedSkillOutputs rebuilds what tag's pad wrote, per output format.
internal/cli/skill_legacy_hashes_gen_test.go:91
↓ 2 callers
Function
reload
()
web/src/lib/stores/pendingEditsDialog.svelte.ts:67
↓ 2 callers
Method
reload2
(t *testing.T, wsID, itemID string)
internal/store/schedule_end_guard_test.go:385
↓ 2 callers
Function
remapFirstChunkFailure
(t *testing.T, driver store.DriverType)
internal/server/task4278_remap_failures_test.go:77
↓ 2 callers
Function
remapGoldenPath
remapGoldenPath holds the dump the SINGLE-TRANSACTION remap (the code before TASK-4278) produced for remapEquivalenceFixture. Regenerate only from tha
internal/store/attachments_remap_fixture_test.go:171
↓ 2 callers
Function
remapStoppedBetweenChunks
(t *testing.T, driver store.DriverType)
internal/server/task4278_remap_partial_test.go:34
↓ 2 callers
Function
remindAtGiven
remindAtGiven reports whether remind_at carries a value of any type: the one-shot time cannot ride with schedule parameters.
internal/mcp/catalog_item_schedule.go:80
↓ 2 callers
Function
remindGraphReadCmd
(gates bool)
cmd/pad/cmd_schedule_link.go:255
↓ 2 callers
Function
remindGraphRemoveCmd
(gates bool)
cmd/pad/cmd_schedule_link.go:299
↓ 2 callers
Function
remindLines
remindLines returns every shell line in the skill that starts with `pad remind`, in order, with any trailing `# comment` removed.
cmd/pad/capture_skill_commitment_test.go:31
↓ 2 callers
Function
remindShowCmd
()
cmd/pad/cmd_schedule.go:185
↓ 2 callers
Method
reminderCommitmentShapeQ
reminderCommitmentShapeQ checks the schedule itself, including time links, a forecast and an active milestone selection. A forecast and the selection
internal/store/reminder_commitment.go:50
↓ 2 callers
Method
reminderCounts
---- miss first, then mark, and disarm ----
internal/store/commitment_cancel_test.go:355
↓ 2 callers
Function
reminderFireAt
reminderFireAt is the instant the managed reminder fires for an override of the outstanding occurrence: the override less the lead, and for a move tha
internal/store/schedule_resolve.go:927
↓ 2 callers
Function
reminderMigrationFKRows
Include rowids so the test detects replacement or repair of a legacy orphan, not merely a change in the number of violations.
internal/store/reminder_migration_fk_test.go:48
↓ 2 callers
Method
reminderRows
(t *testing.T, i int)
internal/store/commitment_cascade_past_test.go:28
↓ 2 callers
Function
reminderWriteAs
reminderWriteAs sends a session write with its CSRF pair, the shape a browser sends (doAuthedDeleteWithCSRF, with a body).
internal/server/task3611_reminder_oracle_test.go:14
↓ 2 callers
Function
remoteUnreadableEnvelope
remoteUnreadableEnvelope is what the remote transport hands an agent when the item PATCH refuses an append with 409 stored_state_unreadable — the only
internal/mcp/stored_state_unreadable_test.go:28
↓ 2 callers
Function
removeChatSeen
removeChatSeen deletes both generations of a pid's log. It never creates the directory, and a missing file is not an error.
internal/cli/chat_seen.go:65
← previous
next →
9,001–9,100 of 31,685, ranked by callers