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
↓ 2 callers
Function
tickDeadlineFixture
(t *testing.T)
internal/server/reminder_tick_deadline_test.go:16
↓ 2 callers
Function
tiedChildren
tiedChildren creates one child per title under a new parent and forces the same-second tie decompose produces: every child gets ONE created_at value (
internal/store/items_new_item_top_test.go:122
↓ 2 callers
Function
timeToRFCDatetimeStr
https://tools.ietf.org/html/rfc5545#section-3.3.5 DTSTART:19970714T133000 ; Local time DTSTART:19970714T173000Z
internal/schedule/internal/rrule/str.go:373
↓ 2 callers
Function
timelineIDsBySummary
BUG-2788: a timeline entry's id must not depend on its siblings. Both consequences on the item's trail are driven here through the real timeline build
internal/server/bug2788_entry_id_stability_test.go:20
↓ 2 callers
Function
timezoneLabel
--- init ---
cmd/pad/cmd_auth.go:1061
↓ 2 callers
Function
titleCaseLabel
titleCaseLabel converts a snake_case key into a Title Case label the same way the CLI does ("due_date" → "Due Date"). Avoids pulling in golang.org/x/t
internal/mcp/dispatch_http_routes.go:855
↓ 2 callers
Function
titleEditError
(sent: string, stored: string)
web/src/lib/items/titleLimit.ts:66
↓ 2 callers
Function
titleLimitError
(title: string)
web/src/lib/items/titleLimit.ts:49
↓ 2 callers
Function
toBool
(v any)
internal/mcp/dispatch.go:720
↓ 2 callers
Function
toEditorMarkdown
(stored: string, items: Item[], workspaceSlug: string, username?: string)
web/src/lib/utils/markdown.ts:948
↓ 2 callers
Function
toIdle
One cleanup, so every "give up on this entry" site leaves the same state.
web/src/lib/attachments/viewerTextLoader.svelte.ts:111
↓ 2 callers
Function
toIdle
()
web/src/lib/attachments/viewerBytesLoader.svelte.ts:75
↓ 2 callers
Function
toStringSlice
(v any)
internal/mcp/dispatch.go:667
↓ 2 callers
Function
toStrings
(t *testing.T, v any)
internal/mcp/transport_test.go:164
↓ 2 callers
Function
toWire
toWire converts a question to its provider representation. Criteria shape is per kind: option->description for choice, an ordered array for score, and
internal/decision/typesafe.go:291
↓ 2 callers
Function
toggle
* The avatar exposes the sheet state, so drive it through its real toggle and read * the toggle's `aria-expanded` — the user-visible truth.
web/src/routes/(console)/consoleShellEscape.svelte.test.ts:35
↓ 2 callers
Function
toggle
(c: HTMLElement)
web/src/lib/components/fields/FieldEditor.quickClicks.svelte.test.ts:76
↓ 2 callers
Function
toggleFitOrActual
(state: ZoomState, anchor: Point, g: Geometry)
web/src/lib/attachments/zoom.ts:388
↓ 2 callers
Function
tokenAccessWidens
(old, new tokenAccess)
internal/server/handlers_tokens.go:464
↓ 2 callers
Function
tokenListCmd
()
cmd/pad/cmd_token.go:113
↓ 2 callers
Function
tokenScopeDeniedPayload
buildAuthedRequest constructs an in-process HTTP request against the wrapped handler with the user attached via WithCurrentUser AND any caller-supplie
internal/mcp/dispatch_http.go:602
↓ 2 callers
Function
tokenWorkspaceDenial
tokenWorkspaceDenial describes why a token is refused a workspace: the message to say and the details to attach. details is nil for a token with no pi
internal/server/pinned_token.go:136
↓ 2 callers
Function
tokenizeBody
( msg: Pick<ChatMessage, 'body' | 'context_workspace' | 'deleted'>, refs: readonly ChatRef[] )
web/src/lib/chat/refs.ts:286
↓ 2 callers
Method
tombstone
(seq: number)
web/src/lib/stores/chatThread.property.svelte.test.ts:134
↓ 2 callers
Function
tool
(label: string, scope: HTMLElement = root())
web/src/lib/components/common/Lightbox.svelte.test.ts:4205
↓ 2 callers
Function
toolErrorCode
toolErrorCode reads the code and details.reason of a failed result's error envelope: the structured content when it has one, else the text rendering,
internal/mcp/audit_outcome.go:68
↓ 2 callers
Function
topEscapePriority
()
web/src/lib/stores/escapeStack.ts:73
↓ 2 callers
Function
topLevelValueProvided
topLevelValueProvided reports whether a top-level param VALUE counts as supplied for the duplicate checks below. An empty string does not. That is th
internal/mcp/catalog_item_fields.go:516
↓ 2 callers
Function
topRow
The first row showing at the top of the list's current scroller, and its viewport top.
web/e2e/bug-3165-list-scroll-after-expand.spec.ts:83
↓ 2 callers
Function
topSortOrder
topSortOrder is the sort_order of a new item landing above min. The reorder API accepts the INTEGER floor -2147483648, and min - 1 would overflow Post
internal/store/items.go:292
↓ 2 callers
Function
total
(c: Record<string, number>)
web/e2e/task-2224-sse-request-budget.spec.ts:160
↓ 2 callers
Method
totalChildRows
totalChildRows sums every seeded child row for a workspace, checking item-scoped tables against the original parent IDs so a leaked row is detectable
internal/store/workspace_purge_test.go:226
↓ 2 callers
Function
totpEnrolError
(err error)
cmd/pad/cmd_auth_2fa.go:159
↓ 2 callers
Function
touchCredentialsFile
touchCredentialsFile sets the save's open file's mtime to now (BUG-3838), through its descriptor only, so a path replaced or a symlink retargeted sinc
internal/cli/credentials_touch_unix.go:18
↓ 2 callers
Function
touchDrag
(page: Page, start: { x: number; y: number }, end: { x: number; y: number })
web/e2e/bug-3158-landscape-touch-drag.spec.ts:77
↓ 2 callers
Function
touches
A seed matches as a PREFIX (NewPostgres also matches NewPostgresBounded); a helper function name found by the fixpoint matches exactly.
scripts/pg-test-run.py:29
↓ 2 callers
Function
transform
The pannable content transform — the observable proof a pan moved anything.
web/src/lib/components/graph/ItemGraph.svelte.test.ts:81
↓ 2 callers
Function
trigger
()
web/src/lib/utils/throttledRefresh.ts:52
↓ 2 callers
Function
trimRedundantSchemaLabels
trimRedundantSchemaLabels parses the schema JSON, drops field labels equal to TitleCase(key), and re-marshals. Returns the original bytes verbatim on
internal/server/handlers_bootstrap.go:200
↓ 2 callers
Function
trueLit
(backend string)
internal/store/bug3136_step2_twin_test.go:237
↓ 2 callers
Function
truncateDecisionError
truncateDecisionError makes a failure message safe to record: valid UTF-8, NUL-free and at most maxDecisionErrorBytes. A provider's response body is a
internal/store/decisions.go:681
↓ 2 callers
Function
truncateTitle
truncateTitle limits an uncolorized, SGR-free title to maxRunes visible columns, appending an ellipsis when it had to cut. Callers strip SGR escapes f
internal/cli/format.go:203
↓ 2 callers
Function
tryTakeStreamSlot
* Take a free browser-wide stream slot, or answer null when all are held. * The returned function releases it. Never waits: ifAvailable.
web/src/lib/services/sse.svelte.ts:40
↓ 2 callers
Method
tutorialCatalogNow
tutorialCatalogNow returns the catalog, refreshing it when it is older than the TTL. One refresh runs at a time and never holds the lock while it wait
internal/server/tutorials.go:139
↓ 2 callers
Function
twinsInDest
The copy door and the visibility property (PLAN-2857 U6). These are legs that were missing, and they are the reason the property had to move INTO the
internal/server/relation_titles_copy_test.go:27
↓ 2 callers
Function
typeAndSend
(page: Page, text: string)
web/e2e/chat-thread-write.spec.ts:88
↓ 2 callers
Function
typeOf
()
internal/server/bug3417_null_lists_test.go:102
↓ 2 callers
Function
unauditedTables
unauditedTables lists base tables in the store's schema with no WORKING audit trigger. A same-named trigger only counts when it is enabled, statement-
internal/store/storetest/writecapture.go:215
↓ 2 callers
Function
uncheckedPatchUses
uncheckedPatchUses lists every reference to CreatePatch or CreateReversePatch through this file's import of the package: a call, a method value, under
internal/diff/bug3839_invalid_utf8_test.go:120
↓ 2 callers
Method
unclaim
(token string, ids []string)
internal/server/push_dispatch.go:688
↓ 2 callers
Function
uncollectableReason
( row: ItemCopyPreflightNeedsValue )
web/src/lib/items/copyNeedsValue.ts:85
↓ 2 callers
Function
unconfirmedAppendError
unconfirmedAppendError is the append path's post-write assertion failing: the server accepted the request but its response does not show the entry. It
cmd/pad/notes.go:249
↓ 2 callers
Function
unescapeMarkdownText
unescapeMarkdownText reverses CommonMark escape sequences in a captured label. Marked's tokenizer drops the backslash and emits the literal character,
internal/server/render/attachments.go:357
↓ 2 callers
Function
unguardedScriptExecs
unguardedScriptExecs scans Go source for every exec.Command or exec.CommandContext whose arguments include scriptPath( and returns the 1-based line of
internal/buildtools/bug4066_harness_guard_test.go:449
↓ 2 callers
Function
uniqueAgent
(tag: string)
web/e2e/chat-shell-layout.spec.ts:21
↓ 2 callers
Function
uniqueAgent
(tag: string)
web/e2e/chat-thread-write.spec.ts:23
↓ 2 callers
Function
uniqueCollectionConflictMessage
uniqueCollectionConflictMessage distinguishes the indexes a collection write can violate, because "a collection with this name already exists" is acti
internal/server/handlers_collections.go:762
↓ 2 callers
Function
uniqueEnforced
uniqueEnforced reports whether checkUniqueFields enforces def. The app installer's preview uses the same predicate (TASK-3397), so the two cannot disa
internal/server/handlers_items.go:4299
↓ 2 callers
Method
uniqueHolderQuery
uniqueHolderQuery finds one live item in the collection other than excludeItemID whose key holds val, by JSON type, identically on both dialects (BUG-
internal/store/unique_fields.go:218
↓ 2 callers
Function
uniqueStrings
(values []string)
internal/models/item.go:1287
↓ 2 callers
Function
unitRowIDs
(units []pushUnit)
internal/server/push_dispatch.go:648
↓ 2 callers
Function
unknownWorkspaceResult
unknownWorkspaceResult wraps a "workspace X doesn't exist" failure. Same available_workspaces enrichment as no_workspace. Empty slug emits a generic m
internal/mcp/errors.go:417
↓ 2 callers
Function
unmountTab
(t: Tab)
web/src/lib/collab/materializer/materializerParity.svelte.test.ts:185
↓ 2 callers
Function
unparentedEffective
(intent: boolean, metadataAvailable: boolean)
web/src/lib/collections/unparentedFilter.ts:103
↓ 2 callers
Method
unread
(ctx context.Context, agent string)
cmd/pad/cmd_watch_chat.go:19
↓ 2 callers
Function
unreadDividerIndex
(messages: readonly ChatMessage[], openReadSeq: number)
web/src/lib/chat/model.ts:26
↓ 2 callers
Function
unreadTotal
(request: APIRequestContext, f: Fixture)
web/e2e/chat-entries.spec.ts:36
↓ 2 callers
Function
unreadableFieldsBlob
unreadableFieldsBlob tags an append's fields-parse failure as ErrStructuredFieldUnreadable. The classification, not the failure, is what this changes
internal/models/item.go:1075
↓ 2 callers
Function
unreadableSource
r4-1: an unreadable outstanding occurrence must not be lost by a move. A copy still arms from the rule without reading the source occurrence.
internal/store/schedule_copy_r3_test.go:212
↓ 2 callers
Method
unrecordedSnapshot
unrecordedSnapshot returns the parked ids and each user's parked count. A parked row was delivered, so it counts toward that user's 30/h cap although
internal/server/push_dispatch.go:461
↓ 2 callers
Function
unsentIfNothingWritten
(cw *countingWriter, err error)
internal/appfetch/appfetch.go:451
↓ 2 callers
Function
unsupportedRebindForm
(lit string)
internal/store/bug3430_rebind_unsupported_forms_test.go:31
↓ 2 callers
Method
until
until converts UNTIL into the engine's time space: the instant for an elapsed rule, a UTC-labelled wall for the wall-clock path. A Z UNTIL is an insta
internal/schedule/engine.go:63
↓ 2 callers
Function
unusablePasswordHash
unusablePasswordHash is a random secret nobody keeps.
internal/store/account_claim.go:279
↓ 2 callers
Function
unwrap
(n: Node)
web/src/test/identityFenceAst.ts:851
↓ 2 callers
Function
up
(el: Element)
web/src/lib/utils/clickOutside.svelte.test.ts:20
↓ 2 callers
Function
updateAspectActive
()
web/src/lib/components/editor/attachment-crop-modal.ts:152
↓ 2 callers
Method
updateComment
updateComment is UpdateComment/UpdateCommentAs; a nil editor is the author.
internal/store/comments.go:220
↓ 2 callers
Method
updateCommitmentAt
(workspaceID, itemID string, upd models.ScheduleUpdate, partial *models.CommitmentRolesPatch, nowT time.Time)
internal/store/schedules.go:730
↓ 2 callers
Function
updatedChanges
PLAN-2348 checkpoint 2, defect 5. The timeline dropped two kinds of real field change: an "updated" row sharing its second with a version (so a status
internal/server/plan2348_timeline_drops_test.go:19
↓ 2 callers
Method
upgradeStateChecks
upgradeStateChecks runs, on q, the checks the diff cannot make alone because they read the workspace: every installed companion still resolves, and ev
internal/server/handlers_apps_upgrade.go:334
↓ 2 callers
Function
uploadAsGuestRepeated
uploadAsGuestRepeated is uploadAsGuestChannels with an arbitrary number of item_id values on each channel.
internal/server/handlers_attachments_test.go:156
↓ 2 callers
Function
uploadImportBundle
(opts: ImportUploadOptions)
web/src/lib/api/importUpload.ts:70
↓ 2 callers
Function
uploadPathWithItemIDs
uploadPathWithItemIDs appends any number of item_id query parameters.
internal/server/handlers_attachments_test.go:182
↓ 2 callers
Function
uploadRepeatedItemIDs
uploadRepeatedItemIDs drives the upload route with an arbitrary number of item_id values on each channel.
internal/server/handlers_attachments_test.go:596
↓ 2 callers
Method
upsertLinkOverrideTx
(tx *sql.Tx, linkID, key string, off *models.ScheduleLinkOffset, goneAt string)
internal/store/commitment_cascade.go:166
↓ 2 callers
Function
urlNamed
urlNamed reports a name that holds a URL (webhook_url, callbackUrl, http.url).
internal/logging/redaction.go:242
↓ 2 callers
Function
usableDimension
(value: number | null | undefined)
web/src/lib/attachments/viewerLoading.ts:54
↓ 2 callers
Function
usePad
($: any, command = 'pad bootstrap --format json')
plugin/tests/watch.test.ts:67
↓ 2 callers
Function
userActorLabel
userActorLabel is the created_by this door writes on note/decision entries: the requesting user's name, falling back to email, so audit-log review can
internal/mcp/dispatch_http_project.go:564
↓ 2 callers
Method
userDisplayTx
userDisplayTx returns a user's display name, or "" when the account is gone.
internal/store/app_projection.go:150
↓ 2 callers
Function
userGone
userGone is a writer's loss when a row it reads first (its user, its grant) was deleted by the account deletion. Matched on the sentinel, not on messa
internal/store/delete_account_writer_lockorder_test.go:322
↓ 2 callers
Method
userKindQ
userKindQ returns a user's kind, or "" when the row is gone.
internal/store/app_principal.go:26
↓ 2 callers
Function
utf8Bytes
(s: string)
web/src/lib/chat/compose.ts:22
↓ 2 callers
Function
validCursorID
validCursorID reports whether a caller-supplied `before_id` can be bound into the cursor predicate at all. The rule is derived from what the database
internal/server/handlers_timeline.go:837
↓ 2 callers
Function
validImportedBuiltinOrigin
validImportedBuiltinOrigin is Validate plus the check Validate leaves to collections: seed text a bundle carries must hash to the seed hash it carries
internal/store/builtin_origin.go:15
↓ 2 callers
Function
validOAuthSubject
validOAuthSubject accepts a provider account id: 1-255 bytes, no control characters (TASK-3351). The column has no database NUL trigger, so this door
internal/server/handlers_cloud.go:43
↓ 2 callers
Function
validTarHeader
validTarHeader recognises a POSIX ustar archive by the magic at offset 257. TWO KINDS OF FILE ARE DELIBERATELY NOT RECOGNISED, and both are refusals
internal/attachments/mime_magic.go:184
↓ 2 callers
Method
validateAssignmentScopeQ
validateAssignmentScopeQ is validateAssignmentScope parameterized over the query surface so the same two checks can run inside a caller's transaction
internal/store/items.go:61
↓ 2 callers
Method
validateCalendarView
validateCalendarView refuses (400) a calendar view whose config does not name usable fields of coll. Any other view_type is not checked. It writes the
internal/server/handlers_views.go:133
← previous
next →
8,801–8,900 of 28,840, ranked by callers