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
Method
UpdateAll
UpdateAll updates all tracked installations that are outdated. A file that was edited, or that a newer pad wrote, is kept unless force (BUG-3466) and
internal/cli/registry.go:180
↓ 1 callers
Method
UpdateCommentAs
UpdateCommentAs replaces a comment's body and bumps updated_at. The comments_fts_update trigger re-indexes the new body. Returns sql.ErrNoRows when no
internal/store/comments.go:215
↓ 1 callers
Method
UpdateItem
(wsSlug, itemSlug string, input models.ItemUpdate)
internal/cli/client.go:656
↓ 1 callers
Method
UpdateItemBuiltin
UpdateItemBuiltin takes the library's text for an item, guarded by the seq the caller read (TASK-3462). overwritePendingEdits lifts content_pending_fl
internal/cli/client.go:1487
↓ 1 callers
Method
UpdateItemCommitment
UpdateItemCommitment changes an item's schedule.
internal/cli/client_schedule.go:50
↓ 1 callers
Method
UpdateSessionIPIfEquals
UpdateSessionIPIfEquals atomically rotates the stored IP on a session from expectedOldIP to newIP. Returns true if a row was updated (i.e. the caller
internal/store/sessions.go:416
↓ 1 callers
Method
UpdateWorkspace
(slug string, input models.WorkspaceUpdate)
internal/cli/client.go:238
↓ 1 callers
Method
UploadAttachment
UploadAttachment streams the contents of body to POST /api/v1/workspaces/{wsSlug}/attachments as a multipart file part. filename is what the server st
internal/cli/client.go:2908
↓ 1 callers
Method
UploadInFlight
UploadInFlight is the process's upload hash guard, shared with the app store so an app upload fences against the same orphan-GC sweep the human upload
internal/server/server.go:1365
↓ 1 callers
Method
UserKinds
UserKinds returns each user's kind ("human" or "app").
internal/store/app_ceiling.go:218
↓ 1 callers
Method
UserStorageUsage
UserStorageUsage returns the SUM(size_bytes) of all non-deleted attachments across workspaces owned by this user. Matches the per-workspace WorkspaceS
internal/store/users.go:455
↓ 1 callers
Function
ValidCollectionSource
ValidCollectionSource returns source when it is one the server writes ('web' | 'cli' | 'mcp') and ” (provenance unknown, never agent) otherwise: the g
internal/models/collection.go:204
↓ 1 callers
Function
ValidReportWindow
ValidReportWindow reports whether w is an accepted report window (empty is allowed and means the surface default).
internal/models/report_layout.go:32
↓ 1 callers
Function
ValidSort
ValidSort reports whether s names a sort.
internal/needs/cursor.go:20
↓ 1 callers
Method
Validate
(string)
cmd/pad/cmd_server.go:1361
↓ 1 callers
Function
ValidateAudienceParam
ValidateAudienceParam is a one-off helper for sub-PR C's HTTP handlers: validates the incoming `resource` query param shape before fosite's internal v
internal/oauth/audience.go:197
↓ 1 callers
Function
ValidateGitHubPR
ValidateGitHubPR refuses a PR object that would not render as a link: it needs a positive number and an absolute http(s) URL.
internal/models/item.go:747
↓ 1 callers
Function
ValidatePath
ValidatePath rejects a request whose percent-DECODED URL path is not a value the database can be asked about. Every handler that resolves a workspace
internal/server/middleware_request_text.go:122
↓ 1 callers
Function
ValidateQuery
ValidateQuery is the query-string half of the same rule ValidatePath applies to the path: reject a request whose DECODED query keys or values are not
internal/server/middleware_request_text.go:269
↓ 1 callers
Function
ValidateScheduleLinkOffset
ValidateScheduleLinkOffset shares the storage bounds and pure offset validator with HTTP, retaining the field-only validation envelope.
internal/store/commitment_links.go:1022
↓ 1 callers
Method
ValidateShareLinkPassword
ValidateShareLinkPassword checks a password against the share link's stored hash.
internal/store/share_links.go:327
↓ 1 callers
Function
ValidateUnsubscribeToken
ValidateUnsubscribeToken checks that the token is a valid HMAC for the email.
internal/email/unsubscribe.go:23
↓ 1 callers
Function
ValueDecodesNUL
ValueDecodesNUL walks an ALREADY-DECODED JSON value for a NUL in any string or any object key. No key-classing here, deliberately: at this depth ever
internal/textguard/textguard.go:144
↓ 1 callers
Function
VerifyChatDirectionHeld
()
internal/cli/chat_direction_state.go:106
↓ 1 callers
Function
VerifyPlaybook
VerifyPlaybook returns the seeded `verify` playbook for the spec template. invocation_slug=`verify` routes `/pad verify SPEC-N` here.
internal/collections/templates_sdd_verify.go:97
↓ 1 callers
Method
VersionsViaApp
VersionsViaApp returns, for the item version rows an app's write made, that app.
internal/store/app_attribution.go:95
↓ 1 callers
Method
ViewerRoleQ
ViewerRoleQ is the role a bearer caller would be admitted with to workspaceID (the server's crossWorkspaceRole with isBearer set), read on q so the co
internal/store/app_item_actions.go:561
↓ 1 callers
Method
VisibleAttachmentVariant
VisibleAttachmentVariant is the variant row of a visible original, by variant key, under the same rule; (nil, nil) when that variant does not exist ye
internal/store/fenced_attachments.go:162
↓ 1 callers
Function
WarnOnRelativeDataDir
WarnOnRelativeDataDir runs the relative data-dir check without loading the config, for a process that never calls Load (`pad mcp serve`).
internal/config/config.go:351
↓ 1 callers
Function
WithChatGPTSurface
WithChatGPTSurface marks ctx as a call from the ChatGPT MCP catalog (TASK-3321 U1b). The item update handler reads it to save a version before every c
internal/server/context.go:327
↓ 1 callers
Method
WithGroup
(string)
internal/materialize/supervisor_test.go:214
↓ 1 callers
Method
WorkspaceBuiltinItems
WorkspaceBuiltinItems returns every live item in the workspace that has a built-in origin, in a live collection, with its body and fields and its seed
internal/store/builtin_origin.go:113
↓ 1 callers
Method
Write
(p []byte)
internal/materialize/supervisor_test.go:897
↓ 1 callers
Method
Write
(p []byte)
internal/mcp/chatgpt_security.go:212
↓ 1 callers
Method
Write
(p []byte)
internal/server/bug3637_sse_stalled_reader_test.go:101
↓ 1 callers
Method
Write
(p []byte)
internal/server/bug3834_mcp_middleware_deadline_test.go:42
↓ 1 callers
Method
Write
(p []byte)
internal/server/app_api.go:586
↓ 1 callers
Method
Write
(p []byte)
internal/server/mcp_stream_keepalive.go:92
↓ 1 callers
Method
Write
(p []byte)
internal/server/bug3827_flush_error_test.go:104
↓ 1 callers
Method
Write
(p []byte)
cmd/pad/item_copy_test.go:1131
↓ 1 callers
Method
Write
(p []byte)
cmd/pad/cmd_auth_2fa_test.go:460
↓ 1 callers
Method
WriteHeader
(status int)
internal/mcp/resources_http.go:417
↓ 1 callers
Method
WriteHeader
(code int)
internal/server/oauth_iss.go:38
↓ 1 callers
Method
WriteHeader
(code int)
internal/server/mcp_stream_keepalive.go:76
↓ 1 callers
Function
__groupCountForTests
()
web/src/lib/stores/toast.svelte.ts:181
↓ 1 callers
Function
__resetArchivedItemRegistry
()
web/src/lib/attachments/archivedItemRegistry.ts:90
↓ 1 callers
Function
__resetConnectivityForTests
(rng: () => number = Math.random)
web/src/lib/services/connectivity.svelte.ts:111
↓ 1 callers
Function
__resetNetworkUnreachableToastForTest
()
web/src/lib/api/networkUnreachableToast.ts:37
↓ 1 callers
Function
__resetServerBusyToastForTest
()
web/src/lib/api/serverBusyToast.ts:78
↓ 1 callers
Function
abortAccountExport
abortAccountExport ends an account export that cannot be completed. The status line has already gone out, so no error status is possible; instead the
internal/server/handlers_account.go:579
↓ 1 callers
Function
absolutePath
absolutePath accepts a path to join onto the origin: it starts with one "/", and has no scheme, authority, backslash or control character. A "//host/x
internal/appmanifest/manifest.go:415
↓ 1 callers
Function
acceptBtn
()
web/src/lib/components/items/BuiltinUpdateNotice.svelte.test.ts:110
↓ 1 callers
Function
acceptInvitationCmd
()
cmd/pad/cmd_workspace.go:313
↓ 1 callers
Function
acceptInvitationTo
* Accept, as the invitee, the pending invitation to workspace `ws` (BUG-2136: * an invite no longer adds an existing account, it asks).
web/e2e/lib/permission-walk.ts:158
↓ 1 callers
Function
accessOpened
(p: Page)
web/e2e/bug-3318-h1-connection-budget.spec.ts:68
↓ 1 callers
Function
accessStreamOpened
* Arms a wait for the tab's access stream request. It must be armed BEFORE * the navigation that opens the stream. Resource Timing cannot serve here:
web/e2e/workspace-access-live.spec.ts:148
↓ 1 callers
Method
accountExportDeadline
()
internal/server/handlers_account.go:529
↓ 1 callers
Method
accountExportListWorkspaces
(ctx context.Context, userID string)
internal/server/handlers_account.go:496
↓ 1 callers
Method
accountExportVisibleCollections
(ctx context.Context, r *http.Request, wsID string)
internal/server/handlers_account.go:503
↓ 1 callers
Function
accountFor
An API handle for an account that already exists, by signing in as it.
web/e2e/bug-3447-launchpad-live.spec.ts:61
↓ 1 callers
Function
accountFor
An API handle for an account that already exists, by signing in as it.
web/e2e/task-2234-command-palette-a11y.spec.ts:64
↓ 1 callers
Function
accountFor
An API handle for an account that already exists, by signing in as it.
web/e2e/task-2224-sse-request-budget.spec.ts:46
↓ 1 callers
Method
ackOutboxRows
(claimToken string, ids []string)
internal/server/outbox_drain.go:445
↓ 1 callers
Method
acknowledge
(number int)
cmd/pad/cmd_watch_chat.go:189
↓ 1 callers
Method
acknowledgeLegacyReminderTx
acknowledgeLegacyReminderTx is the compatibility policy for legacy ack. It acknowledges outstanding work without resolving it as done or skipped.
internal/store/reminder_commitment.go:190
↓ 1 callers
Function
acknowledgedText
(at: string | undefined, by: AcknowledgedBy | undefined, zone: string, now = new Date(Date.now()))
web/src/lib/calendar/presentation.ts:162
↓ 1 callers
Function
acrossInstances
(t *testing.T, mode string)
internal/appstore/attachments_test.go:397
↓ 1 callers
Function
act
(key, label, hotkey, onPress)
plugin/hooks/register.js:849
↓ 1 callers
Function
act
(id, action, batch string)
internal/cli/activity_reorder_test.go:9
↓ 1 callers
Function
act
(over: Partial<RecentActivity> = {})
web/src/routes/workspaceDashboardAgentName.svelte.test.ts:43
↓ 1 callers
Function
act
(id: string, secondsAgo: number, action = 'settings_changed')
web/src/routes/activityPageHeadRefresh.svelte.test.ts:48
↓ 1 callers
Function
act
(over: Partial<Activity> = {})
web/src/routes/activityPageAgentName.svelte.test.ts:39
↓ 1 callers
Function
act
(i: number)
web/src/routes/activityPageKeysetPaging.svelte.test.ts:28
↓ 1 callers
Function
actAs
(context: BrowserContext, account: Account)
web/e2e/bug-3447-launchpad-live.spec.ts:113
↓ 1 callers
Function
actAs
(context: BrowserContext, account: Account)
web/e2e/workspace-access-live.spec.ts:87
↓ 1 callers
Function
actAs
(context: BrowserContext, account: Account)
web/e2e/task-2234-command-palette-a11y.spec.ts:95
↓ 1 callers
Function
actAs
(context: BrowserContext, account: Account)
web/e2e/workspace-tabs.spec.ts:102
↓ 1 callers
Function
actAs
(context: BrowserContext, account: Account)
web/e2e/task-2224-sse-request-budget.spec.ts:77
↓ 1 callers
Function
actingCallsInEffects
(text: string)
web/src/lib/stores/chatSurfaceCallers.test.ts:128
↓ 1 callers
Function
actionErr
()
web/src/routes/(console)/needs/needsPage.svelte.test.ts:944
↓ 1 callers
Function
actionItemBulkUpdate
actionItemBulkUpdate translates the catalog's `refs: array<string>` param into the repeatable positional `ref` that BuildCLIArgs feeds to `pad item bu
internal/mcp/catalog_item.go:772
↓ 1 callers
Function
actionItemHistory
actionItemHistory handles pad_item.action=history. It injects a default limit when the agent did not ask for one and clamps an oversized one, so this
internal/mcp/catalog_item.go:1002
↓ 1 callers
Function
actionItemPatch
actionItemPatch handles pad_item.action=patch on stdio. It gives each edit's line_hint remote's rule (editsWithLineHints, shared with mapItemPatch) an
internal/mcp/catalog_item.go:864
↓ 1 callers
Function
actionItemScheduleGraph
actionItemScheduleGraph keeps previews and typed graph inputs identical on both transports. offset-json carries the API union without dropping zeros,
internal/mcp/catalog_item_schedule.go:457
↓ 1 callers
Function
actionItemUnlink
actionItemUnlink is the symmetric un-create operation. Same routing rules; uses route.unlinkCmdPath instead of route.linkCmdPath.
internal/mcp/catalog_item.go:656
↓ 1 callers
Function
actionMetaToolSurface
actionMetaToolSurface returns the catalog as JSON. Pairs with PLAN-943 TASK-957 (getpad.dev/docs/mcp) — that page can generate docs from this single c
internal/mcp/catalog_meta.go:145
↓ 1 callers
Function
actionMetaVersion
actionMetaVersion returns the same MetaPayload that pad://_meta/version serves as a resource. Two surfaces, one source of truth (BuildMetaPayload).
internal/mcp/catalog_meta.go:98
↓ 1 callers
Function
actionRow
(host: HTMLElement, label: string)
web/src/lib/components/common/QuickActionsMenu.svelte.test.ts:239
↓ 1 callers
Function
activate
* THE single activation path for this node — every route that opens the * image goes through here. * * The MIME resolution used to live in
web/src/lib/components/editor/attachment-image.ts:876
↓ 1 callers
Function
activeInPane
Is the document's active element inside the detail pane?
web/e2e/pane-a11y-focus.spec.ts:41
↓ 1 callers
Function
activeIsDateInput
()
web/e2e/bug-2858-date-picker-focus.spec.ts:41
↓ 1 callers
Function
activeTabIndicator
(page: Page)
web/e2e/bug-3420-selected-tab-contrast.spec.ts:19
↓ 1 callers
Function
activeTabLabel
(page: Page)
web/e2e/bug-2978-settings-hash-deeplink.spec.ts:57
↓ 1 callers
Function
activity
* TASK-2759. The card's actor chip said "Agent" for every agent write, so a * timeline could not tell you WHICH agent touched the item — the name has
web/src/lib/components/timeline/timelineActivityAgentName.svelte.test.ts:18
↓ 1 callers
Function
activity
(overrides: Partial<Activity> = {})
web/src/lib/components/timeline/timelineActivityOptionsAdded.svelte.test.ts:12
↓ 1 callers
Function
activity
( id: string, sec: number, opts: { action?: string; actor?: 'user' | 'agent'; name?: string; source?: strin
web/src/lib/components/timeline/historyEvents.test.ts:17
↓ 1 callers
Function
activity
(overrides: Partial<Activity> = {})
web/src/lib/components/timeline/timelineActivityDroppedFields.svelte.test.ts:16
↓ 1 callers
Function
activity
(id: string, secAgo: number, o: { actor?: 'user' | 'agent'; source?: string; meta?: Record<string, string>; ac
web/src/lib/components/timeline/HistoryView.svelte.test.ts:29
↓ 1 callers
Function
activityChangesText
activityChangesText returns the "changes" string an activity's metadata carries, or "" when it has none or the metadata does not parse.
internal/server/handlers_timeline.go:885
↓ 1 callers
Function
activityCmd
()
cmd/pad/cmd_project.go:1140
← previous
next →
9,501–9,600 of 28,840, ranked by callers