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
Function
prepareCarriedOverrides
(in []models.ScheduleOverrideExport, floating bool)
internal/store/schedule_carry_v2.go:64
↓ 2 callers
Method
prepareCreateFieldsQ
prepareCreateFieldsQ is prepareCreateFields with every read on q. The app installer runs it on the provisioning transaction (TASK-3397, U8b); every ot
internal/server/handlers_items.go:1206
↓ 2 callers
Function
prepareReminderMigrationTx
prepareReminderMigrationTx runs before the constraint SQL on the migration transaction. The version is rechecked after exclusion, never from a stale l
internal/store/reminder_migration.go:99
↓ 2 callers
Function
preserveDBFileOwnership
(file *os.File, original os.FileInfo)
cmd/pad/db_restore_ownership_unix.go:11
↓ 2 callers
Function
preservePaneItemParam
(params: URLSearchParams, currentUrl: UrlWithParams)
web/src/lib/collections/paneUrlParams.ts:47
↓ 2 callers
Function
pressed
()
web/src/lib/components/common/SegmentedControl.svelte.test.ts:16
↓ 2 callers
Function
prev
()
web/src/lib/components/common/Lightbox.svelte.test.ts:5665
↓ 2 callers
Function
previewFixture
()
web/src/lib/components/settings/apps/AppsTab.svelte.test.ts:64
↓ 2 callers
Function
prime
(ctx: CollabFlushContext)
web/src/lib/collab/collabFlush.svelte.ts:194
↓ 2 callers
Function
printCatchUpHeading
(out io.Writer, md bool, title string)
cmd/pad/cmd_project.go:1087
↓ 2 callers
Function
printCatchUpLines
(out io.Writer, md bool, lines []cli.CatchUpLine)
cmd/pad/cmd_project.go:1112
↓ 2 callers
Function
printChatJSONWithMark
(cmd *cobra.Command, raw json.RawMessage, mark map[string]any)
cmd/pad/cmd_chat.go:241
↓ 2 callers
Function
printImportDrops
printImportDrops prints each unique value the import dropped, one line each in `pad item move`'s `dropped:` shape, led by the item that lost it (BUG-3
cmd/pad/import_summary.go:23
↓ 2 callers
Function
printImportSummary
printImportSummary prints what the bundle carried next to what arrived, and marks every kind whose count differs. It reports whether all of them match
cmd/pad/import_summary.go:68
↓ 2 callers
Function
printItemCopySchedule
printItemCopySchedule prints the source schedule's fate, and nothing when the source had none (TASK-4104 D3), so a schedule-less copy reads as it alwa
cmd/pad/cmd_item.go:4895
↓ 2 callers
Function
printNULScanReport
printNULScanReport renders a scan for a human. ON STDOUT, unlike the rest of this command group. `pad db backup` and `pad db restore` keep their prog
cmd/pad/cmd_db_nul.go:273
↓ 2 callers
Function
printOnboardingHints
(cfg *config.Config, templateName string)
cmd/pad/cmd_workspace.go:1036
↓ 2 callers
Function
printStaleBodyLine
printStaleBodyLine is the TABLE-format stale-body notice: STDOUT, first line (TASK-3132). The markdown and JSON formats do not use it — see showCmd's
cmd/pad/cmd_item.go:4839
↓ 2 callers
Function
printWorkspaceContext
(workspace *models.Workspace)
cmd/pad/workspace_context.go:130
↓ 2 callers
Function
printableCell
printableCell makes a self-declared value safe for the terminal table: every non-printable rune (newline, carriage return, ESC, ...) becomes '?', so a
cmd/pad/cmd_session.go:323
↓ 2 callers
Function
priorityMark
(p)
plugin/hooks/register.js:488
↓ 2 callers
Function
probe
Sample the box every 4px; `want` says whether a hit on `el` is what is sought.
web/e2e/task-2244-mobile-touch-targets.spec.ts:380
↓ 2 callers
Function
probeMetadata
(forUuid: string)
web/src/lib/components/editor/attachment-chip.ts:592
↓ 2 callers
Function
processRRuleName
processRRuleName processes the name of an RRule off a multi-line RRule set
internal/schedule/internal/rrule/str.go:422
↓ 2 callers
Function
projectBootstrapAgenda
projectBootstrapAgenda applies the limits to a read. Nil when there is nothing to show.
internal/server/bootstrap_agenda.go:169
↓ 2 callers
Function
projectFieldsBySchema
projectFieldsBySchema keeps only the keys the schema declares, minus relation and multi_relation fields. Numbers keep their literal form. It never fai
internal/store/app_projection.go:169
↓ 2 callers
Method
projectIntelVisibility
projectIntelVisibility computes the (collectionIDs, itemIDs) visibility-scoping pair for the item-list calls the standup/changelog handlers make direc
internal/server/handlers_project_intel.go:109
↓ 2 callers
Function
projectPlaybookMetadata
projectPlaybookMetadata renders playbook items down to the metadata shape. Bodies are NOT included — the agent loads a full body only when invoking.
internal/server/handlers_bootstrap.go:1039
↓ 2 callers
Function
projected
(s: { serverMs: number; receivedAt: number }, now: number)
web/src/lib/api/serverClock.ts:61
↓ 2 callers
Function
projectedBulkPayloadBytes
projectedBulkPayloadBytes is a LOWER BOUND on what marshalling this member set will produce: the bytes the members already carry. A lower bound is th
internal/store/event_outbox.go:1238
↓ 2 callers
Function
promotedParamValue
promotedParamValue reads one of the promoted item params (status, priority, category, parent) off the dispatch input, reporting whether it was actuall
internal/mcp/dispatch_http_advanced.go:702
↓ 2 callers
Function
proofFromHash
(hash: string)
web/src/lib/invitations/proof.ts:18
↓ 2 callers
Function
props
(over: Record<string, unknown> = {})
web/src/lib/components/items/itemDetailLoadsOnce.svelte.test.ts:134
↓ 2 callers
Function
pruneLocked
pruneLocked is PruneSessions's body; the caller holds the directory lock.
internal/cli/session_registry.go:539
↓ 2 callers
Function
ptr
(v T)
internal/server/bug3382_verify_claim_test.go:277
↓ 2 callers
Function
ptr
( type: string, x: number, y: number, opts: { pointerType?: string; pointerId?: number; buttons?: numb
web/src/lib/components/common/Lightbox.svelte.test.ts:5913
↓ 2 callers
Function
ptrBool
(b bool)
internal/store/task4315_chat_setting_test.go:158
↓ 2 callers
Function
publicShareItemDTO
(item *models.Item)
internal/server/handlers_share_links.go:471
↓ 2 callers
Function
publish
(s: ItemCommitmentSnapshot)
web/src/lib/components/items/itemDetailAddDate.svelte.test.ts:146
↓ 2 callers
Method
publishAccessKick
(m accesskick.Message)
internal/server/access_kick.go:237
↓ 2 callers
Method
publishBulkItemsEvent
publishBulkItemsEvent emits one ItemsBulkUpdated SSE event for the slice of a batch mutation that landed in `collection` (TASK-1668). Collection is se
internal/server/handlers_items_bulk.go:1298
↓ 2 callers
Method
publishEvent
publishEvent publishes a real-time event if the event bus is available (best-effort).
internal/server/handlers_documents.go:320
↓ 2 callers
Function
publishFailures
(t *testing.T, m *Metrics, outcome string)
internal/metrics/publish_failures_test.go:19
↓ 2 callers
Method
publishHeartbeats
publishHeartbeats emits one liveness frame. No-op until phase 2. IT DOES NOT GO THROUGH Publish. That path assigns an id from the shared watch counte
internal/watchevents/heartbeat.go:242
↓ 2 callers
Method
publishStructuralLinkSourceEvent
publishStructuralLinkSourceEvent runs only after the link transaction has committed. It refetches the source so the SSE seq matches the row clients wi
internal/server/handlers_item_links.go:258
↓ 2 callers
Method
pump
pump broadcasts notifications whose payload is size bytes, one per millisecond, until stop closes. A full session channel drops the notification, as m
internal/server/bug3808_mcp_stalled_reader_test.go:129
↓ 2 callers
Function
purgeRefusedRawDraftsForUser
(userId: string)
web/src/lib/items/refusedRawDraft.ts:215
↓ 2 callers
Function
push
(from: Y.Doc, to: Y.Doc)
web/src/lib/items/confirmedBaseRemote.svelte.test.ts:27
↓ 2 callers
Function
pushIDFor
pushIDFor is the push_id a publish carries (TASK-3585). With a key it is derived from (workspace, user, key), so a re-publish after a claim takeover c
internal/server/idempotency_keys.go:189
↓ 2 callers
Function
pushKeyServer
TASK-3585: a keyed push retries once with the same key after a 5xx, and only against a server that advertises idempotency_keys.
internal/cli/task3585_push_retry_test.go:15
↓ 2 callers
Function
pushMessageLength
(raw: string)
web/src/lib/push/message.ts:92
↓ 2 callers
Method
pushNow
()
internal/server/push_dispatch.go:201
↓ 2 callers
Function
pushRefusedBeforePublishing
pushRefusedBeforePublishing reports whether err is a refusal the server provably wrote before publishing. Defaults to FALSE for anything it cannot id
cmd/pad/cmd_push.go:177
↓ 2 callers
Method
pushSessionVisibility
pushSessionVisibility builds the re-resolving predicate deliveredSessionCount applies, reproducing watchNotificationVisible's FIRST gate exactly: the
internal/server/handlers_push.go:632
↓ 2 callers
Function
putVarUint
(b []byte, n uint64)
internal/materialize/adversarial_test.go:12
↓ 2 callers
Function
pymod
mod in Python
internal/schedule/internal/rrule/util.go:46
↓ 2 callers
Function
q
(id: string)
web/src/routes/(console)/settings/admin/mcpSettingsSection.svelte.test.ts:62
↓ 2 callers
Function
queryCredentialKey
queryCredentialKey is credentialKey for the parameters of a query string. A bare key= or state= is a credential there (an API key; an OAuth state), wh
internal/logging/redaction.go:81
↓ 2 callers
Function
question
(body string)
scripts/decision-eval/conventions/main.go:75
↓ 2 callers
Method
queueRow
queueRow inserts a queue row directly, the way the enqueue side (a later change) will: A's tests need rows to cascade without that code.
internal/store/notification_settings_test.go:60
↓ 2 callers
Function
quote
(s string)
internal/store/app_provision.go:74
↓ 2 callers
Function
quoteKeys
BUG-3163: the two doors a caller's hand-written reserved metadata key could still reach after BUG-2696 closed the field-patch door — item CREATE's `fi
internal/server/handlers_items_reserved_write.go:34
↓ 2 callers
Function
raiseTombstone
* Write a tombstone for `id` at `deletedAtSeq`, but NEVER lower an existing * tombstone's stamp. Tombstone puts are otherwise last-write-wins, * so
web/src/lib/stores/localIndexPersistence.ts:224
↓ 2 callers
Function
rateLimitKey
rateLimitKey returns a key for rate limiting: user ID if authenticated, the address otherwise. addr is rateLimitAddr's form, not the raw client IP.
internal/server/middleware_ratelimit.go:993
↓ 2 callers
Function
rateLimitRetryDelayMs
( retryAfterMs: number | null, attempt: number, random: () => number = Math.random, )
web/src/lib/api/client.ts:250
↓ 2 callers
Function
ratio
(a, b int)
scripts/decision-eval/conventions/main.go:317
↓ 2 callers
Method
rawGetSource
(user *models.User, o reqOpts)
internal/server/item_moved_to_test.go:133
↓ 2 callers
Function
rawJSONOrNil
rawJSONOrNil returns s as json.RawMessage when it is a non-empty, non-empty- container JSON value, else nil (so the field is omitted). Guards against
internal/cli/item_summary.go:134
↓ 2 callers
Function
rawSeedDecision
(inputs: RawSeedInputs)
web/src/lib/items/rawSeed.ts:29
↓ 2 callers
Function
rawText
(raw: unknown)
web/src/lib/fields/fieldShape.ts:161
↓ 2 callers
Function
read
(file: string)
web/src/lib/stores/chatSurfaceCallers.test.ts:187
↓ 2 callers
Function
read
(key: string)
web/src/lib/collections/viewPersistence.ts:50
↓ 2 callers
Function
read
()
web/e2e/bug-3204-cursor-snapback.spec.ts:74
↓ 2 callers
Function
readAwarenessWithin
readAwarenessWithin returns the next awareness frame c receives.
internal/collab/awareness_test.go:217
↓ 2 callers
Function
readBoundedText
(response: Response, max: number)
web/src/lib/attachments/boundedBytes.ts:92
↓ 2 callers
Function
readBuiltinState
readBuiltinState refuses an older server (its bare 404 reads exactly like not_builtin), then reads the item's state, turning not_builtin into a senten
cmd/pad/cmd_library.go:527
↓ 2 callers
Function
readCSRFFromCookieFor
readCSRFFromCookieFor is readCSRFFromCookie for a server whose OAuth audience is not testCanonicalAudience (an https self-host's <origin>/mcp, PLAN-23
internal/server/handlers_oauth_test.go:2509
↓ 2 callers
Function
readChatDirection
(path string)
internal/cli/chat_direction_state.go:58
↓ 2 callers
Function
readChoice
()
cmd/pad/cmd_workspace.go:1030
↓ 2 callers
Function
readCommitmentBody
readCommitmentBody gives retired members the same field error on POST and PATCH, including null. The strict decoder still judges every other member.
internal/server/handlers_commitments.go:167
↓ 2 callers
Function
readCredsFile
readCredsFile returns the on-disk JSON of credentials.json. Used to assert post-Save behavior — confirms the v2 format actually lands on disk rather t
internal/cli/credentials_test.go:37
↓ 2 callers
Method
readDashboard
readDashboard handles pad://workspace/{ws}/dashboard.
internal/mcp/resources.go:504
↓ 2 callers
Method
readItemLeaseRow
readItemLeaseRow reads the raw lease columns without the liveness filter — the claim path needs the row it just wrote even when a test wrote it pre-ex
internal/store/item_lease.go:233
↓ 2 callers
Method
readItems
readItems handles pad://workspace/{ws}/items.
internal/mcp/resources.go:453
↓ 2 callers
Function
readJSON
(path string, v any)
scripts/decision-eval/conventions/main.go:324
↓ 2 callers
Function
readOrSetConsentCSRF
readOrSetConsentCSRF reads the current __Host-pad_csrf cookie or mints a new one if absent. The cookie's value is what gets rendered into the consent
internal/server/handlers_oauth.go:2374
↓ 2 callers
Function
readPadToml
($)
plugin/hooks/register.js:39
↓ 2 callers
Function
readPaneState
(state: PaneHistoryState | null | undefined)
web/src/lib/collections/paneController.ts:63
↓ 2 callers
Method
readParentLinkTarget
readParentLinkTarget returns the target_id of an item's `parent` link, or "" when it has none. Parameterized over rowQueryer so it can read either unl
internal/store/items.go:4788
↓ 2 callers
Function
readPassword
()
cmd/pad/cmd_auth.go:797
↓ 2 callers
Function
readPlanRevision
BUG-3356: Stripe-derived plan writes are ordered by a revision (the sidecar's fetch time), and a plan past its expiry entitles nothing. Runs on SQLite
internal/store/bug3356_plan_revision_test.go:14
↓ 2 callers
Function
readRawWorkflow
readRawWorkflow decodes a workflow as a plain tree, and refuses a file with more than one YAML document, which a single decode would not see.
internal/buildtools/ci_release_branches_test.go:559
↓ 2 callers
Function
readRefreshMarker
(cfg *config.Config)
internal/cli/refresh_marker.go:70
↓ 2 callers
Function
readRepoFile
readRepoFile reads a file relative to the repo root. Go runs tests with the package directory as the working directory, so the repo root is two levels
internal/mcp/tool_surface_drift_test.go:132
↓ 2 callers
Function
readResourceJSON
readResourceJSON drives a resources/read request through the server for uri and returns the text body. Fails the test on protocol errors, missing cont
internal/mcp/meta_test.go:123
↓ 2 callers
Function
readScoped
( scoped: string, legacy: string, valid: (v: unknown) => v is T )
web/src/lib/collections/viewPersistence.ts:66
↓ 2 callers
Function
readScrollY
(target: HTMLElement | Window | null)
web/src/lib/scroll/restore.svelte.ts:105
↓ 2 callers
Function
readUpgradeResume
(now = Date.now())
web/src/lib/billing/upgradeResume.ts:36
↓ 2 callers
Function
readWorkspaceGroupBody
readWorkspaceGroupBody validates transport types before field semantics. Raw messages distinguish omission from null, including null array entries.
internal/server/handlers_workspace_groups.go:67
↓ 2 callers
Method
readWorkspaceTabs
readWorkspaceTabs answers with the stored open set, for a request that wrote nothing.
internal/server/handlers_workspace_tabs.go:94
← previous
next →
8,101–8,200 of 28,840, ranked by callers