MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions31,685 in github.com/PerpetualSoftware/pad

↓ 2 callersMethodinstallUpgradeBase
(installState *store.InstallUpgradeState)
internal/server/handlers_apps_upgrade.go:32
↓ 2 callersMethodinstant
(loc *time.Location)
internal/store/commitment_cascade.go:85
↓ 2 callersFunctionintIs
(p *int, want int)
internal/store/plan2348_u2_versions_test.go:47
↓ 2 callersFunctionintPtrEq
TASK-4610: role_offsets is the schedule row's own stored offsets, the base a PATCH merges against. Runs on SQLite in make test and on Postgres in make
internal/store/commitment_role_offsets_test.go:13
↓ 2 callersFunctioninteractiveSessionHint
interactiveSessionHint rewrites the server's refusal for an API token into what to do about it.
cmd/pad/cmd_auth_2fa.go:78
↓ 2 callersFunctionintp
(i int)
internal/server/render/attachments_test.go:10
↓ 2 callersMethodintrospectionCallerClientID
introspectionCallerClientID is the client a public /oauth/introspect request authenticates as, read as fosite's NewIntrospectionRequest reads it: the
internal/server/app_tokens.go:237
↓ 2 callersFunctioninvalidCollErr
invalidCollErr is the move wire shape for a missing target collection.
internal/cli/collection_alias_test.go:15
↓ 2 callersMethodinvalidate
* Abandon the current run and the published slot (BUG-3005). * * A single-flight slot outlives the DATA its owner drops. Clearing a store * on a
web/src/lib/stores/singleFlight.ts:87
↓ 2 callersFunctioninvalidateAttachmentMetadataForWorkspace
(workspaceSlug: string)
web/src/lib/components/editor/attachment-metadata.ts:325
↓ 2 callersMethodinvitationAcceptedFields
invitationAcceptedFields is what every accept tells the client about the workspace it joined: both accept doors above, and registration with an invita
internal/server/handlers_members.go:673
↓ 2 callersFunctioninvitationEmailURL
invitationEmailURL is the join link the invitation EMAIL carries: the shareable join URL plus the mailbox-only proof in the fragment (TASK-3352). A fr
internal/server/handlers_members.go:263
↓ 2 callersFunctioninvitationProofHash
(proof string)
internal/store/workspace_members.go:1435
↓ 2 callersFunctioninvite
(email = EMAIL)
web/src/routes/[username]/[workspace]/settings/inviteFlow.svelte.test.ts:78
↓ 2 callersMethodinviterCanGrantQ
(q rowQueryer, invitationID, workspaceID string, lock bool)
internal/store/workspace_members.go:290
↓ 2 callersMethodinvocationSlugTakenQ
invocationSlugTakenQ is invocationSlugTaken on q, through the same ListItems Fields predicate (store.ItemsWithFieldValueQ; TASK-3397, U8b).
internal/server/handlers_artifact_import.go:326
↓ 2 callersFunctionisAddressable
( address: Pick<AttachmentHostAddress, 'itemId' | 'hostToken'> | null | undefined )
web/src/lib/attachments/hostAddress.ts:71
↓ 2 callersFunctionisAllReadOnly
(tool: ToolSurfaceTool)
web/src/lib/webmcp/descriptors.ts:78
↓ 2 callersFunctionisAllWhitespace
(b []byte)
internal/mcp/install.go:348
↓ 2 callersFunctionisAtFit
(state: ZoomState)
web/src/lib/attachments/zoom.ts:366
↓ 2 callersFunctionisAttachmentHref
(href: string | null | undefined)
web/src/lib/markdown/attachments.ts:77
↓ 2 callersFunctionisAudienceOnly
isAudienceOnly reports a request that names its target through fosite's audience= and sends no RFC 8707 resource=. translateResourceToAudience defers
internal/server/handlers_oauth.go:645
↓ 2 callersFunctionisAuthError
Is this the error that means the cache is no longer ours to show?
web/src/lib/stores/localIndex.svelte.ts:815
↓ 2 callersFunctionisBareDate
isBareDate reports whether raw is a calendar date YYYY-MM-DD, the form the server places at the caller's day start.
internal/mcp/catalog_item_schedule.go:470
↓ 2 callersFunctionisChatGPTSurface
(r *http.Request)
internal/server/context.go:331
↓ 2 callersFunctionisChildLinkType
isChildLinkType reports whether the given link type is one the open-children guard counts toward the children-set (i.e. matches the inclusion rule bak
internal/store/items.go:5901
↓ 2 callersFunctionisCloudAdminPath
isCloudAdminPath returns true if the request targets one of the three cloud-sidecar-only admin endpoints. Kept separate from the credential check so t
internal/server/handlers_cloud.go:143
↓ 2 callersFunctionisContentNotAppliedUnconfirmed
(err: unknown)
web/src/lib/items/contentWrite.ts:77
↓ 2 callersFunctionisContentPendingFlush
(err: unknown)
web/src/lib/items/contentWrite.ts:67
↓ 2 callersFunctionisCurrent
()
web/src/lib/stores/auth.svelte.ts:261
↓ 2 callersMethodisCurrent
True when what is painted is what the live props name.
web/src/lib/attachments/viewFence.ts:187
↓ 2 callersFunctionisDefaultAccountTarget
(target: string)
web/src/lib/utils/legacyConsoleRedirect.ts:28
↓ 2 callersFunctionisDerivedTable
isDerivedTable reports whether a table is FTS5 shadow storage rather than something written directly. It matches the shapes SQLite actually creates r
internal/store/nulcolumns_test.go:266
↓ 2 callersFunctionisDigits
(s string)
internal/cli/skillstamp.go:155
↓ 2 callersFunctionisDirectRequest
A DIRECT REQUEST: an `api.*` call or a bare `fetch(`.
web/src/lib/components/items/childIdentityFencePopulation.test.ts:332
↓ 2 callersFunctionisEscapeConsumedByViewer
(event?: Event | null)
web/src/lib/a11y/viewerBackdrop.ts:351
↓ 2 callersFunctionisFinalSSEEvent
isFinalSSEEvent reports whether p is one SSE event carrying a JSON-RPC response: an id and no method. Notifications and server-to-client requests carr
internal/server/mcp_stream_keepalive.go:153
↓ 2 callersFunctionisForeignKeyViolation
isForeignKeyViolation is isUniqueViolation's twin for a foreign-key refusal (SQLite: FOREIGN KEY constraint failed; PostgreSQL: violates foreign key c
internal/store/items.go:746
↓ 2 callersFunctionisFrontmatterBody
(lines: readonly string[])
web/src/lib/components/editor/extensions/frontmatter.ts:49
↓ 2 callersFunctionisHandlerIdent
firstHandlerMentioned pulls the first handleXxx identifier out of a reason string, which is how a filtersAllowlist entry says WHERE it filters. isHand
internal/mcp/dispatch_http_allowlist_guard_test.go:990
↓ 2 callersFunctionisHiddenContentAcknowledged
(html: string)
web/src/lib/utils/hiddenContentDetector.ts:56
↓ 2 callersFunctionisInternalHref
(href: string, pageUrl: string)
web/src/lib/components/share/shareRender.ts:40
↓ 2 callersFunctionisItemListReq
(u: URL)
web/e2e/attachment-lifecycle.spec.ts:256
↓ 2 callersFunctionisItemResult
(x: unknown)
web/src/mcp-app/model.ts:23
↓ 2 callersFunctionisKnownVariant
isKnownVariant gates the ?variant= query against a closed set so an attacker can't probe arbitrary variant strings. Mirrors the constants in models.At
internal/server/handlers_attachments.go:941
↓ 2 callersFunctionisLabelLine
isLabelLine reports a one-word label that opens a block ("Constraints:").
internal/mcp/catalog.go:441
↓ 2 callersFunctionisLockTimeoutError
isLockTimeoutError reports whether err is SQLite's writer-contention timeout. This is a SATURATION signal, not a correctness one. The SQLite DSN make
internal/store/items_cross_workspace_copy.go:1674
↓ 2 callersFunctionisMarkedAtom
(n: PMNode)
web/src/lib/components/editor/extensions/inlineAtomNoMarks.ts:25
↓ 2 callersFunctionisMultiRelationType
(type: string | undefined | null)
web/src/lib/items/relationFieldTypes.ts:42
↓ 2 callersFunctionisNativeShell
()
web/src/lib/stores/auth.svelte.ts:170
↓ 2 callersFunctionisOpenChildrenError
( err: unknown )
web/src/lib/items/openChildrenError.ts:42
↓ 2 callersFunctionisOpenWorldAction
isOpenWorldAction reports whether (toolName, action) reaches outside the pad server's own data. Defaults to false.
internal/mcp/tool_surface.go:223
↓ 2 callersFunctionisOptionType
(t string)
internal/store/field_usage.go:192
↓ 2 callersFunctionisPKCEVerifier
isPKCEVerifier: an RFC 7636 code_verifier, 43-128 unreserved characters.
internal/server/twofactor_challenge.go:51
↓ 2 callersFunctionisPartialRemap
isPartialRemap reports whether err carries a remap that stopped between chunks (store.RemapPartialError): some items rewritten, the rest untouched.
internal/server/handlers_import_bundle.go:1518
↓ 2 callersFunctionisPersonPrompt
(e)
plugin/hooks/register.js:1311
↓ 2 callersFunctionisPlanLimitError
* Returns true when `err` is a PadApiError with code "plan_limit_exceeded". * Use this at every write-operation catch block to branch on plan-gating
web/src/lib/api/client.ts:358
↓ 2 callersFunctionisPlausibleEmail
requestIsLoopback reports whether the request came from a local CLI running on the same machine as the Pad server. The check is intentionally strict:
internal/server/handlers_auth.go:279
↓ 2 callersFunctionisPrivateIP
isPrivateIP reports whether a URL import may not connect to ip. The policy is the one shared with webhook delivery (BUG-3358): see netpolicy.Blocked.
internal/urlimport/fetch.go:340
↓ 2 callersFunctionisPushMessageEmpty
(raw: string)
web/src/lib/push/message.ts:98
↓ 2 callersFunctionisPushMessageTooLong
(raw: string)
web/src/lib/push/message.ts:103
↓ 2 callersFunctionisReadScopePOSTPath
isReadScopePOSTPath reports whether path is a POST a read-scoped token may make because the handler behind it changes nothing (TASK-2863, HT-1394). Ex
internal/server/middleware_auth.go:1455
↓ 2 callersFunctionisReplyTargetDeletedError
(err: unknown)
web/src/lib/api/client.ts:417
↓ 2 callersFunctionisReplyTargetNotFoundError
(err: unknown)
web/src/lib/api/client.ts:422
↓ 2 callersFunctionisS256Challenge
isS256Challenge: an RFC 7636 S256 code_challenge, exactly 43 base64url characters (a 32-byte digest, unpadded).
internal/server/twofactor_challenge.go:48
↓ 2 callersFunctionisSafeBundleEntryName
isSafeBundleEntryName rejects tar entry names that look like a path-traversal attempt. The bundle path is already hash-keyed at the storage layer (see
internal/server/handlers_import_bundle.go:1349
↓ 2 callersFunctionisSafeFieldKey
(key: string)
web/src/lib/calendar/monthGrid.ts:81
↓ 2 callersFunctionisSamePaneTarget
(target: PaneTarget, current: PaneGuardItem | null | undefined)
web/src/lib/collections/paneTarget.ts:280
↓ 2 callersFunctionisSameWorkspaceItemHref
( href: string, wsSlug: string, collectionPrefixes: ReadonlyMap<string, string>, )
web/src/lib/collections/paneTarget.ts:155
↓ 2 callersFunctionisScheduleActiveDetails
(details: unknown)
web/src/lib/items/openChildrenError.ts:138
↓ 2 callersFunctionisScheduleActiveError
( err: unknown )
web/src/lib/items/openChildrenError.ts:131
↓ 2 callersFunctionisSending
(opKey: string)
web/src/lib/chat/composerRegistry.ts:50
↓ 2 callersFunctionisSpaceByte
(b byte)
internal/links/mentions.go:128
↓ 2 callersFunctionisStale
()
web/src/lib/stores/localIndex.svelte.ts:936
↓ 2 callersFunctionisStoreType
(t types.Type)
internal/appstore/boundary_check_test.go:576
↓ 2 callersFunctionisTerminalWithContext
isTerminalWithContext reports whether an item is in a terminal state given its collection's done-context. When the collection isn't in the map (e.g. d
internal/store/item_stars.go:225
↓ 2 callersFunctionisTextAffinity
isTextAffinity reports whether a declared column type can hold text. WIDER than the first version, which matched TEXT/CHAR/CLOB only. SQLite gives BL
internal/store/nulcolumns_test.go:241
↓ 2 callersFunctionisURLError
isURLError reports whether err's chain holds a *url.Error. A typed-nil error whose Unwrap dereferences its receiver must not take a log call down.
internal/logging/scrub.go:853
↓ 2 callersFunctionisUniqueViolation
isUniqueViolation recognises a unique-index violation from EITHER driver. The collection handlers used to check only SQLite's "UNIQUE constraint", so
internal/server/handlers_collections.go:784
↓ 2 callersFunctionisUserIdReactive
(read: () => string, set: (id: string) => void)
web/src/test/identityEpochMock.svelte.ts:143
↓ 2 callersFunctionisVendored
isVendored reports whether a repo-relative path lies under any vendor/ directory. Checked per SEGMENT rather than as a prefix, so a nested vendor tree
internal/models/reserved_field_decode_guard_test.go:236
↓ 2 callersFunctionisViewerFrontmost
(root: Element)
web/src/lib/a11y/viewerBackdrop.ts:267
↓ 2 callersMethodisWaiting
isWaiting reports whether an item's done field holds a waiting status.
internal/server/handlers_me_needs.go:357
↓ 2 callersFunctionisWatchEventsFieldSelector
(n ast.Node)
internal/server/publish_sites_ruled_test.go:194
↓ 2 callersFunctionisWorkspaceNotFoundBody
(body: unknown)
web/src/lib/api/client.ts:809
↓ 2 callersFunctionisoBMFFFixture
isoBMFFFixture reads one of internal/attachments/testdata's real encoder outputs. The fixtures live in that package because that is where the sniffer
internal/server/handlers_attachments_isobmff_test.go:17
↓ 2 callersFunctionitem
(id: string, title: string)
web/src/lib/components/collections/task2237Nesting.svelte.test.ts:27
↓ 2 callersFunctionitem
(id: string, color?: string)
web/src/lib/components/collections/ListView.relationGroup.svelte.test.ts:75
↓ 2 callersFunctionitem
(ref: string, sort: number, can_edit = true)
web/src/lib/components/home/AgentsPanel.svelte.test.ts:34
↓ 2 callersFunctionitem
(ref: string, sort: number, can_edit = true)
web/src/lib/components/home/agentLane.test.ts:5
↓ 2 callersFunctionitem
(disabled: boolean)
web/src/lib/components/common/Menu.focus.svelte.test.ts:13
↓ 2 callersFunctionitem
(id: string, sort_order: number)
web/src/lib/collections/reorder.test.ts:6
↓ 2 callersFunctionitem
(id: string, title: string, deleted = false)
web/src/lib/api/changesWalk.test.ts:9
↓ 2 callersFunctionitemCommentPath
(wsSlug, itemRef, commentID string)
internal/cli/client.go:1268
↓ 2 callersFunctionitemCommentTarget
itemCommentTarget reads the workspace, ref and comment_id every item-scoped comment write needs and builds its path (TASK-2695).
internal/mcp/dispatch_http_routes.go:2305
↓ 2 callersFunctionitemCopyAttachmentSummary
itemCopyAttachmentSummary renders count + bytes. The exact byte count is always shown alongside the human-readable form so the rounding in "1.2 MiB" c
cmd/pad/cmd_item.go:3196
↓ 2 callersFunctionitemCopyLinkSummary
itemCopyLinkSummary renders a link-type→count map as "2 (blocks 1, related 1)". An empty or absent map renders "0", never a blank — a missing count an
cmd/pad/cmd_item.go:3175
↓ 2 callersFunctionitemCopyModeNoun
(archiveSource bool)
cmd/pad/cmd_item.go:3072
↓ 2 callersFunctionitemCopyScheduleView
itemCopyScheduleView is the one conversion from the store's report, shared by the copy and the preflight.
internal/server/handlers_items_copy.go:350
↓ 2 callersFunctionitemCopyTypeLabel
itemCopyTypeLabel renders the "(Label, type)" annotation, tolerating either or both being absent (both are omitempty on the wire).
cmd/pad/cmd_item.go:3090
← previousnext →8,201–8,300 of 31,685, ranked by callers