Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerpetualSoftware/pad
/ functions
Functions
31,685 in github.com/PerpetualSoftware/pad
⨍
Functions
31,685
◇
Types & classes
3,533
↓ 2 callers
Method
opLogRows
(t *testing.T)
internal/server/bug3244_schema_rebuild_set_aside_test.go:105
↓ 2 callers
Function
open
()
web/e2e/attachment-viewer-parity.spec.ts:244
↓ 2 callers
Function
open
(page: Page, key: AccountKey, path: string)
web/e2e/permission-walk-workspace.spec.ts:110
↓ 2 callers
Method
open
()
internal/server/stream_gap_announcer.go:100
↓ 2 callers
Method
openAs
(t *testing.T, scheme, bearer string, listen bool)
internal/server/bug3837_mcp_credential_tick_test.go:106
↓ 2 callers
Function
openAt
(path: string, state: Record<string, unknown> = { chatDepth: 1 })
web/src/lib/components/chat/ChatHost.phone.svelte.test.ts:118
↓ 2 callers
Function
openConfirm
Click a tile's `×`. Opens the confirmation; sends nothing.
web/src/lib/components/items/ItemAttachmentStrip.svelte.test.ts:1044
↓ 2 callers
Method
openDeadlineCandidates
openDeadlineCandidates drops the candidates whose item is in a terminal status, judged by each workspace's own terminal options as the agenda does. A
internal/store/schedule_deadline_eval.go:204
↓ 2 callers
Function
openDiagnosticDB
(dsn string, postgres bool)
internal/store/version_tie_diagnostic.go:479
↓ 2 callers
Function
openEdit
()
web/src/routes/(console)/settings/account/task3867EditTokenAccess.svelte.test.ts:53
↓ 2 callers
Function
openItem
($, ref)
plugin/hooks/register.js:412
↓ 2 callers
Method
openMentionSQL
openMentionSQL is the predicate for an OPEN mention row m (comment_mentions) on item alias i: the comment is live, its author is not the mentioned use
internal/store/needs_read.go:127
↓ 2 callers
Function
openMore
(ref: string)
web/src/routes/(console)/needs/needsPage.svelte.test.ts:1137
↓ 2 callers
Function
openNULToolsStore
openNULToolsStore opens the resolved database. Opening applies any pending schema migrations, which is why the caller does its refusing first.
cmd/pad/cmd_db_nul.go:257
↓ 2 callers
Function
openNativeModals
Every `showModal()` dialog currently open, or `[]` where `:modal` is unsupported.
web/src/lib/a11y/viewerBackdrop.ts:280
↓ 2 callers
Function
openPostgresDB
openPostgresDB opens and configures a PostgreSQL connection pool.
internal/store/store.go:603
↓ 2 callers
Function
openPostgresDBBounded
openPostgresDBBounded is openPostgresDB with the runtime limits carried as DSN startup parameters, so EVERY connection the pool ever opens (including
internal/store/store.go:612
↓ 2 callers
Method
openRecorded
openRecorded is openAs, and also returns the response recorder. Read its body only after done is closed.
internal/server/bug3837_mcp_credential_tick_test.go:114
↓ 2 callers
Function
openRestoreSQLiteCopy
(t *testing.T, path string)
cmd/pad/cmd_db_restore_test.go:143
↓ 2 callers
Function
openWorkspace
(page: Page, key: AccountKey)
web/e2e/permission-walk-sidebar.spec.ts:41
↓ 2 callers
Method
options
(loc *time.Location, dtstart time.Time, count int)
internal/schedule/engine.go:147
↓ 2 callers
Function
orDefault
(d, def time.Duration)
internal/collab/room.go:174
↓ 2 callers
Function
outboxBulkPayload
outboxBulkPayload returns the single item.bulk_updated payload in the outbox, failing unless there is exactly one.
internal/store/event_outbox_test.go:662
↓ 2 callers
Method
outboxEventsClaimedBy
(token string)
internal/store/event_outbox.go:2284
↓ 2 callers
Function
outboxRowIDs
(t *testing.T, s *Store)
internal/store/event_outbox_test.go:1558
↓ 2 callers
Method
outboxScrubBytes
outboxScrubBytes deliberately reads the CLAIM budget: maxOutboxScrubBytes is defined as maxOutboxClaimBytes, so giving the scrub a second seam would l
internal/store/event_outbox.go:358
↓ 2 callers
Method
outboxScrubRows
()
internal/store/event_outbox.go:365
↓ 2 callers
Method
outcome
(g gateRow)
internal/store/commitment_gates.go:533
↓ 2 callers
Function
outcomeServerRef
withRef selects which success-line branch runs: a REF ("Updated DOC-3 …"), the common case, or the slug fallback. Both carry the outcome; a test that
cmd/pad/item_update_outcome_test.go:32
↓ 2 callers
Method
outstandingAgendaRows
outstandingAgendaRows reads each outstanding occurrence at its effective due instant. A move defers the claim; a snooze only defers its next notificat
internal/store/schedule_bootstrap.go:201
↓ 2 callers
Function
outstandingInstant
outstandingInstant is the one reading of the outstanding occurrence's instant, shared by the reminder reads (fillOccurrenceAt) and the schedule view s
internal/store/schedule_outstanding.go:26
↓ 2 callers
Function
outstandingMatches
( entry: Pick<AgendaEntry, 'wall' | 'occurrence_key'>, view: { ended_at?: string | null; next_occurrence?: {
web/src/lib/calendar/presentation.ts:126
↓ 2 callers
Function
overdueReason
overdueReason renders the human-facing explanation attached to an overdue report ("due date was 2026-08-01"). Shared so the dashboard's attention entr
internal/server/overdue.go:72
↓ 2 callers
Function
overflowResult
overflowResult answers a call whose response overran the limit. A write (any method but GET or HEAD) that the handler accepted has already happened, s
internal/mcp/response_cap.go:120
↓ 2 callers
Function
oweJobsForTest
oweJobsForTest makes the set owed for each item in one transaction, through the write doors' own per-(item, set) body and the installed debounce.
internal/store/decisions_test.go:435
↓ 2 callers
Method
owedDecisionJobTx
owedDecisionJobTx is the per-(item, set) body of enqueueDecisionJobsTx: the upsert, its coalescing and the debounce.
internal/store/decisions.go:197
↓ 2 callers
Function
ownValue
(map: Readonly<Record<string, V>>, key: string | null | undefined)
web/src/lib/utils/ownValue.ts:15
↓ 2 callers
Function
ownWorkspace
* A workspace of this spec's own. Every leg writes only here, never into the * suite's shared workspace: docs created there reflow the shared docs bo
web/e2e/task-3552-diagram-graph-render.spec.ts:31
↓ 2 callers
Function
ownerCard
The owner-only "New Collection" card in the Collections grid.
web/src/routes/workspaceDashboardOwnerDenial.svelte.test.ts:125
↓ 2 callers
Function
ownerRequest
ownerRequest is a request carrying the owner, as the confirm handler's does after the auth middleware: relation defaults resolve against what the call
internal/server/handlers_apps_provision_test.go:678
↓ 2 callers
Method
ownsStore
Whether this pane may touch the singleton (an active, not peeking, side).
web/src/lib/items/editorBurstDirty.ts:16
↓ 2 callers
Function
pad
(n: number)
web/src/lib/commitment.ts:270
↓ 2 callers
Function
padItemDef
padItemDef returns the live pad_item ToolDef from the package catalog.
internal/mcp/catalog_item_fields_test.go:43
↓ 2 callers
Function
page
(results: unknown[])
web/src/lib/components/items/ItemPicker.svelte.test.ts:131
↓ 2 callers
Function
page
(updated: Item[], more: string | null, serverTime = 100)
web/src/lib/api/changesWalk.test.ts:13
↓ 2 callers
Function
pageOf
(messages: ReturnType<typeof message>[], over: Record<string, unknown> = {})
web/src/routes/messages/messagesRoutes.svelte.test.ts:155
↓ 2 callers
Function
paint
(page: Page, selector = CANVAS)
web/e2e/attachment-pdf-preview.spec.ts:215
↓ 2 callers
Function
pairWithChild
pairWithChild builds a parent (one-off, 03-05 09:00 UTC) and a child created by mk, linked a day before the parent, and returns the fixture with the c
internal/store/commitment_cascade_past_test.go:79
↓ 2 callers
Function
panX
(scope: HTMLElement = root())
web/src/lib/components/common/Lightbox.svelte.test.ts:2040
↓ 2 callers
Function
panY
(scope: HTMLElement = root())
web/src/lib/components/common/Lightbox.svelte.test.ts:2045
↓ 2 callers
Function
paneMoreBtn
(page: Page)
web/e2e/copy-dialog.spec.ts:38
↓ 2 callers
Function
panel
()
web/src/lib/components/layout/DockedSheet.svelte.test.ts:41
↓ 2 callers
Function
panel
()
web/src/lib/components/items/itemDetailAddDate.svelte.test.ts:130
↓ 2 callers
Function
panicAfterMintKeepsOwned
(t *testing.T, driver store.DriverType)
internal/server/handlers_import_bundle_bug3191_test.go:31
↓ 2 callers
Function
panicAfterMintOwnerFailureRemoves
(t *testing.T, driver store.DriverType)
internal/server/handlers_import_bundle_bug3191_test.go:65
↓ 2 callers
Function
paramDefToToolOption
paramDefToToolOption maps a ParamDef to the matching mcp-go helper. Unknown Type strings fall through to WithString — same defensive default the cmdhe
internal/mcp/catalog.go:458
↓ 2 callers
Function
parentChainCycles
parentChainCycles walks the `parent` edges up from startID and reports whether the chain revisits a node (a cycle) within a bounded number of hops. Th
internal/store/parent_link_concurrency_test.go:185
↓ 2 callers
Function
parentsOf
(src: AstSource)
web/src/test/identityFenceGate.ts:182
↓ 2 callers
Function
parse
(c: string)
web/e2e/task-2262-focus-and-contrast.spec.ts:39
↓ 2 callers
Function
parse
(c: string)
web/e2e/bug-3420-selected-tab-contrast.spec.ts:21
↓ 2 callers
Function
parseAgendaAudience
parseAgendaAudience reads the optional `audience` parameter, writing the 400 itself on a refusal. Absent returns ("", true) so callers keep the unfilt
internal/server/handlers_agenda.go:191
↓ 2 callers
Function
parseArgumentLine
(line: string)
web/src/lib/playbooks/arguments.ts:287
↓ 2 callers
Function
parseAttachmentHref
(href: string | null | undefined)
web/src/lib/markdown/attachments.ts:86
↓ 2 callers
Function
parseBody
parseBody decodes the inside of a `[[...]]`. Returns nil if the body doesn't match any of the five recognized forms. Mirrors the editor's body-parsing
internal/links/extract.go:529
↓ 2 callers
Function
parseBoolQuery
(r *http.Request, name string, def bool)
internal/server/export_spool.go:106
↓ 2 callers
Function
parseChartBound
(v: unknown)
web/src/lib/components/childChart.ts:13
↓ 2 callers
Function
parseComposeFile
(t *testing.T, path string)
internal/config/compose_env_forwarding_test.go:21
↓ 2 callers
Function
parseDaysParam
This file implements the browser/REST surface for the "project intelligence" reads (PLAN-1888 / TASK-1894): next, standup, changelog. KEEP IN SYNC —
internal/server/handlers_project_intel.go:50
↓ 2 callers
Function
parseDraftKey
(key: string)
web/src/lib/collections/laneDrafts.ts:82
↓ 2 callers
Function
parseDurationEnv
humanBytes formats a byte count with the smallest IEC unit that keeps the value under 1024 — matches the convention used across the web UI's storage b
cmd/pad/cmd_server.go:1419
↓ 2 callers
Function
parseErrorBody
parseErrorBody decodes an error response whose body has already been read. Split out of parseError so callers that need the raw bytes for their own pu
internal/cli/client.go:3939
↓ 2 callers
Function
parseExp
parseExp expands the expected-instant DSL. Tokens are space separated: YYYYMMDD 09:00 local on that date YYYYMMDDTHHMM that local
internal/schedule/conformance_test.go:40
↓ 2 callers
Function
parseExportCheck
(r *http.Request)
internal/server/export_spool.go:125
↓ 2 callers
Function
parseFieldArray
parseFieldArray normalizes an existing `field` param into a []string plus a key→value index. Entries the CLI would reject anyway (no '=') are passed t
internal/mcp/catalog_item_fields.go:933
↓ 2 callers
Function
parseFieldChange
parseFieldChange extracts the from/to value for a given field out of a single activities.metadata `changes` string. The string is built by handlers_do
internal/store/status_transitions_backfill.go:39
↓ 2 callers
Function
parseFieldChanges
(changesStr: string | undefined | null)
web/src/lib/utils/activityChanges.ts:107
↓ 2 callers
Method
parseFromString
(s: string, type: string)
web/src/lib/collab/materializer/domShim.ts:21
↓ 2 callers
Function
parseGoSum
parseGoSum returns the (module, version) pairs whose module content go.sum pins (the `/go.mod`-only lines name versions whose code is never used).
cmd/depages/main.go:205
↓ 2 callers
Function
parseHTML
()
web/src/lib/components/editor/attachment-chip.ts:163
↓ 2 callers
Function
parseIncludeVersions
(r *http.Request)
internal/server/export_spool.go:121
↓ 2 callers
Function
parseInstantFlag
(flag, s string, allowDuration bool, now time.Time)
cmd/pad/cmd_schedule.go:572
↓ 2 callers
Function
parseItemNumber
parseItemNumber parses a bare numeric string (e.g. "843") into a positive item number. Returns false for empty strings, non-digit input, zero, or valu
internal/store/items.go:1116
↓ 2 callers
Function
parseItemVersionsLimit
parseItemVersionsLimit turns the raw `?limit=` value into a row bound. Returns 0 — unbounded — for absent, unparseable, zero and negative input, so on
internal/server/handlers_item_versions.go:105
↓ 2 callers
Function
parseItems
(x: unknown)
web/src/mcp-app/boardModel.ts:106
↓ 2 callers
Function
parseMCPEnabledEnv
parseMCPEnabledEnv reads PAD_MCP_ENABLED: true/1/yes/on and false/0/no/off, case-insensitive. Anything else forces nothing (nil); the raw value is kep
internal/config/mcp.go:246
↓ 2 callers
Function
parseNet
(s string)
internal/appfetch/appfetch.go:122
↓ 2 callers
Function
parseOAuthForm
parseOAuthForm parses a token or introspection request as fosite does (ParseMultipartForm with a 1 MiB memory bound) and returns any failure. ParseFor
internal/server/handlers_oauth.go:203
↓ 2 callers
Function
parsePIDRecord
parsePIDRecord parses PID-file bytes in either form.
internal/cli/pidfile.go:83
↓ 2 callers
Function
parsePSRSS
parsePSRSS reads ps's rss column: KiB, one number, padded.
internal/materialize/memcap_ps.go:24
↓ 2 callers
Function
parsePackageLock
parsePackageLock returns the registry packages a lockfile v2/v3 installs.
cmd/depages/main.go:219
↓ 2 callers
Function
parseQuery
parseQuery is a thin wrapper around url.ParseQuery that returns the values directly. Convenience for the route tests where the function signature is t
internal/mcp/dispatch_http_routes_test.go:21
↓ 2 callers
Function
parseRefForRedirect
parseRefForRedirect splits a validated ref into its uppercase prefix and number. GetItemByRef accepts exact refs, immutable aliases and move-log-prove
internal/server/handlers_ref_resolver.go:297
↓ 2 callers
Function
parseRetryAfter
parseRetryAfter reads a Retry-After header in delta-seconds form, bounded so a hostile or mistaken value cannot park a request indefinitely.
internal/decision/typesafe.go:664
↓ 2 callers
Function
parseRetryAfterMs
(value: string | null, now: number = Date.now())
web/src/lib/services/sseReconnect.ts:40
↓ 2 callers
Function
parseRetryAfterMs
(header: string | null | undefined)
web/src/lib/api/client.ts:309
↓ 2 callers
Function
parseRetryAfterRawMs
* `parseRetryAfterMs` WITHOUT the clamp: what the server actually asked for. * The retry decision needs it (BUG-3192): a 12 s `Retry-After` clamped t
web/src/lib/api/client.ts:319
↓ 2 callers
Function
parseRetryAfterSeconds
parseRetryAfterSeconds reads a Retry-After header in either of its two forms — delta-seconds or an HTTP-date — as whole seconds from now. Zero for an
internal/cli/client.go:3916
↓ 2 callers
Function
parseSearchQuery
(raw: string)
web/src/lib/stores/localSearch.svelte.ts:140
↓ 2 callers
Function
parseSessionPID
parseSessionPID parses the pid header, returning 0 for anything that isn't a plausible process id. 0 is the sentinel for "not stated" (LiveSession omi
internal/server/session_identity.go:156
↓ 2 callers
Function
parseSkillStamp
parseSkillStamp splits a file into its body and its marker. ok is false when the last line with any non-whitespace on it is not a well-formed marker.
internal/cli/skillstamp.go:61
← previous
next →
8,701–8,800 of 31,685, ranked by callers