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
↓ 2 callers
Method
resumeOutrunsLocalView
resumeOutrunsLocalView reports whether a resume from sinceID is asking about ids this instance cannot vouch for, by asking the one authority that know
internal/watchevents/redis_bus.go:935
↓ 2 callers
Method
retargetSimpleReminderTx
retargetSimpleReminderTx requires the caller to pin and check the simple run-once shape. An ended commitment has no alarm, so rearming creates one.
internal/store/reminder_commitment.go:154
↓ 2 callers
Method
retimeArmedReminderTx
retimeArmedReminderTx moves the managed row's instant only while it is still armed. It returns nil on 0 rows (fired or absent): a fired row's occurren
internal/store/schedules.go:1120
↓ 2 callers
Method
retryPending
Put a failed or unconfirmed bubble back in flight. Returns it so the caller re-sends with its op_key.
web/src/lib/chat/model.ts:84
↓ 2 callers
Function
retypeConventionRole
retypeConventionRole replaces the conventions collection's DECLARED `role` field with def. `role` is chosen because it is on conventionFieldKeys: a ke
internal/server/handlers_artifact_import_relation_carry_test.go:225
↓ 2 callers
Method
reusableEndedReminderCarrierQ
reusableEndedReminderCarrierQ ignores item-level gates: rearming preserves those gates, and the ordinary commitment firing path continues to honor the
internal/store/reminder_commitment.go:39
↓ 2 callers
Function
reusedByAnotherClient
reusedByAnotherClient reports whether a reused (invalidated or inactive) code or refresh token is being presented by a client other than the one it wa
internal/oauth/storage.go:225
↓ 2 callers
Method
revokeAppGrantOnce
revokeAppGrantOnce is one attempt at ending an installed app's grant by request id, whoever holds it: RevokeUserAppGrant after its ownership check, an
internal/store/app_grants.go:132
↓ 2 callers
Function
rewrite
Fulfil `route` with the real response, rewritten by `edit`.
web/e2e/bug-3050-stale-body-renders.spec.ts:43
↓ 2 callers
Function
rewriteBundle
rewriteBundle re-tars a real bundle, passing pad-export.json through edit and repeating the entry named dup (if any) once more.
internal/server/bug3357_bundle_ownership_test.go:17
↓ 2 callers
Function
role
(name: string)
web/src/lib/commitment.ts:249
↓ 2 callers
Function
roleEdit
roleEdit gives the named schedules stored role data, with the dates and kind of schedule the case needs.
internal/store/schedule_link_import_test.go:849
↓ 2 callers
Function
roleOffsetsRaw
TASK-4610: every commitment view carries role_offsets, the schedule row's own stored offsets, so a client can edit the series losslessly.
internal/server/commitment_role_offsets_test.go:15
↓ 2 callers
Function
roleText
(value: string, zone: string)
web/src/lib/calendar/presentation.ts:274
↓ 2 callers
Method
rootPastDeadline
rootPastDeadline reads either orientation of the root target/deadline violation.
internal/store/commitment_cascade.go:221
↓ 2 callers
Function
roots
()
web/src/lib/components/common/Lightbox.svelte.test.ts:211
↓ 2 callers
Method
rotateAppWebhookSecretTx
rotateAppWebhookSecretTx mints a new signing secret for the install's hook, marks it delivered (the caller is handing it to the app now: redeem), and
internal/store/app_webhooks.go:136
↓ 2 callers
Function
roundTrip
PLAN-3578 step 3: an undo is the inverse patch anchored on each edit's context, and it refuses unless every anchor occurs exactly once.
internal/bodypatch/undo_test.go:12
↓ 2 callers
Function
roundTrips
roundTrips reports whether emitting `[[title]]` the way links.ReplaceTitle does — plain concatenation, no escaping — produces a bracket that reads bac
internal/models/document_title_test.go:35
↓ 2 callers
Function
routingTestHandler
(items []models.Item)
cmd/pad/format_markdown_routing_test.go:86
↓ 2 callers
Function
routingTestItems
()
cmd/pad/format_markdown_routing_test.go:70
↓ 2 callers
Function
row
(id: string, seq: number | undefined, sort_order: number)
web/src/lib/stores/localIndexScopeStale.svelte.test.ts:15
↓ 2 callers
Function
row
(id: string, seq: number, collection = 'kept')
web/src/lib/stores/localIndexMovedOutFloor.svelte.test.ts:57
↓ 2 callers
Function
row
(id: string, seq: number, title: string)
web/src/lib/stores/localIndexReconcileDuplicate.svelte.test.ts:18
↓ 2 callers
Function
row
(id: string, seq: number, collection = 'kept')
web/src/lib/stores/localIndexReconcileAuthDrop.svelte.test.ts:28
↓ 2 callers
Function
row
(id: string, seq: number)
web/src/lib/stores/localIndexReconcileOneReadPerAsk.svelte.test.ts:19
↓ 2 callers
Function
row
(id: string)
web/src/lib/api/bug3789ListWalks.test.ts:9
↓ 2 callers
Function
rowLabel
(row: HTMLElement)
web/src/lib/components/collections/statusPickerTestKit.ts:26
↓ 2 callers
Function
rowNewer
rowNewer orders two rows by created_at, then kind priority, then id.
internal/server/push_dispatch.go:474
↓ 2 callers
Method
rowState
A schedule that is an end of a link is edited only where the edit cannot shift a date the link supplies (TASK-4353, 2a). Without the refusal a timing
internal/store/commitment_links_guard_test.go:14
↓ 2 callers
Function
rowTop
Viewport top of the row with this title.
web/e2e/bug-3165-list-scroll-after-expand.spec.ts:55
↓ 2 callers
Function
rows
()
web/src/lib/components/layout/WorkspaceSwitcher.notLoaded.svelte.test.ts:43
↓ 2 callers
Function
rows
(scroller: HTMLElement)
web/src/lib/collections/listScrollHandoff.ts:32
↓ 2 callers
Function
rows
(page: Page)
web/e2e/chat-thread-read.spec.ts:72
↓ 2 callers
Function
run
(...args: string[])
web/e2e/lib/real-install.ts:63
↓ 2 callers
Method
run
run executes the pad subprocess. When limit > 0 it retains at most limit bytes of stdout (draining and discarding the rest so the child never blocks o
internal/mcp/resources.go:88
↓ 2 callers
Method
runAppPendingSweep
runAppPendingSweep is one pass.
internal/server/app_pending_sweep.go:69
↓ 2 callers
Function
runAuthCodeFlowFor
runAuthCodeFlowFor is runAuthCodeFlow for a server whose OAuth audience is not testCanonicalAudience.
internal/server/handlers_oauth_test.go:2568
↓ 2 callers
Function
runBackfillStatements
runBackfillStatements replays the migration's UPDATE statements. The migration itself is version-tracked and won't re-run, so the statements are read
internal/store/collection_traits_backfill_test.go:143
↓ 2 callers
Function
runClientSession
runClientSession returns the initialized client as well as the handshake result so tests can inspect later protocol responses on the same session.
internal/mcp/server_test.go:199
↓ 2 callers
Function
runCommentTombstonePopulation
(t *testing.T, s *Store)
internal/store/comments_tombstone_test.go:34
↓ 2 callers
Method
runDecisionTick
(ctx context.Context)
internal/server/decision_tick.go:201
↓ 2 callers
Method
runItemClosingGuards
runItemClosingGuards preserves open_children precedence while including every warning that a single force retry will override, using the same transact
internal/server/handlers_items_schedule_active.go:24
↓ 2 callers
Method
runJob
runJob calls one job function of the bundle (materialize or snapshot) with job's JSON, under ctx's interrupt.
internal/materialize/materialize.go:217
↓ 2 callers
Function
runLimitedMintRace
(t *testing.T, s *Store, m limitedMint, competitorCounts bool)
internal/store/limits_mint_race_test.go:121
↓ 2 callers
Function
runLimitedWorkspaceRace
(t *testing.T, s *Store, c limitedWorkspaceInsert, competitorCounts bool)
internal/store/limits_workspace_mint_race_test.go:156
↓ 2 callers
Function
runLink
(t *testing.T, dir, url string, args ...string)
cmd/pad/task3612_link_repoint_test.go:82
↓ 2 callers
Function
runLiveSetEpoch
(t *testing.T, restricted bool)
internal/server/bug3428_phase2_epoch_guard_test.go:109
↓ 2 callers
Function
runMCPStatus
(cmd *cobra.Command, inst *mcpserver.Installer)
cmd/pad/mcp.go:187
↓ 2 callers
Method
runOutboxRetention
runOutboxRetention enforces both halves of the retention window. Both, on every tick, because they bound different things: dispatched rows are histor
internal/server/outbox_drain.go:474
↓ 2 callers
Function
runPin
(t *testing.T, dir string, args ...string)
internal/buildtools/pin_plugin_marketplace_test.go:84
↓ 2 callers
Function
runPublishScriptID
runPublishScriptID runs publishScript directly and returns the id it assigned (0 when the dedupe token declined it). Since BUG-2744 the reply is {id,
internal/events/redis_idspace_test.go:1395
↓ 2 callers
Function
runRestoreRace
(t *testing.T, s *Store, competitorCounts bool)
internal/store/restore_plan_limit_test.go:36
↓ 2 callers
Function
runSearchWithCollection
(t *testing.T, stub *searchCollectionStub, collection string)
cmd/pad/search_collection_gate_test.go:46
↓ 2 callers
Function
runShowMarkdown
TASK-3451: `pad item show --format markdown` prints the BODY ONLY, verbatim, so `item update --stdin` round-trips it (IDEA-2937). Skills and playbooks
cmd/pad/task3451_markdown_load_test.go:20
↓ 2 callers
Function
runShowMarkdownWith
(t *testing.T, content, contentState string)
cmd/pad/task3451_markdown_load_test.go:25
↓ 2 callers
Function
runTestShard
runTestShard runs scripts/test-shard.sh from the repo root against the shardpkg fixture, with spread as its pin file ("" for none).
internal/buildtools/test_shard_spread_test.go:13
↓ 2 callers
Method
runTokenReaperTick
runTokenReaperTick runs one sweep. Each cleaner is independent — a failure in one is logged and does not skip the others. Quiet on success (operators
internal/server/token_reaper.go:98
↓ 2 callers
Function
runeBoundaryAtOrBefore
runeBoundaryAtOrBefore returns the largest index <= i that is not a UTF-8 continuation byte, so a cut there never SPLITS a rune: valid UTF-8 input yie
internal/decision/typesafe.go:523
↓ 2 callers
Function
safeErrorText
safeErrorText is err.Error() that survives a nil receiver or a panicking method: a log call must never take the process down.
internal/logging/scrub.go:848
↓ 2 callers
Function
safeJsonParse
(raw: string | undefined | null, fallback: T)
web/src/lib/stores/localSearch.svelte.ts:311
↓ 2 callers
Function
safeLinkHref
(raw: string, origin: string)
web/src/lib/chat/urlPolicy.ts:24
↓ 2 callers
Function
safeLocalFilenameFor
safeLocalFilenameFor is safeLocalFilename for a named OS, so the Windows branch is testable on any build host. ON WINDOWS ONLY, the name also goes th
cmd/pad/cmd_attachment.go:322
↓ 2 callers
Function
safePath
(path: string)
web/src/lib/billing/upgradeResume.ts:27
↓ 2 callers
Function
said
(text: string, type: 'success' | 'error' = 'error')
web/src/routes/(console)/agenda/agenda.svelte.test.ts:41
↓ 2 callers
Function
same
(w: Workspace, ref: Ref)
web/src/lib/stores/shellWorkspace.ts:10
↓ 2 callers
Function
sameFilePath
sameFilePath reports whether two paths name the same file.
cmd/pad/cmd_db_nul.go:353
↓ 2 callers
Function
sameIDs
(a, b []string)
internal/store/workspace_tabs_test.go:67
↓ 2 callers
Function
sameOffsets
(a, b *models.CommitmentRoleOffsets)
internal/store/commitment_role_offsets_test.go:50
↓ 2 callers
Function
sameServerURL
sameServerURL compares two .pad.toml url values. Empty means the local server. Scheme and host case, a default port and a trailing slash do not make a
cmd/pad/cmd_workspace.go:828
↓ 2 callers
Function
sameStringSet
(a, b []string)
internal/server/app_upgrade_diff.go:337
↓ 2 callers
Function
sanitiseStoredTextChanged
sanitiseStoredTextChanged is sanitiseStoredText plus the fact a caller needs when the value is an IDENTITY rather than free text: whether anything was
internal/server/middleware_request_text.go:945
↓ 2 callers
Function
sanitizeFTSQuery
sanitizeFTSQuery wraps each token in double quotes so FTS5 treats special characters (like hyphens) as literals rather than operators. The final token
internal/store/search.go:550
↓ 2 callers
Function
sanitizePGFTSQuery
sanitizePGFTSQuery returns a copy of q with hyphens replaced by spaces. Used as the second leg of the OR-combined PG FTS query: postgres' english pars
internal/store/search.go:611
↓ 2 callers
Method
saveLocked
saveLocked is Save for a caller that holds the credentials lock.
internal/cli/credentials.go:384
↓ 2 callers
Function
scan
scan marks the lines inside fenced code blocks (fence lines included) and lists the headings outside them, following CommonMark's rules for both: a fe
internal/acceptance/acceptance.go:56
↓ 2 callers
Function
scanAgendaItemEvents
(rows *sql.Rows)
internal/store/agenda_item_events.go:89
↓ 2 callers
Function
scanAttachmentsUses
scanAttachmentsUses counts the uses of the internal/attachments package in af and reports every one outside the audited pure helpers. The local name c
internal/store/task4278_store_network_io_guard_test.go:115
↓ 2 callers
Function
scanBoundHolds
(t *testing.T, laterHistory bool)
internal/server/handlers_agenda_test.go:508
↓ 2 callers
Method
scanBucketCounts
scanBucketCounts runs a "SELECT <bucket>, COUNT(*) ... GROUP BY <bucket>" query and returns a label→count map.
internal/store/reports.go:892
↓ 2 callers
Function
scanDeadline
(row interface{ Scan(...any) error }, approximate bool)
internal/store/schedule_deadline_eval.go:133
↓ 2 callers
Function
scanItemSnapshot
scanItemSnapshot scans one itemSnapshotSelect row and hydrates it exactly as a single-item read does. sql.ErrNoRows is returned unwrapped.
internal/store/items.go:892
↓ 2 callers
Function
scanItemVersions
(rows *sql.Rows)
internal/store/items.go:6904
↓ 2 callers
Function
scanItemWorkspaceMove
scanner (api_tokens.go) is satisfied by both *sql.Row and *sql.Rows.
internal/store/item_workspace_moves.go:191
↓ 2 callers
Function
scanLink
(r interface{ Scan(...any) error })
internal/store/commitment_links.go:145
↓ 2 callers
Method
scanNotification
(r rowScanner)
internal/store/push_dispatch.go:68
↓ 2 callers
Function
schedule
(view: EditorView)
web/src/lib/components/editor/attachment-upload.ts:372
↓ 2 callers
Function
schedule
()
web/src/lib/chat/viewport.ts:23
↓ 2 callers
Function
scheduleIDs
(s []*models.ItemSchedule)
internal/store/commitment_links_test.go:177
↓ 2 callers
Method
scheduleSnapshotQ
(q Queryer, id string)
internal/store/schedule_journal.go:103
↓ 2 callers
Function
scheduleSpreadSync
* Answer a server `sync_required` after a random delay instead of at once * — see syncSpread.ts for why and for the window. `needsSync` is set NOW,
web/src/lib/services/sse.svelte.ts:317
↓ 2 callers
Function
scheduleUpdateBody
(p scheduleParams, currentStart string)
internal/mcp/dispatch_http_schedule.go:218
↓ 2 callers
Function
schemaSpec
()
web/src/lib/collab/materializer/entry.ts:171
↓ 2 callers
Function
schemaSpecOf
(editor: Editor)
web/src/lib/collab/materializer/schemaSpec.ts:17
↓ 2 callers
Function
schemaTagRules
(schema: Schema)
web/src/lib/components/editor/extensions/htmlProse.ts:82
↓ 2 callers
Function
scopeStale
An outstanding stale ask that no resync started after it has answered.
web/src/lib/stores/localIndex.svelte.ts:953
↓ 2 callers
Function
scopeTestArgs
(e mcpserver.ChatGPTTool)
cmd/pad/chatgpt_scope_test.go:92
↓ 2 callers
Function
scratchCollection
(fixture: SuiteFixture, request: APIRequestContext)
web/e2e/bug-3159-roles-children-touch-drag.spec.ts:51
↓ 2 callers
Function
scratchCollection
(fixture: SuiteFixture, request: APIRequestContext)
web/e2e/bug-3158-landscape-touch-drag.spec.ts:35
↓ 2 callers
Function
screenDialAddr
screenDialAddr rejects a dial to a private/reserved IP. The dialer calls this with the resolved connection address (ip:port), so it validates the exac
internal/webhooks/dispatcher.go:379
← previous
next →
8,401–8,500 of 28,840, ranked by callers