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
GetAppWebhookStatus
GetAppWebhookStatus reports an install's hook for the owner; nil when the install has none.
internal/store/app_webhooks.go:181
↓ 1 callers
Method
GetAttachment
GetAttachment is an app's view of one attachment, under the read rule.
internal/appstore/attachments.go:365
↓ 1 callers
Method
GetAuditLog
--- Audit Log --- GetAuditLog fetches the global audit log (admin-only).
internal/cli/client.go:2341
↓ 1 callers
Method
GetCatchUp
GetCatchUp reads the caller's catch-up digest (TASK-4035). It is a plain GET: the endpoint never writes, and marking caught up (PUT /me/seen) has no c
internal/cli/client.go:1689
↓ 1 callers
Method
GetCollectionAnyStateTx
GetCollectionAnyStateTx is GetCollectionAnyState through an OPEN TRANSACTION. Exported for the open-children guard, which runs inside the item-update
internal/store/collections.go:323
↓ 1 callers
Method
GetCustomTemplate
(id string)
internal/store/templates.go:36
↓ 1 callers
Method
GetImportStatus
GetImportStatus asks what became of the caller's import attempt with key.
internal/cli/client_import.go:98
↓ 1 callers
Method
GetInstallAPIState
GetInstallAPIState reads an install's workspace, state, service access and bot, or nil when there is no such install.
internal/store/app_ceiling.go:166
↓ 1 callers
Method
GetInstallConsentState
GetInstallConsentState reads an install's consent state, or nil when there is no such install.
internal/store/install_clients.go:649
↓ 1 callers
Method
GetItemBuiltin
GetItemBuiltin reads an item's state relative to Pad's current text.
internal/cli/client.go:1476
↓ 1 callers
Method
GetItemCollectionRefs
GetItemCollectionRefs returns minimal item info (ID + CollectionID) for the given item IDs, scoped to the workspace. State-agnostic: the query has no
internal/store/items.go:7149
↓ 1 callers
Method
GetItemContext
--- Item context (PLAN-3598) --- GetItemContext fetches the item's brief (GET /items/{ref}/context) as the server's JSON, verbatim. intent, role and b
internal/cli/client.go:1116
↓ 1 callers
Method
GetItemLinkByID
GetItemLinkByID returns a single item link by its ID, or nil if not found.
internal/store/items.go:4457
↓ 1 callers
Method
GetItemVersionResolved
GetItemVersionResolved returns a single version with its diff resolved to full content. Reverse-patch versions can only be reconstructed by walking th
internal/store/items.go:6793
↓ 1 callers
Method
GetLibraryEntry
GetLibraryEntry fetches one library entry by exact title match. Conventions- first precedence — a title that resolves to a convention is returned as o
internal/cli/client.go:1822
↓ 1 callers
Method
GetPKCERequestSession
GetPKCERequestSession hydrates the PKCE session. Returns fosite.ErrNotFound when missing (e.g. someone replayed an old auth code that's already been d
internal/oauth/storage.go:481
↓ 1 callers
Method
GetReport
GetReport returns the windowed project report JSON (PLAN-1628 / TASK-1630). window is one of day|week|2wk|month (empty = server default "week"); colle
internal/cli/client.go:1533
↓ 1 callers
Method
GetRoleBoardItems
GetRoleBoardItems returns non-terminal items across all collections, grouped by role.
internal/store/agent_roles.go:300
↓ 1 callers
Method
GetStaleAgenda
GetStaleAgenda returns the occurrences unresolved for more than 14 days, oldest first (TASK-4237). from (an RFC3339 instant) and tz are optional.
internal/cli/client_schedule.go:93
↓ 1 callers
Method
GetUserContext
GetUserContext is GetUser under ctx: a cancelled context stops the query.
internal/store/users.go:168
↓ 1 callers
Method
GetUserMemberWorkspaces
GetUserMemberWorkspaces returns only workspaces where the user has a workspace_members row — NO guest-grant fallback. Mirrors the first half of GetUse
internal/store/workspace_members.go:746
↓ 1 callers
Method
GetUserWorkspaces
GetUserWorkspaces returns all workspaces a user has access to, sorted by the user's custom sort order (then name as tiebreaker).
internal/store/workspace_members.go:784
↓ 1 callers
Method
GetVersion
(id string)
internal/store/versions.go:216
↓ 1 callers
Method
GetWebhookScoped
GetWebhookScoped retrieves a single webhook by ID, but only if it belongs to the given workspace. The workspace_id predicate is applied in SQL BEFORE
internal/store/webhooks.go:117
↓ 1 callers
Method
GetWorkspacesByIDs
GetWorkspacesByIDs loads live workspaces by id with their owner's username, in one query per chunk. Unknown and soft-deleted ids are skipped.
internal/store/needs_read.go:54
↓ 1 callers
Method
GetWorkspacesBySlugForUser
GetWorkspacesBySlugForUser finds workspaces matching a slug that are accessible to the given user (owned, member, or guest with grants).
internal/store/workspaces.go:329
↓ 1 callers
Method
GroupConcat
GroupConcat returns SQL for string aggregation with a separator. SQLite: GROUP_CONCAT(DISTINCT expr) PostgreSQL: STRING_AGG(DISTINCT expr, ',')
internal/store/dialect.go:78
↓ 1 callers
Method
GroupConcat
(expr string, distinct bool)
internal/store/dialect.go:203
↓ 1 callers
Method
GroupConcat
(expr string, distinct bool)
internal/store/dialect.go:296
↓ 1 callers
Method
GuestVisibleCollectionIDs
GuestVisibleCollectionIDs returns the collection IDs a guest (non-member with grants) can see. Includes collections with direct collection_grants and
internal/store/grants.go:511
↓ 1 callers
Method
GuestVisibleResourcesIncludeDeleted
GuestVisibleResourcesIncludeDeleted is the delta-sync variant of GuestVisibleResources: it does NOT filter out soft-deleted items or collections. /ite
internal/store/grants.go:586
↓ 1 callers
Method
GuestWorkspaceIDs
GuestWorkspaceIDs lists the live workspaces where userID holds a collection or item grant but is NOT a member: the guest workspaces. A member's grants
internal/store/needs_read.go:25
↓ 1 callers
Function
HTTPStatus
HTTPStatus is the HTTP status a request error carries, or 0 when the request got no answer at all (the server was unreachable) or the error did not co
internal/cli/client.go:3555
↓ 1 callers
Method
HasActiveConnectionForUser
HasActiveConnectionForUser reports whether the user has ANY active OAuth connection at all, regardless of which workspaces it covers. The claim-code
internal/store/oauth_connections.go:794
↓ 1 callers
Method
HasV3ScheduleMembers
HasV3ScheduleMembers reports whether the bundle carries time links, a member of version 3. Like the version 2 check it sees an explicit null or empty
internal/models/export_version.go:78
↓ 1 callers
Method
HasV4ScheduleMembers
HasV4ScheduleMembers sees gates and item tombstones, including explicit null and empty JSON members and bundles built directly by Go callers.
internal/models/export_version.go:84
↓ 1 callers
Method
Header
()
internal/server/mcp_stream_keepalive.go:71
↓ 1 callers
Method
HeartbeatPublishFailed
HeartbeatPublishFailed is unlabelled for the same cardinality reason as its neighbours.
internal/metrics/events_observer.go:69
↓ 1 callers
Method
HeartbeatPublishFailed
HeartbeatPublishFailed is unlabelled for the same cardinality reason as its neighbours.
internal/metrics/watchevents_observer.go:58
↓ 1 callers
Method
Hijack
Hijack satisfies http.Hijacker, which gorilla/websocket type-asserts for rather than going through http.ResponseController. A WebSocket route that is
internal/server/middleware_write_deadline.go:261
↓ 1 callers
Method
Hijack
()
internal/server/bug3821_write_deadline_test.go:431
↓ 1 callers
Function
I
(d)
docs/brand/social/render.mjs:56
↓ 1 callers
Method
ILike
()
internal/store/dialect.go:313
↓ 1 callers
Method
Init2FASecret
Init2FASecret loads the 2FA challenge signing key from platform_settings. If no key exists (first run), a new random key is generated and persisted. T
internal/server/server.go:918
↓ 1 callers
Method
InitEmailFromSettings
InitEmailFromSettings loads email config from platform settings on startup, merging with any env-var-based sender that was already attached.
internal/server/server.go:1681
↓ 1 callers
Method
InstallCompanionCollectionIDsQ
InstallCompanionCollectionIDsQ returns the install's companion collections: the live collections in its workspace stamped via_app = the install.
internal/store/app_ceiling.go:77
↓ 1 callers
Method
InstallForLiveCode
InstallForLiveCode reads, unlocked, which install a code names, for the redeem route's per-install limiter, and only for a code that could still redee
internal/store/app_provision.go:571
↓ 1 callers
Function
InstallForTool
InstallForTool writes the skill content to the appropriate location for a tool.
internal/cli/agents.go:229
↓ 1 callers
Method
InstallOrigin
InstallOrigin returns an install's origin.
internal/store/app_lifecycle.go:495
↓ 1 callers
Method
InvalidateAuthorizeCodeSession
InvalidateAuthorizeCodeSession marks a code's row inactive. Called by fosite once /token successfully exchanges the code; subsequent reads return ErrI
internal/oauth/storage.go:266
↓ 1 callers
Function
IsAbandonedStatusDefault
IsAbandonedStatusDefault is IsTerminalStatusDefault over the abandoned subset, for callers with no collection context.
internal/models/terminal.go:204
↓ 1 callers
Function
IsCommentDeleted
IsCommentDeleted reports whether err is the tombstone refusal.
internal/cli/client.go:2668
↓ 1 callers
Function
IsCommentHasReplies
IsCommentHasReplies reports whether err is BUG-3252's refusal.
internal/cli/client.go:2614
↓ 1 callers
Function
IsDatabaseBusy
IsDatabaseBusy reports whether err is, or wraps, the database_busy 503.
internal/cli/client.go:3489
↓ 1 callers
Function
IsJSONDocument
IsJSONDocument reports whether a string is a complete JSON OBJECT OR ARRAY - the shape a downstream consumer treats as a nested document. Objects and
internal/textguard/textguard.go:64
↓ 1 callers
Method
IsKnownCallName
IsKnownCallName reports whether name may be a metrics label value: a tool registered on this server, or a JSON-RPC protocol method. Anything else is c
internal/mcp/metrics_names.go:62
↓ 1 callers
Function
IsLeaseHeld
IsLeaseHeld reports whether err is the lease refusal.
internal/cli/client.go:2632
↓ 1 callers
Function
IsLineageItemLinkType
(linkType string)
internal/models/item_links.go:41
↓ 1 callers
Function
IsRateLimited
IsRateLimited reports whether err is, or wraps, the server's 429 refusal.
internal/cli/client.go:3359
↓ 1 callers
Function
IsReferentialItemField
IsReferentialItemField reports whether a reserved key's value depends on the workspace context around it. See referentialItemFieldKeys.
internal/models/item.go:350
↓ 1 callers
Function
IsReservedCollectionSlug
isReservedCollectionSlug checks whether a slug would collide with a workspace-level UI route. IsReservedCollectionSlug reports whether a slug collides
internal/store/collections.go:1484
↓ 1 callers
Method
IsShared
IsShared reports whether this state is a process-global instance serving multiple users. Callers use it to avoid persisting or trusting a session defa
internal/mcp/workspace.go:88
↓ 1 callers
Function
IsTerminalStatus
IsTerminalStatus checks whether a status string is terminal given a schema. Like the status extract above, this is hardcoded to the `status` field — i
internal/models/terminal.go:362
↓ 1 callers
Function
IsTooLarge
IsTooLarge reports whether err is, or wraps, a server 413. Keyed on the STATUS, not the code, because three producers refuse with three codes.
internal/cli/client.go:3376
↓ 1 callers
Function
IsValidFieldKey
IsValidFieldKey reports whether key is a field name the store will filter on; a list filter key that is not one is refused (BUG-3480) rather than drop
internal/store/store.go:1565
↓ 1 callers
Method
IsWorkspaceCoveredForUser
IsWorkspaceCoveredForUser reports whether the given workspace is already covered by any of the user's active OAuth connections — either by the connect
internal/store/oauth_connections.go:736
↓ 1 callers
Function
IssuesForCallerInput
IssuesForCallerInput drops the issues whose key was NOT present before validation ran — i.e. the ones raised against a schema DEFAULT that `ValidateFi
internal/store/relation_referents.go:1837
↓ 1 callers
Method
ItemBodies
ItemBodies loads the body and content_state of the given items, keyed by id (BUG-3790: a door that windows a body-less list fills in only its page).
internal/store/item_stars.go:263
↓ 1 callers
Method
ItemReadDecisions
ItemReadDecisions is Decisions without the staged keys (TASK-3921): what the item read, the CLI --agent projection and MCP item get carry. The raw Dec
internal/decision/runner.go:807
↓ 1 callers
Method
ItemsAppReadMeta
ItemsAppReadMeta returns each item's via_app (the last install that wrote it) and its creator's display name, in one query.
internal/store/app_ceiling.go:189
↓ 1 callers
Method
ItemsCreatedViaAppQ
ItemsCreatedViaAppQ is ItemsCreatedViaApp on a caller-supplied executor (BUG-3659).
internal/store/app_attribution.go:84
↓ 1 callers
Method
JSONArrayElements
JSONArrayElements returns a FROM-clause table-function fragment that unnests a JSON text-array column into one row per element, plus the expression yi
internal/store/dialect.go:152
↓ 1 callers
Method
JSONExtractPath
JSONExtractPath returns SQL to extract a value at a dotted path from a JSON column. SQLite: json_extract(col, '$.path.to.key') PostgreSQL: col #>> '{p
internal/store/dialect.go:39
↓ 1 callers
Method
JSONFieldEqualsParts
(column, key, arg string)
internal/store/dialect_fieldvalue.go:95
↓ 1 callers
Method
JSONFieldEqualsParts
(column, key, arg string)
internal/store/dialect_fieldvalue.go:136
↓ 1 callers
Method
JSONFieldEqualsParts
JSONFieldEqualsParts is JSONFieldEquals in two halves: the STRING branch, which leads with the bare extract compared to the argument so an expression
internal/store/dialect.go:51
↓ 1 callers
Method
JSONFieldText
(column, key string)
internal/store/dialect_fieldvalue.go:81
↓ 1 callers
Method
JSONFieldText
---------- PostgreSQL ----------
internal/store/dialect_fieldvalue.go:124
↓ 1 callers
Method
JSONRemove
(column, key string)
internal/store/dialect.go:284
↓ 1 callers
Method
JSONSet
JSONSet returns SQL to set a value at a path in a JSON column. SQLite: json_set(col, '$.key', ?) PostgreSQL: jsonb_set(col::jsonb, '{key}', ?::jsonb)
internal/store/dialect.go:58
↓ 1 callers
Function
KNOWN
(count: number)
web/src/lib/push/dispatch.test.ts:12
↓ 1 callers
Function
KeepOpKey
KeepOpKey returns to wrapped in the OpKeyError from's chain carries, so a command that replaces a refusal with its own error still names the key.
internal/cli/client.go:3249
↓ 1 callers
Function
KeyOf
KeyOf is the row's age key.
internal/needs/cursor.go:43
↓ 1 callers
Method
LatestYjsUpdateSchemaVersion
LatestYjsUpdateSchemaVersion + SetAsideAndClearOpLog power the schema-mismatch rebuild (TASK-1268). The room manager checks the most recent op-log row
internal/collab/room.go:325
↓ 1 callers
Method
Len
()
internal/schedule/internal/rrule/rrule.go:901
↓ 1 callers
Method
Less
(i, j int)
internal/schedule/internal/rrule/util.go:24
↓ 1 callers
Function
LibraryOptionVocabulary
LibraryOptionVocabulary returns, per select field key, the values the library writes into a collection of the given artifact kind when one of its entr
internal/collections/library_vocabulary.go:23
↓ 1 callers
Method
LimitConnectionToCurrentWorkspaces
LimitConnectionToCurrentWorkspaces turns a wildcard connection into a specific list of the workspaces the user is a member of right now (BUG-3338). It
internal/store/oauth_connections.go:328
↓ 1 callers
Method
ListAPITokens
ListAPITokens returns all API tokens for a workspace (without secrets).
internal/store/api_tokens.go:216
↓ 1 callers
Method
ListActivity
--- Activity ---
internal/cli/client.go:1626
↓ 1 callers
Method
ListAppWebhookTargets
ListAppWebhookTargets returns the workspace's deliverable-looking app hooks subscribed to event (any event when it is ""): install active, secret deli
internal/store/app_delivery.go:63
↓ 1 callers
Method
ListArchivedCollections
ListArchivedCollections returns the workspace's archived collections (TASK-2189).
internal/cli/client.go:325
↓ 1 callers
Method
ListAttachments
ListAttachments returns a page of attachments in the workspace, applying any filters set on params. Empty fields are omitted from the query string so
internal/cli/client.go:3106
↓ 1 callers
Method
ListBillingUsers
ListBillingUsers pages through human users with a stored Stripe customer id or a stripe-sourced plan, ordered by id: the users after afterID, at most
internal/store/billing_users.go:20
↓ 1 callers
Method
ListCollabSetAside
ListCollabSetAside reads the item's set-aside edits as raw updates.
internal/cli/client.go:680
↓ 1 callers
Method
ListCollectionGrants
ListCollectionGrants returns all grants on a collection.
internal/store/grants.go:62
↓ 1 callers
Method
ListCommitmentGates
ListCommitmentGates returns the item's gate state and readable blockers.
internal/cli/client_schedule.go:143
↓ 1 callers
Method
ListCommitmentLinks
ListCommitmentLinks returns the readable links of an item.
internal/cli/client_schedule.go:106
↓ 1 callers
Method
ListCompletedForAgenda
ListCompletedForAgenda returns one entry per item, at its latest positive terminal transition in [from, to). Current item visibility is applied before
internal/store/agenda_item_events.go:51
↓ 1 callers
Method
ListCreatedForAgenda
ListCreatedForAgenda reads live, non-system items created in [from, to). Scope is applied before the time/id ordering and SQL row limit.
internal/store/agenda_item_events.go:30
← previous
next →
9,201–9,300 of 28,840, ranked by callers