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
↓ 1 callers
Function
refillWindow
refillWindow is the time a bucket needs to go from empty back to full.
internal/server/middleware_ratelimit_bug3638_test.go:13
↓ 1 callers
Function
refresh
()
web/src/lib/items/confirmedBase.ts:96
↓ 1 callers
Function
refreshChain
(t *testing.T, srv *Server)
internal/server/bug3337_connection_authoritative_test.go:101
↓ 1 callers
Function
refreshToolbarState
* Update each toolbar button's enabled state + tooltip based on the * image's MIME and the processor's supported-formats list. * * - Empty suppor
web/src/lib/components/editor/attachment-image.ts:1654
↓ 1 callers
Method
refreshTutorialCatalog
refreshTutorialCatalog fetches the catalog and publishes the result, then closes done. It runs detached from any one request, so a client that goes aw
internal/server/tutorials.go:173
↓ 1 callers
Function
refs
()
web/src/routes/(console)/needs/needsPage.svelte.test.ts:96
↓ 1 callers
Function
refusal
()
web/src/lib/utils/commentAttachments.planLimit.test.ts:43
↓ 1 callers
Function
refusal
(d: unknown = details)
web/src/lib/items/scheduleActiveError.svelte.test.ts:11
↓ 1 callers
Function
refusal
(details?: Record<string, unknown>)
web/src/lib/items/bug3244SetAside.test.ts:13
↓ 1 callers
Method
refusalAccessTx
(tx *sql.Tx, workspaceID, actor string, p *linkedPlan, loader CommitmentAccessLoader)
internal/store/commitment_notices.go:202
↓ 1 callers
Function
refusalFetch
(status: number, retryAfter: string | null)
web/src/lib/services/sseReconnect.svelte.test.ts:101
↓ 1 callers
Function
refusals
Every occurrence of the field that is a READ outside the accessor, by line.
web/src/lib/components/items/itemDetailShadowReads.test.ts:29
↓ 1 callers
Method
refuse
A handshake the server refused: error, then close, never open.
web/src/lib/collab/wsProviderReconnectJitter.svelte.test.ts:24
↓ 1 callers
Function
refuseAccountExportBeforeBody
refuseAccountExportBeforeBody answers an export that cannot start: no byte of the body has gone out, so a status is still possible. A timeout is 503 u
internal/server/handlers_account.go:520
↓ 1 callers
Function
refuseFirstContentSave
* The refused write's row half. 'title' renames the item (so the slug moves too, * which the by-id re-read must survive); 'neutral' writes a field no
web/e2e/task-3548-overwrite-lands.spec.ts:43
↓ 1 callers
Function
refuseIfServerOwns
refuseIfServerOwns errors when dbPath is the database a running server is serving. Paths are compared after EvalSymlinks and Abs, because "the same f
cmd/pad/cmd_db_nul.go:336
↓ 1 callers
Method
refuseRevokedGrantTx
refuseRevokedGrantTx returns ErrOAuthGrantRevoked when an access or refresh token would be minted on a grant recorded as revoked (BUG-3678). The calle
internal/store/oauth.go:755
↓ 1 callers
Function
refuseUndeclaredFields
refuseUndeclaredFields answers the strict opt-in `refuse_undeclared_fields` on an item update (BUG-3156): when the caller set it and the write would s
internal/server/handlers_items.go:1451
↓ 1 callers
Function
refuseWorkspaceLinks
refuseWorkspaceLinks refuses a workspace-qualified wiki link, [[ws::REF]], even one naming this workspace: an app link names only companion items.
internal/appstore/items.go:303
↓ 1 callers
Function
refusedConstructs
(src: AstSource, decls: Declarations)
web/src/test/identityFenceAst.ts:863
↓ 1 callers
Function
refusingApplier
refusingApplier answers every GUARDED applier_request with applier_refuse, as a tab holding unconfirmed edits does (BUG-3542), and stays silent on an
internal/server/handlers_items_content_route_test.go:441
↓ 1 callers
Function
regions
(c: HTMLElement)
web/src/lib/components/common/ToastContainer.svelte.test.ts:19
↓ 1 callers
Function
register
Register a handler on the REAL escape stack for the duration of a test.
web/src/lib/a11y/escapeGuardWiring.svelte.test.ts:306
↓ 1 callers
Function
register
(baseURL: string, adminToken: string, tag: string)
web/e2e/task-3293-no-commerce-in-app.spec.ts:32
↓ 1 callers
Method
registerAppAPIRoutes
registerAppAPIRoutes mounts the app router. The router sets its own Content-Type (jsonContentType matches only /api/v1), and RateLimit runs AFTER the
internal/server/app_api.go:165
↓ 1 callers
Method
registerChatGPTMCPRoutes
(r chi.Router)
internal/server/handlers_chatgpt_mcp.go:70
↓ 1 callers
Function
registerComposer
(userId: string, n: number, restore: RestoreFn)
web/src/lib/chat/composerRegistry.ts:28
↓ 1 callers
Function
registerCrashDraftKeeper
( source: CrashDraftSource, schedule: (fn: () => void, ms: number) => () => void = (fn, ms) => { const t =
web/src/lib/items/crashDraft.ts:65
↓ 1 callers
Function
registerInvited
(t *testing.T, srv *Server, addr, code, proof string)
internal/server/task3352_invitation_proof_test.go:69
↓ 1 callers
Method
registerMCPRoutes
registerMCPRoutes installs the /mcp + /.well-known endpoints on r, gated by cloud mode. Called from setupRouter at infrastructure- middleware level (N
internal/server/handlers_mcp.go:161
↓ 1 callers
Method
registerOAuthRoutes
registerOAuthRoutes mounts the OAuth endpoints on r. Called from setupRouter at the same level as the MCP routes, inside a group gated by requireOAuth
internal/server/handlers_oauth.go:159
↓ 1 callers
Function
registerRefreshBeforeLocalChange
(editor: BeforeTransactionSource, refresh: () => void)
web/src/lib/items/confirmedBase.ts:141
↓ 1 callers
Function
registerSetWorkspaceTool
registerSetWorkspaceTool installs the built-in workspace tool on srv.
internal/mcp/workspace.go:223
↓ 1 callers
Function
registerSignOutGuard
(source: SignOutGuardSource)
web/src/lib/stores/signOutGuard.svelte.ts:62
↓ 1 callers
Method
registerTool
(tool: ModelContextTool, opts?: ModelContextRegisterToolOptions)
web/src/lib/webmcp/types.d.ts:77
↓ 1 callers
Function
registerToolbarRefresher
(fn: () => void)
web/src/lib/components/editor/attachment-image.ts:72
↓ 1 callers
Function
registeredAgentForThisSession
registeredAgentForThisSession reads the registry record for the session that owns this process — the same owner CaptureSessionOwner would record — and
internal/cli/session_registry.go:168
↓ 1 callers
Function
registrations
()
web/src/lib/nav/shallowGuards.test.ts:65
↓ 1 callers
Method
rehydrateAttachment
rehydrateAttachment runs the upload-handler's MIME validation, hash, and store.Put for one manifest entry, then inserts a fresh attachments row in the
internal/server/handlers_import_bundle.go:1233
↓ 1 callers
Function
rejectFieldsParam
rejectFieldsParam wraps a non-writer pad_item action so a `fields` object reaching it fails loudly. Without this, the declared param would flow to dis
internal/mcp/catalog_item_fields.go:627
↓ 1 callers
Function
rejectInvalidBearer
rejectInvalidBearer writes a 401 with the given code/message UNLESS the request targets a path in isPublicAPIPath, in which case it falls through to t
internal/server/middleware_auth.go:400
↓ 1 callers
Function
rejectMalformedNumbers
rejectMalformedNumbers gives a "number" param on stdio the rule remote applies (numericInput), before the value becomes CLI text (BUG-4070). Every "nu
internal/mcp/catalog.go:700
↓ 1 callers
Function
rejectUndeclaredKeys
rejectUndeclaredKeys refuses any input key outside the tool's declared schema (#1066, ToolSurfaceVersion 0.24). Before this, nothing set additionalPro
internal/mcp/catalog.go:661
↓ 1 callers
Method
rekeyPendingGatesTx
rekeyPendingGatesTx runs on a timing, rule or floating edit, in the edit's own transaction under its pin. A commitment gate is fixed on the occurrence
internal/store/schedules.go:1257
↓ 1 callers
Method
rekeyResolvedOverridesTx
rekeyResolvedOverridesTx runs on a timing, rule or floating edit. An open occurrence is back on the grid, so its override goes. A resolved occurrence
internal/store/schedules.go:1279
↓ 1 callers
Function
relTokens
(a: HTMLAnchorElement)
web/src/lib/utils/markdown.linkOpener.svelte.test.ts:16
↓ 1 callers
Function
relatedCmd
()
cmd/pad/query.go:141
↓ 1 callers
Function
relationColorsID
relationColorsID looks the Colors collection up by slug so a leg can create a second colour without threading the fixture's return values around.
internal/store/relation_multi_test.go:200
↓ 1 callers
Function
relationDroppableShapeIsUsable
relationValueShapeIsValid reports whether raw has the shape the field's TYPE requires: a string for `relation`, an array of strings for `multi_relatio
internal/store/relation_referents.go:392
↓ 1 callers
Function
relationFilterMatches
(stored: unknown, filterValue: string)
web/src/lib/collections/relationGroups.ts:335
↓ 1 callers
Function
relationGroupingRefusalMessage
(reason: RelationGroupingRefusal)
web/src/lib/collections/relationGroups.ts:326
↓ 1 callers
Function
relationIssueValue
relationIssueValue picks the value a FIELD-level issue reports for raw. For a `multi_relation` that is the first non-blank element: the issue is abou
internal/store/relation_referents.go:470
↓ 1 callers
Function
relationLaneAcceptsDrop
(lane: Pick<RelationLane, 'state'>)
web/src/lib/collections/relationGroups.ts:263
↓ 1 callers
Function
relationLaneAriaName
(lane: RelationLane | undefined, fallback: string)
web/src/lib/collections/relationGroups.ts:245
↓ 1 callers
Function
relationLaneValueFor
(item: Item, fieldKey: string, resolve: ResolveRow)
web/src/lib/collections/relationGroups.ts:230
↓ 1 callers
Function
relationLanes
(items: Item[], fieldKey: string, resolve: ResolveRow)
web/src/lib/collections/relationGroups.ts:184
↓ 1 callers
Function
relationListShape
relationListShape reports whether raw is an ARRAY at all, and its length — the shape question, asked without the element rules `relationDefaultList` e
internal/store/relation_referents.go:1661
↓ 1 callers
Function
relationRefFixture
relationRefFixture builds a workspace whose conventions collection declares `role` as a relation into a Secrets collection holding exactly one item.
internal/server/relation_ref_prefix_test.go:72
↓ 1 callers
Function
relationRefFromLink
(link models.ItemLink, useSource bool)
internal/server/item_lineage.go:221
↓ 1 callers
Function
relationRefLabel
(item models.ItemRelationRef)
internal/server/item_lineage.go:259
↓ 1 callers
Function
relationRefs
relationRefs is a relation_targets entry as refs: a string for a scalar relation, a list for a multi_relation. A stored_as_text entry is the text it w
internal/mcp/chatgpt_project.go:410
↓ 1 callers
Method
relationSchemaForCollectionTx
relationSchemaForCollectionTx returns the set of field keys the collection declares as `relation` (or `multi_relation`). Reads through the transactio
internal/store/relation_links.go:139
↓ 1 callers
Method
relationSchemasForWorkspace
relationSchemasForWorkspace maps collection ID -> schema for every collection in the workspace that DECLARES a relation field. Narrowed to relation-d
internal/server/relation_hydration.go:163
↓ 1 callers
Function
relationSummaryLabel
( value: string, lookup: (id: string) => ItemIndexRow | null | undefined, declaredCollection: string | unde
web/src/lib/collections/filterSummary.ts:46
↓ 1 callers
Function
relationTargetSlug
relationTargetSlug is the target collection slug a field def declares, and the empty string for any field that is not a relation. `ItemCopyPreflightN
internal/server/relation_target_availability.go:97
↓ 1 callers
Method
relationTargetsUnavailable
relationTargetsUnavailable reports which relation TARGET collections declared by a destination schema this caller cannot actually use (IDEA-2899). Th
internal/server/relation_target_availability.go:36
↓ 1 callers
Method
relationTitleIDPageQ
relationTitleIDPageQ returns one page of ids of live items with this exact title in this collection, ordered by id, starting after `afterID`. Ids onl
internal/store/relation_referents.go:1048
↓ 1 callers
Function
relationValueIsCleared
relationValueIsCleared reports whether raw is the "no referent" form: an empty/whitespace string for `relation`, or an array with no non-blank element
internal/store/relation_referents.go:436
↓ 1 callers
Function
relationValuesFromBlob
relationValuesFromBlob extracts the relation edges a fields blob carries, given the set of keys the collection declares as relations. A blob that wil
internal/store/relation_links.go:95
↓ 1 callers
Function
relativeLuminance
(hex string)
internal/mcp/chatgpt_plugin_package_test.go:278
↓ 1 callers
Function
release
()
plugin/tests/watch.test.ts:97
↓ 1 callers
Function
release
()
web/src/lib/components/editor/attachmentImageMissing.svelte.test.ts:439
↓ 1 callers
Function
release
()
web/src/lib/components/editor/attachmentImageKeyboard.svelte.test.ts:765
↓ 1 callers
Function
release
()
web/src/lib/stores/collectionsEnsure.svelte.test.ts:53
↓ 1 callers
Function
release
()
web/src/lib/stores/workspaceMembershipKnown.svelte.test.ts:42
↓ 1 callers
Function
release
()
web/e2e/permission-walk-collections.spec.ts:212
↓ 1 callers
Method
release
(j store.DecisionJob)
internal/decision/runner.go:1099
↓ 1 callers
Method
release
release lets every parked and future SUBSCRIBE through. Idempotent and safe to call concurrently — the hook and the failsafe, or two connections' fail
internal/events/redis_subscribe_confirm_test.go:132
↓ 1 callers
Function
releaseA
()
web/e2e/pane-full-page-capstone.spec.ts:740
↓ 1 callers
Function
releaseCollections
()
web/src/test/mocks/indexedPageStores.svelte.ts:48
↓ 1 callers
Function
releaseCreate
()
web/src/lib/stores/workspaceMembershipKnown.svelte.test.ts:120
↓ 1 callers
Function
releaseEpoch
()
web/src/lib/stores/collectionsCachedRead.svelte.test.ts:89
↓ 1 callers
Function
releaseGate
()
web/e2e/pane-controller.spec.ts:968
↓ 1 callers
Function
releaseGet
()
web/src/lib/stores/workspaceMembershipKnown.svelte.test.ts:78
↓ 1 callers
Function
releaseHeld
()
web/src/test/mocks/indexedPageStores.svelte.ts:46
↓ 1 callers
Function
releaseLoad
()
web/src/lib/components/timeline/timelineRefreshDeletion.svelte.test.ts:476
↓ 1 callers
Function
releaseMigration
()
web/e2e/pane-collection-migration-race.spec.ts:218
↓ 1 callers
Function
releaseNew
()
web/src/lib/components/timeline/timelineRefreshDeletion.svelte.test.ts:335
↓ 1 callers
Function
releaseNew
()
web/src/lib/components/editor/attachmentImageKeyboard.svelte.test.ts:1318
↓ 1 callers
Function
releaseOld
()
web/src/lib/components/timeline/timelineRefreshDeletion.svelte.test.ts:334
↓ 1 callers
Function
releaseOld
()
web/src/lib/components/editor/attachmentImageMissing.svelte.test.ts:545
↓ 1 callers
Function
releaseOld
()
web/src/lib/components/editor/attachmentImageKeyboard.svelte.test.ts:1317
↓ 1 callers
Function
releaseOne
(ok: boolean)
web/src/lib/stores/chatThread.property.svelte.test.ts:374
↓ 1 callers
Function
releasePage
()
web/src/lib/components/timeline/timelineRefreshDeletion.svelte.test.ts:431
↓ 1 callers
Function
releaseProgress
()
web/src/lib/components/items/itemDetailSwitchRequests.svelte.test.ts:174
↓ 1 callers
Function
releasePush
()
web/src/lib/components/items/PushToAgentDialog.svelte.test.ts:415
↓ 1 callers
Function
releaseSeed
()
web/e2e/bug-3201-seed-window.spec.ts:66
↓ 1 callers
Function
releaseSrc
()
web/e2e/bug-2602-collection-adopt-race.spec.ts:100
↓ 1 callers
Function
releaseStalled
()
web/src/lib/components/items/PushToAgentDialog.svelte.test.ts:486
↓ 1 callers
Function
reloadForIdentityChange
()
web/src/lib/stores/identityReload.svelte.ts:100
← previous
next →
13,501–13,600 of 28,840, ranked by callers