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
Function
activityFilterParams
(f: ActivityFilters)
web/src/lib/activity/activityFilters.ts:68
↓ 1 callers
Function
activityForConventionRoleBackfill
(wsID, itemID, meta string)
internal/store/convention_role_backfill.go:248
↓ 1 callers
Method
activityMeta
patchActivityMeta adds the patch's own keys to the update's activity entry: its id, how many edits, and whether it rebased.
internal/server/handlers_items_patch.go:352
↓ 1 callers
Function
activityRecordsMore
activityRecordsMore reports whether an activity's metadata carries anything beyond attribution (the "agent" key agentMeta adds): a change list, a bulk
internal/server/handlers_timeline.go:845
↓ 1 callers
Function
activityVisibilityClause
activityVisibilityClause is ActivityVisibility as SQL (BUG-3687). It is the feed handler's former post-LIMIT filter, keyed on the item's collection ID
internal/store/activities.go:899
↓ 1 callers
Function
actorBadgeTitle
(kind: string, label: string, named: boolean)
web/src/lib/activity/activityFilters.ts:87
↓ 1 callers
Function
actorKeyOf
* The fold key must distinguish "this actor" from "an actor we have no name * for", and the LABEL cannot do that job: an agent may legitimately send
web/src/lib/utils/activityEpisodes.ts:77
↓ 1 callers
Function
add
(parseDOM: unknown, inline: boolean)
web/src/lib/components/editor/extensions/htmlProse.ts:86
↓ 1 callers
Function
add
(reason: AttentionReason, entry: AgendaEntry | AgendaWorkEntry, inWindow: boolean)
web/src/lib/calendar/presentation.ts:330
↓ 1 callers
Method
add
add folds one item's group counts into r.
internal/store/version_tie_diagnostic.go:275
↓ 1 callers
Method
add
(kind, key, change, class, detail string)
internal/server/app_upgrade_diff.go:59
↓ 1 callers
Method
addConversationMemberTx
addConversationMemberTx is the only writer of member rows in 2a; there is deliberately no public add or remove until threads and groups exist.
internal/store/conversations.go:155
↓ 1 callers
Function
addDate
()
web/src/lib/components/items/itemDetailAddDate.svelte.test.ts:151
↓ 1 callers
Function
addEntry
--- format dispatch ------------------------------------------------------ Install/Uninstall/Status route through these so each agent's config is rea
internal/mcp/install.go:554
↓ 1 callers
Method
addFlags
(c *cobra.Command)
cmd/pad/cmd_schedule_link.go:48
↓ 1 callers
Function
addGenList
(genList *[]genItem, next Next)
internal/schedule/internal/rrule/rruleset.go:126
↓ 1 callers
Function
addMonths
addMonths adds n calendar months to t's date and clamps the day to the end of the target month (Jan 31 + 1 month = Feb 28 or 29; Feb 29 + 1 year = Feb
internal/store/schedule_completion.go:54
↓ 1 callers
Function
addPadCloud
($)
plugin/hooks/register.js:362
↓ 1 callers
Function
addRemindSubcommands
(cmd *cobra.Command)
cmd/pad/cmd_schedule.go:1017
↓ 1 callers
Method
addSubscriberLocked
addSubscriberLocked registers a channel for a workspace and bumps its local count. Callers must hold mu.
internal/events/redis_bus.go:968
↓ 1 callers
Function
addToEvent
* Fold `e` (older than everything already in `ev`) into the event. Field * changes merge per field: the older row supplies `from`, the newer keeps *
web/src/lib/components/timeline/historyEvents.ts:200
↓ 1 callers
Function
addedKeysConflict
addedKeysConflict reports whether the item holds a non-null value, other than the library's own, for an update field the library has and the seed did
internal/collections/builtin.go:382
↓ 1 callers
Function
additiveFields
additiveFields returns the fields next adds to old, refusing every other schema change. An added field must be optional with no default, not computed,
internal/server/app_upgrade_diff.go:286
↓ 1 callers
Method
addr
()
internal/events/redis_blackhole_test.go:124
↓ 1 callers
Method
addr
()
internal/watchevents/redis_reconnect_test.go:78
↓ 1 callers
Method
addr
()
internal/watchevents/blackhole_test.go:113
↓ 1 callers
Method
addressingFor
addressingFor reads a table's primary key and workspace column from the live schema rather than from a list, because a hand-kept table→key mapping is
internal/store/nulscan.go:244
↓ 1 callers
Function
adjacentColumn
( columnOrder: string[], current: string, dir: 'left' | 'right' )
web/src/lib/collections/reorder.ts:99
↓ 1 callers
Method
adminOpenItemsCountClause
adminOpenItemsCountClause returns a SQL fragment (no leading AND) that excludes terminal-status items. Single-sourced from models.DefaultTerminalStatu
internal/store/workspace_members.go:1786
↓ 1 callers
Function
adminPost
(path: string, body?: unknown)
web/src/lib/stores/admin.svelte.ts:106
↓ 1 callers
Function
adminRequest
(method, target, body string)
internal/server/task4278_error_mapping_test.go:206
↓ 1 callers
Function
adminUserSortClause
adminUserSortClause maps the public sort key + order into a safe ORDER BY expression. Hard-coded allow-list to avoid SQL injection; an unknown key fal
internal/store/users.go:666
↓ 1 callers
Method
admitMCPStream
admitMCPStream takes a stream admission slot for a long-lived MCP request, or answers the refusal. The returned release is nil when nothing was taken.
internal/server/mcp_stream_keepalive.go:299
↓ 1 callers
Method
admitUpload
(ctx context.Context, spec store.FenceSpec, itemID string, actor store.FencedActor, declared int64)
internal/appstore/attachments.go:282
↓ 1 callers
Method
adoptLegacyWorkspace
adoptLegacyWorkspace adopts one workspace's candidates in one transaction and returns how many it adopted. Workspace lock first, then each item row: t
internal/store/builtin_legacy.go:208
↓ 1 callers
Function
adoptWord
(adopt bool)
internal/server/handlers_apps_provision.go:301
↓ 1 callers
Function
advance
(ms: number)
web/src/routes/activityPageHeadRefresh.svelte.test.ts:73
↓ 1 callers
Function
advance
(ms: number)
web/src/lib/components/timeline/ItemTimeline.itemUpdated.svelte.test.ts:70
↓ 1 callers
Function
advance
Move both clocks together: the server's, and the client's monotonic one.
web/src/lib/services/syncServerClockCursor.svelte.test.ts:55
↓ 1 callers
Method
advance
(d time.Duration)
internal/materialize/supervisor_test.go:265
↓ 1 callers
Function
advisoryHasWaiter
BUG-3826: follow-ups to BUG-3811's last-active-admin guard. advisoryHasWaiter reports whether a session waits on the advisory lock keyed hashtext(key)
internal/store/bug3826_last_admin_followups_test.go:14
↓ 1 callers
Method
afterCopyCommit
afterCopyCommit performs every post-commit side effect the copy owes, under ONE panic boundary. The boundary is the point. At the moment this runs th
internal/server/handlers_items_copy.go:761
↓ 1 callers
Method
afterFailure
afterFailure says what a failed import request left behind. The server's own answer (a JSON error envelope) is the outcome and is returned as is; anyt
cmd/pad/workspace_import_watch.go:123
↓ 1 callers
Function
afterNavigate
(_fn: unknown)
web/src/test/mocks/app-navigation.ts:25
↓ 1 callers
Function
ageHours
ageHours returns hours from an RFC3339 created timestamp to now, clamped at 0.
internal/store/reports.go:954
↓ 1 callers
Function
agendaBounds
agendaBounds resolves --from/--days/--to against loc into the UTC instants sent to the server. clamped reports that --days reached past the server's 9
cmd/pad/cmd_schedule.go:707
↓ 1 callers
Function
agendaBytes
(t *testing.T, w *agendaWorld, query string)
internal/server/handlers_agenda_characterization_test.go:20
↓ 1 callers
Method
agendaGroupWorkspaces
agendaGroupWorkspaces narrows the admitted workspaces to the requested group: all (the default), mine, or a saved group of the caller's own. Another u
internal/server/handlers_me_agenda.go:320
↓ 1 callers
Method
agendaHistoryWindow
agendaHistoryWindow admits only history near a seed/role window or an effective override in the requested window. Parameters follow SQL order.
internal/store/schedule_agenda.go:158
↓ 1 callers
Function
agendaInt
(n int)
internal/server/handlers_me_agenda_test.go:579
↓ 1 callers
Function
agendaPriority
agendaPriority maps only declared priority values with shared meaning.
internal/server/agenda_work.go:16
↓ 1 callers
Function
agendaRoleInWindow
(e AgendaEntry, loc *time.Location, from, to time.Time)
internal/store/agenda_roles.go:79
↓ 1 callers
Method
agendaRoleValues
agendaRoleValues is shared by chronological, outstanding and bootstrap reads. The immutable seed determines identity; overrides change placement only.
internal/store/agenda_roles.go:15
↓ 1 callers
Function
agendaRows
(entries: AgendaEntry[])
web/src/lib/calendar/presentation.ts:294
↓ 1 callers
Function
agendaSeedWindows
Each role is inverted on the civil clock. Padding accounts for offset transitions; splitting retains the engine's 92-day window bound.
internal/store/agenda_roles.go:321
↓ 1 callers
Function
agendaStates
TASK-4104 D1: the agenda's expansion and its date-window clause. SQLite in make test, Postgres in make test-pg. agendaStates maps an entry's wall to i
internal/store/schedule_agenda_test.go:16
↓ 1 callers
Function
agendaString
(s string)
internal/server/handlers_me_agenda_test.go:580
↓ 1 callers
Function
agendaTypeOrder
(kind string)
internal/server/handlers_agenda.go:368
↓ 1 callers
Function
agendaTzIsText
agendaTzIsText refuses a non-string tz: tz is the only other optional member, and a non-string would be dropped by the route's query mapper and sent a
internal/mcp/catalog_item_schedule.go:341
↓ 1 callers
Function
agentBadges
Actor badges in the Recent Activity list, in render order.
web/src/routes/workspaceDashboardAgentName.svelte.test.ts:97
↓ 1 callers
Function
agentCmd
()
cmd/pad/groups.go:199
↓ 1 callers
Function
agentGuideCmd
()
cmd/pad/cmd_agent.go:15
↓ 1 callers
Function
agentNamesByID
(comments []models.Comment)
internal/store/comments_agent_name_test.go:48
↓ 1 callers
Function
agentStatusCmd
()
cmd/pad/groups.go:245
↓ 1 callers
Function
agentTrue
(s *Store)
internal/store/notifications_test.go:206
↓ 1 callers
Function
agentUpdateCmd
()
cmd/pad/groups.go:231
↓ 1 callers
Function
agrees
(a: string | undefined, b: string | undefined)
web/src/lib/components/timeline/historyEvents.ts:138
↓ 1 callers
Function
alertText
()
web/src/lib/components/timeline/timelineVersionCardRestoreError.svelte.test.ts:83
↓ 1 callers
Function
alerts
()
web/src/routes/(console)/needs/needsPage.svelte.test.ts:946
↓ 1 callers
Function
align
LCS of live (minus a trailing empty paragraph) against a; returns a→live index map.
web/src/lib/collab/patchApply.ts:141
↓ 1 callers
Function
allDigits
(r string)
internal/logging/scrub.go:117
↓ 1 callers
Function
allViolations
The document-level violations, plus the instrument's worker-scope ones.
web/e2e/attachment-pdf-preview.spec.ts:181
↓ 1 callers
Function
allWorkspacesCount
(t *testing.T, srv *Server)
internal/server/bug3353_legacy_token_test.go:56
↓ 1 callers
Method
allowChatDM
TASK-4039: charge only valid DM-create attempts after checking for reuse.
internal/server/middleware_ratelimit.go:959
↓ 1 callers
Method
allowChatSend
TASK-4039: human sends use only the general API limit. Membership is checked by the handler before this helper may allocate an agent bucket.
internal/server/middleware_ratelimit.go:946
↓ 1 callers
Function
allowListAt
allowListAt presents token to /mcp and returns the workspace allow-list the gate stashed (nil = unrestricted).
internal/server/bug3337_connection_authoritative_test.go:83
↓ 1 callers
Function
allowedAppCommentWrite
U2b (TASK-3391): app comment writes. Every mutation runs under the write census, and every refusal must capture NOTHING. allowedAppCommentWrite is DOC
internal/appstore/comments_test.go:27
↓ 1 callers
Function
allowedAppWrite
allowedAppWrite is DOC-3371 §4's allowed-writes table for item writes. On SQLite the FTS5 shadow tables of items_fts are observed by name.
internal/appstore/items_test.go:90
↓ 1 callers
Method
allowedFrom
(state string)
internal/store/app_lifecycle.go:64
↓ 1 callers
Function
allowedFuncValue
allowedFuncValue: the call's callee is a variable named on allowedFuncValues for the unit being walked.
internal/appstore/boundary_check_test.go:515
↓ 1 callers
Method
allows
(collectionID, itemID string)
internal/server/handlers_watch_access.go:107
↓ 1 callers
Function
analyseFile
(path: string)
web/src/lib/components/items/childIdentityFencePopulation.test.ts:653
↓ 1 callers
Function
analysisReport
(table: GateTable, code: string, extraNested: SignedRow[] = [])
web/src/test/identityFenceGate.ts:683
↓ 1 callers
Function
anchorOffset
(page: Page)
web/e2e/chat-shell.spec.ts:90
↓ 1 callers
Function
anchorTitle
(coll: Coll)
web/e2e/permission-walk-collections.spec.ts:94
↓ 1 callers
Function
anchors
(html: string)
web/src/lib/utils/markdown.linkOpener.svelte.test.ts:10
↓ 1 callers
Function
announceAttachmentDeleted
(workspaceSlug: string, uuid: string)
web/src/lib/attachments/events.ts:63
↓ 1 callers
Function
announceAttachmentParentRestored
(workspaceSlug: string, itemId: string)
web/src/lib/attachments/events.ts:140
↓ 1 callers
Function
announceCaptured
(item: Captured, url: string)
web/src/lib/items/quickCapture.ts:21
↓ 1 callers
Method
announceDeadlineLapse
announceDeadlineLapse does for a lapse what recordScheduleWrite does for a user's resolve, so an open view drops the closed occurrence instead of answ
internal/server/reminder_tick.go:191
↓ 1 callers
Function
announceRestore
(itemId = 'item-A', workspaceSlug = 'ws')
web/src/lib/components/editor/attachmentImageMissing.svelte.test.ts:350
↓ 1 callers
Function
announceRestore
(itemId = 'item-A', workspaceSlug = 'ws')
web/src/lib/components/editor/attachmentChipPanel.svelte.test.ts:283
↓ 1 callers
Function
announcesPanel
* What activation would open, as far as anything KNOWN says. Unprobed * reads as the viewer — "not yet asked" is not "not viewable", and the *
web/src/lib/components/editor/attachment-image.ts:440
↓ 1 callers
Function
answer
(index: number, who: string)
web/src/routes/[username]/[workspace]/settings/settingsLoadIdentityOrder.svelte.test.ts:167
↓ 1 callers
Function
answer
()
web/src/lib/components/collections/schemaEditImpact.svelte.test.ts:138
↓ 1 callers
Function
answer
(ok: boolean)
web/src/lib/stores/confirmDialog.svelte.ts:38
↓ 1 callers
Function
answer
(overwrite: boolean)
web/src/lib/stores/pendingEditsDialog.svelte.ts:60
↓ 1 callers
Function
answerApplierRequests
BUG-3749: an applier ack resolved as persisted when no frame of its apply bracket was frozen-dropped, without asking whether the append FAILED. A fail
internal/collab/bug3749_applier_ack_durable_test.go:20
↓ 1 callers
Method
answerBarrier
answerBarrier acknowledges a client's barrier (BUG-3523). readLoop handles frames in order, so every sync frame this conn sent before the barrier has
internal/collab/room.go:1033
↓ 1 callers
Function
answersAsStub
answersAsStub: condition 2, the port echoes THIS test's random token, not merely any /stub/pid.
internal/buildtools/bug4066_harness_guard_test.go:219
← previous
next →
9,601–9,700 of 28,840, ranked by callers