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
↓ 3 callers
Function
capSection
(lines []CatchUpLine)
internal/store/catch_up.go:98
↓ 3 callers
Function
captureSkill
(t *testing.T)
cmd/pad/capture_skill_commitment_test.go:20
↓ 3 callers
Function
captureSlog
(c *logCapture)
internal/watchevents/redis_bus_resume_test.go:654
↓ 3 callers
Function
captureStderr
captureStderr runs fn with os.Stderr redirected and returns what it wrote.
internal/config/bug4066_relative_data_dir_test.go:13
↓ 3 callers
Function
cascadeRetainedBytes
cascadeRetainedBytes is what one linking document makes the cascade hold: the body it read (kept verbatim as the compare-and-set token) plus the body
internal/store/documents.go:765
↓ 3 callers
Function
catalogDef
(name string)
internal/mcp/chatgpt_catalog.go:457
↓ 3 callers
Function
challengeOf
(r scopeCallResult)
cmd/pad/chatgpt_scope_test.go:144
↓ 3 callers
Function
changed
A change: mark dirty now, remembering which marks this burst raised.
web/src/lib/items/editorBurstDirty.ts:26
↓ 3 callers
Method
changed
* True when the live view no longer matches this capture — including when * the capture itself was never addressable.
web/src/lib/attachments/viewFence.ts:85
↓ 3 callers
Function
chatLink
(page: Page)
web/e2e/chat-shell-layout.spec.ts:35
↓ 3 callers
Function
chatNow
()
internal/store/conversations.go:47
↓ 3 callers
Function
checkAppDTOKeys
(t *testing.T, route string, body any)
internal/server/task3401_app_api_test.go:307
↓ 3 callers
Method
checkCollectionFullyVisible
checkCollectionFullyVisible is the bool-returning core of requireCollectionFullyVisible — same rules, no response writing, and a workspace ID that nee
internal/server/authz_cross_workspace.go:874
↓ 3 callers
Function
checkItem
(t *testing.T, where string, it map[string]any)
internal/server/task3401_app_api_test.go:297
↓ 3 callers
Method
checkListFilterKeys
checkListFilterKeys refuses a field filter the list cannot honour (BUG-3480). parseItemListParams reads every query parameter it does not know as a fi
internal/server/handlers_items.go:4722
↓ 3 callers
Method
checkReminderMigrationTx
(tx *sql.Tx)
internal/store/reminder_migration.go:282
↓ 3 callers
Method
checkScheduleTiming
checkScheduleTiming runs at the user write paths only (create, and an update that names timing): copy, import, restore and migrations never call it, s
internal/store/schedules.go:181
↓ 3 callers
Method
checkUserLimitOn
checkUserLimitOn is CheckUserLimit against a caller-supplied executor, so a transaction can count on its own connection and after its own lock (BUG-24
internal/store/limits.go:208
↓ 3 callers
Function
childProgressState
childProgressState says how one child counts toward its parent's progress: whether it is in the total, and whether it is done. An ABANDONED child (a t
internal/server/handlers_dashboard.go:381
↓ 3 callers
Function
chip
()
web/src/lib/components/editor/attachmentChipPanel.svelte.test.ts:143
↓ 3 callers
Function
chunkedBearerCall
chunkedBearerCall is bearerCall with ContentLength forced to -1, the way a chunked request arrives. The old guard (`ContentLength > 0`) silently DROPP
internal/server/handlers_watches_test.go:184
↓ 3 callers
Function
clampPan
(state: ZoomState, g: Geometry)
web/src/lib/attachments/zoom.ts:289
↓ 3 callers
Function
clampRect
Clamp a rectangle to fit within `bounds`, integer coords throughout.
web/src/lib/components/editor/attachment-crop-modal.ts:398
↓ 3 callers
Function
clampScale
(scale: number, g: Geometry)
web/src/lib/attachments/zoom.ts:257
↓ 3 callers
Function
classify
(entry: Pick<AgendaEntry, 'type' | 'audience'>)
web/src/lib/calendar/audience.ts:8
↓ 3 callers
Function
classifyScheduleChanges
classifyScheduleChanges splits changes into the rows a restore keeps and the drops it reports. It writes nothing and mutates neither map argument, so
internal/store/schedule_carry_v2.go:233
↓ 3 callers
Function
claudeSkillPath
(project string)
cmd/pad/bug3466_skill_overwrite_test.go:30
↓ 3 callers
Function
claudeTool
()
internal/cli/skillstamp_test.go:14
↓ 3 callers
Method
clause
clause is the SQL restriction for a query whose items table is aliased alias ("" for an unaliased items table).
internal/store/wiki_links.go:51
↓ 3 callers
Function
cleanClientName
cleanClientName trims a client-declared string and drops control characters, so a log line or a stored name cannot be forged by it, and keeps at most
internal/mcp/client_identity.go:187
↓ 3 callers
Method
cleanup
()
internal/server/middleware_ratelimit.go:253
↓ 3 callers
Function
cleanupMarkdown
(md string)
internal/urlimport/generic.go:99
↓ 3 callers
Method
clearOpLogCompactionQ
clearOpLogCompactionQ forgets an item's compaction when its op-log is deleted. Hygiene, not safety: CompactedResumeCovers already requires the snapsho
internal/store/yjs_compaction.go:183
↓ 3 callers
Function
clearTimer
()
web/src/lib/services/accessStream.svelte.ts:91
↓ 3 callers
Function
clearTimerFor
(id: string)
web/src/lib/stores/toast.svelte.ts:282
↓ 3 callers
Function
cli
(args)
plugin/hooks/register.js:91
↓ 3 callers
Function
cliAuthBrowserURL
cliAuthBrowserURL builds the auth-approval URL we print to the user during `pad auth login`. We construct it on the CLI side rather than trusting the
cmd/pad/cmd_auth.go:423
↓ 3 callers
Function
cliAuthScheme
cliAuthScheme picks the URL scheme for the CLI auth link. Precedence: 1. If the request hit this server over TLS (r.TLS != nil) → "https". 2. If a tr
internal/server/handlers_cli_auth.go:384
↓ 3 callers
Function
clickBoardCard
(card: Locator, timeout = 12_000)
web/e2e/lib/boardClickProbe.ts:21
↓ 3 callers
Function
clip
(t, n = W)
plugin/hooks/register.js:527
↓ 3 callers
Function
clipLine
(s, n)
plugin/hooks/register.js:1304
↓ 3 callers
Method
clock
()
internal/events/bus.go:720
↓ 3 callers
Method
closeOccurrenceTx
closeOccurrenceTx is the shared done, skip and lapse advance path. The caller holds the schedule pin and commits the occurrence, schedule and reminder
internal/store/schedule_resolve.go:619
↓ 3 callers
Method
closeOptions
closeOptions preserves the field's option order and excludes abandoning closes.
internal/store/items.go:5389
↓ 3 callers
Method
closeSocket
(code: number, reason: string)
web/src/lib/collab/wsProvider.svelte.ts:1662
↓ 3 callers
Function
codeOrBlank
codeOrBlank wraps t in backticks unless t is empty. Any stray backtick characters inside t are stripped first so the resulting cell always carries exa
internal/urlimport/openapi.go:435
↓ 3 callers
Function
coerceObject
(value: unknown)
web/src/lib/components/share/shareView.ts:72
↓ 3 callers
Function
collCount
(list []ReportCollectionCount, slug string)
internal/store/reports_test.go:21
↓ 3 callers
Function
collabClosedWithin
collabClosedWithin reports whether the server ended the WS within d.
internal/server/handlers_stream_session_liveness_test.go:332
↓ 3 callers
Function
collabDialStatus
BUG-1308. Collab WebSocket dials used to draw on the general per-user API bucket (burst 60), so 100 dials from one user got 60 through, and a user's o
internal/server/handlers_collab_bug1308_test.go:23
↓ 3 callers
Function
collapsePushMessage
(raw: string)
web/src/lib/push/message.ts:67
↓ 3 callers
Function
collection
()
web/src/lib/components/collections/BoardView.relationGroup.svelte.test.ts:75
↓ 3 callers
Method
collectionIDBySlugQ
collectionIDBySlugQ returns the collection's ID, or "" when the workspace has no live collection with that slug. ID only: the referent check compares
internal/store/relation_referents.go:1082
↓ 3 callers
Method
collectionIDForKind
collectionIDForKind resolves an artifact Kind to the destination collection in a workspace: whichever collection DECLARES that kind via its artifact_k
internal/server/handlers_artifact_import.go:39
↓ 3 callers
Function
collectionSettingsOf
collectionSettingsOf parses a collection's settings, treating unreadable settings as empty the way every other done-field caller does.
internal/server/migrate_close_state.go:17
↓ 3 callers
Function
collectionSlugs
(colls []models.Collection)
internal/store/collections_test.go:796
↓ 3 callers
Function
collectionsCreateCmd
()
cmd/pad/cmd_collection.go:152
↓ 3 callers
Function
collectionsUpdateCmd
collectionsUpdateCmd updates an existing collection's name, icon, description, prefix, schema, or sort order. Only flags the caller explicitly sets ar
cmd/pad/cmd_collection.go:305
↓ 3 callers
Function
comment
(slug: string, body: string, asAgent = false)
web/e2e/lib/readme-seed.ts:86
↓ 3 callers
Method
commentCurrent
commentCurrent reports whether every conventions_comments row for the comment is current, and whether there are any.
internal/decision/per_comment_test.go:45
↓ 3 callers
Function
commentDeleteCmd
()
cmd/pad/cmd_item.go:3539
↓ 3 callers
Function
commentEditCmd
()
cmd/pad/cmd_item.go:3482
↓ 3 callers
Function
commentKeyFixture
TASK-3585: idempotency keys on comment create.
internal/server/task3585_comment_key_test.go:12
↓ 3 callers
Function
commentWithActivity
commentWithActivity writes the pair the create handler writes: a `commented` activity carrying the given metadata, then the comment linked to it. An e
internal/store/comments_agent_name_test.go:28
↓ 3 callers
Function
commitmentCheckRoles
(t *testing.T, s *Store)
internal/store/commitment_dates_migration_test.go:145
↓ 3 callers
Function
commitmentGraphPath
(ws, kind, id string)
internal/cli/client_schedule.go:137
↓ 3 callers
Function
commitmentOf
(t *testing.T, rr *httptest.ResponseRecorder)
internal/server/handlers_milestone_test.go:29
↓ 3 callers
Function
commitmentRevisionOf
(t *testing.T, f *schedHTTP, method string, body any, status int)
internal/server/commitment_revision_test.go:9
↓ 3 callers
Method
commitmentRevisionQ
commitmentRevisionQ is the commitment_revision of one schedule: a SHA-256 over every column of its item_schedules row and every one of its occurrence
internal/store/commitment_revision.go:36
↓ 3 callers
Function
compactManifestFields
(raw json.RawMessage)
internal/collections/templates_manifest.go:685
↓ 3 callers
Function
compareGolden
(t *testing.T, name string, got []byte)
cmd/pad/mcp_wire_golden_test.go:162
↓ 3 callers
Function
competeOnce
BUG-3307. createWorkspaceQ probes for a free slug and then INSERTs; two creates of one name that both probed before either inserted raced, and the los
internal/store/bug3307_workspace_slug_test.go:21
↓ 3 callers
Function
completedOption
()
web/src/routes/(console)/agenda/agenda.svelte.test.ts:44
↓ 3 callers
Function
completedWorkValue
completedWorkValue is the value that closed a completed-work item: its own collection's done field (BUG-2640), falling back to "status" for a collecti
internal/server/handlers_project_intel.go:275
↓ 3 callers
Function
completedWorkValue
completedWorkValue is the value that closed a completed-work item: its own collection's done field, falling back to "status" for a collection the map
cmd/pad/cmd_project.go:404
↓ 3 callers
Function
computeAccessEpoch
computeAccessEpoch fingerprints the caller's EFFECTIVE visible resource set so a client can tell that the set changed without being told what it is.
internal/server/access_epoch.go:47
↓ 3 callers
Function
computeAdminUserStatus
computeAdminUserStatus derives the at-a-glance status pill from the underlying fields. Precedence is intentional: a disabled user with no workspace is
internal/store/users.go:589
↓ 3 callers
Function
configureEmailForTest
configureEmailForTest attaches an email.Sender wired to the given mock endpoint plus a base URL so s.baseURL != "" (the configured check looks at both
internal/server/cloud_admin_gate_test.go:772
↓ 3 callers
Function
confirmRow
(label: string)
web/src/lib/components/items/attachmentDeleteIdentityFence.svelte.test.ts:120
↓ 3 callers
Function
connectApp
(handlers: { onToolInput(args: Record<string, unknown>): void; onToolResult(result: ToolResultLike): void;
web/src/mcp-app/bridge.ts:23
↓ 3 callers
Method
connectionHas
BUG-2794. Create added the new workspace to the calling OAuth connection's allow-list (maybeAutoAddCreatorConnection); neither import door did, so a c
internal/server/handlers_workspace_import_autoadd_test.go:22
↓ 3 callers
Function
consentClientName
consentClientName returns name cut to consentClientNameMax runes, with an ellipsis when it was cut, and whitespace runs collapsed so a name cannot pad
internal/server/handlers_oauth.go:2586
↓ 3 callers
Function
contains
(list []string, v string)
internal/store/storetest/writecapture_test.go:154
↓ 3 callers
Function
contains
(list []string, v string)
internal/appstore/items_test.go:417
↓ 3 callers
Function
contains
(list []int, elem int)
internal/schedule/internal/rrule/util.go:60
↓ 3 callers
Function
contains
(n: Node | null | undefined, x: Node)
web/src/lib/components/items/childIdentityFencePopulation.test.ts:521
↓ 3 callers
Function
containsItem
(events []Event, itemID string)
internal/events/gap_signal_test.go:193
↓ 3 callers
Function
containsLiveCall
containsLiveCall reports whether src contains needle on a line that is not commented out. A plain substring scan is comment-blind, and that is not a
internal/mcp/dispatch_http_allowlist_guard_test.go:852
↓ 3 callers
Function
contentStateSQLFor
contentStateSQLFor is contentStateSQL for a query that aliases the items table as something other than `i` — the backlink queries call it `s`, since t
internal/store/items.go:844
↓ 3 callers
Function
contextCodeHash
(code string)
internal/store/app_item_actions.go:350
↓ 3 callers
Function
contextFieldString
(fieldsJSON, key string)
internal/server/handlers_item_context.go:692
↓ 3 callers
Method
control
(msg: object)
web/src/lib/collab/wsProviderCatchUp.svelte.test.ts:31
↓ 3 callers
Function
controlled
()
web/src/lib/stores/chatSurface.svelte.test.ts:1220
↓ 3 callers
Function
conventionsCollection
conventionsCollection returns a Conventions collection scoped to the caller's domain. The trigger and scope select options are supplied by the caller
internal/collections/templates.go:463
↓ 3 callers
Function
cookieKindAccepted
cookieKindAccepted reports whether a session may be used as a browser cookie: only a web session (BUG-3350). A CLI session presented as a cookie is no
internal/server/handlers_account.go:50
↓ 3 callers
Method
copyAsAttacker
()
internal/server/handlers_items_copy_attachment_authz_test.go:117
↓ 3 callers
Function
copyInputMap
(in map[string]any)
internal/mcp/catalog_item_schedule.go:460
↓ 3 callers
Function
copyKeyServer
TASK-3585: the copy's one keyed retry. A server that advertises idempotency_keys gets a second attempt with the SAME key after an unknown outcome; one
internal/cli/task3585_copy_retry_test.go:16
↓ 3 callers
Function
copyLimitBody
(n int)
internal/store/items_copy_attachment_limit_test.go:14
↓ 3 callers
Function
copyStrings
copyStrings returns a defensive copy of a string slice so the helper's returned schema cannot mutate the caller's option list.
internal/collections/templates.go:454
← previous
next →
5,401–5,500 of 31,685, ranked by callers