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
typeQuery
(value: string)
web/src/lib/components/fields/FieldEditor.relation.svelte.test.ts:378
↓ 1 callers
Function
typed
(id: string, v: string)
web/src/routes/join/[code]/joinConsent.svelte.test.ts:329
↓ 1 callers
Function
tzCloseServer
tzCloseServer closes the helper's current stub server. httptest.Server.Close returns only after every connection goroutine is done, which orders their
cmd/pad/task4101_timezone_test.go:43
↓ 1 callers
Function
uint64Int64
uint64Int64 converts an unsigned value that fits int64 and refuses a larger one, rather than wrapping it negative (BUG-4065, from BUG-4061's note).
internal/mcp/dispatch_http_routes.go:1926
↓ 1 callers
Function
unblockCmd
()
cmd/pad/cmd_item.go:3802
↓ 1 callers
Function
undeclaredFilterKeys
(h http.Header)
internal/cli/client.go:484
↓ 1 callers
Function
undecryptableTOTPUser
BUG-4019: a user read no longer decrypts the TOTP secret. A secret that will not decrypt (an operator key change) must fail the second-factor check al
internal/store/bug4019_totp_lazy_decrypt_test.go:20
↓ 1 callers
Method
under
under requires raw to be an https URL on exactly the manifest's origin.
internal/appmanifest/manifest.go:396
↓ 1 callers
Function
underPath
underPath reports whether u's path lies under prefix, by whole segments. A path carrying dot segments or percent-encoding is refused outright: a serve
internal/appfetch/appfetch.go:424
↓ 1 callers
Function
unescapeMarkdownLinkText
(s: string)
web/src/lib/utils/markdown.ts:1209
↓ 1 callers
Function
unescapeWikiBody
(s: string)
web/src/lib/chat/refs.ts:190
↓ 1 callers
Method
unfreezeAndReleaseAppend
unfreezeAndReleaseAppend reverses the freeze applied at the top of ForceRefreshRoom on a genuine rollback: it clears every conn's frozen flag (peers r
internal/collab/manager.go:1383
↓ 1 callers
Function
unguardedFlag
(t *testing.T, res *CallToolResult)
internal/mcp/plan3555_replace_test.go:32
↓ 1 callers
Function
unimplementsCmd
()
cmd/pad/lineage.go:110
↓ 1 callers
Function
uniqueAgent
(tag: string)
web/e2e/chat-thread-read.spec.ts:29
↓ 1 callers
Function
uniqueAgent
(tag: string)
web/e2e/chat-thread-refs.spec.ts:32
↓ 1 callers
Function
uniqueAgent
(tag: string)
web/e2e/chat-phone-sheet.spec.ts:22
↓ 1 callers
Function
uniqueAgent
(tag: string)
web/e2e/chat-shell.spec.ts:25
↓ 1 callers
Function
uniqueKey
uniqueKey returns name, or name#n for the first n that is free in out. The key is at most maxMapKeyBytes, so the probe is cheap.
internal/logging/scrub.go:269
↓ 1 callers
Method
uniqueWorkspaceSlug
uniqueWorkspaceSlug probes on the caller's executor for the same reason createWorkspaceQ does: inside an import it must see that transaction's own unc
internal/store/workspaces.go:255
↓ 1 callers
Function
unitRoots
(u: Unit)
web/src/test/identityFenceGate.ts:457
↓ 1 callers
Function
unknown
()
cmd/pad/bug3476_import_watch_test.go:93
↓ 1 callers
Function
unloadLosesEdits
(input: { rawDirty: boolean; unsentLocalEdits: boolean; recovery: OfflineRecovery | null; })
web/src/lib/collab/offlineEdits.ts:33
↓ 1 callers
Function
unnamedFileInputs
(file: string)
web/src/lib/a11y/selectsHaveNames.test.ts:84
↓ 1 callers
Function
unnamedPlaceholderFields
(file: string)
web/src/lib/a11y/selectsHaveNames.test.ts:75
↓ 1 callers
Function
unnamedSelects
(file: string)
web/src/lib/a11y/selectsHaveNames.test.ts:74
↓ 1 callers
Function
unparentedConfirmedRestricted
(metadataKnownFalse: boolean, pendingResync: boolean)
web/src/lib/collections/unparentedFilter.ts:90
↓ 1 callers
Function
unquotedEnd
unquotedEnd is the end of a bare value: up to whitespace or a delimiter.
internal/logging/scrub.go:415
↓ 1 callers
Method
unread
(ctx context.Context, agent string)
cmd/pad/cmd_watch_chat.go:77
↓ 1 callers
Function
unreadTotal
(request: APIRequestContext, f: Fixture)
web/e2e/chat-mobile-nav.spec.ts:33
↓ 1 callers
Function
unremindCmd
()
cmd/pad/cmd_reminder.go:235
↓ 1 callers
Function
unresolved
(ref: string)
web/src/lib/stores/chatThread.svelte.test.ts:1636
↓ 1 callers
Function
unsplitCmd
()
cmd/pad/lineage.go:78
↓ 1 callers
Function
unstampedFor
(id: string)
web/src/routes/[username]/[workspace]/[collection]/collectionIdentityFence.svelte.test.ts:1268
↓ 1 callers
Function
unstarCmd
()
cmd/pad/cmd_item.go:4481
↓ 1 callers
Function
unsupersedeCmd
()
cmd/pad/lineage.go:94
↓ 1 callers
Function
unsupportedKey
(param, key string)
internal/models/view_calendar.go:56
↓ 1 callers
Function
untouched
(strip: Element)
web/src/lib/components/connectWorkspaceModalTabs.svelte.test.ts:94
↓ 1 callers
Function
unwiredChatAnchors
(text: string)
web/src/test/linkCensusScan.ts:50
↓ 1 callers
Function
updateArgumentsInBody
(body: string, args: PlaybookArgument[])
web/src/lib/playbooks/arguments.ts:186
↓ 1 callers
Function
updateAutoScroll
(clientY: number)
web/src/lib/components/editor/block-drag-handle.ts:700
↓ 1 callers
Function
updateCalls
The argument text of each `.update(` call on api.items, by paren matching.
web/src/lib/components/items/itemDetailContentWritesRefusePending.test.ts:18
↓ 1 callers
Function
updateFieldBody
()
web/src/lib/components/items/itemDetailSendsSeqToken.test.ts:19
↓ 1 callers
Function
updateIsUnguarded
updateIsUnguarded reports whether an update carries neither a version token nor the deliberate-overwrite opt-out.
internal/server/content_write_guard.go:68
↓ 1 callers
Method
updateItemWithParentLinkOnce
( id string, input models.ItemUpdate, precheck func(tx *sql.Tx, existing *models.Item) error, parentLink *
internal/store/items.go:2856
↓ 1 callers
Method
updateLinksInTx
(tx *sql.Tx, workspaceID, oldTitle, newTitle string)
internal/store/documents.go:637
↓ 1 callers
Function
updateWarning
()
web/src/lib/components/editor/extensions/htmlBlock.ts:300
↓ 1 callers
Function
updateWriteKind
updateWriteKind classifies an item update. An update that only appends (implementation notes, decisions, a comment) or carries nothing a later write c
internal/server/content_write_guard.go:53
↓ 1 callers
Function
upgrade
(db)
web/src/test/idbHarness.ts:67
↓ 1 callers
Function
upgradeConflictErr
(err error)
internal/server/handlers_apps_upgrade.go:358
↓ 1 callers
Function
upgradePlanFrom
upgradePlanFrom turns a re-derived diff into what the store writes.
internal/server/handlers_apps_upgrade.go:269
↓ 1 callers
Function
upgradePreview
(diff: unknown[])
web/src/lib/components/settings/apps/AppsTab.svelte.test.ts:279
↓ 1 callers
Function
upgradeSortedKeys
(m map[string]V)
internal/server/app_upgrade_diff.go:328
↓ 1 callers
Function
upload
* Upload a file via multipart POST. Returns the persisted * attachment metadata + the canonical download URL. * * @param workspaceSlug works
web/src/lib/api/client.ts:3494
↓ 1 callers
Function
uploadAsGuest
uploadAsGuest drives handleUploadAttachment directly with a synthesized request context (workspace + guest user + "guest" role), mirroring the direct-
internal/server/handlers_attachments_test.go:135
↓ 1 callers
Function
uploadFailedMessage
(filename: string, message: string)
web/src/lib/components/editor/attachment-upload.ts:117
↓ 1 callers
Function
uploadFallbackFileTo
* Upload a NON-image bound to `itemId`, of a type NO RENDERER CLAIMS — so the * surface it opens is the no-bytes fallback arm. * * WAS `text/plain`
web/e2e/item-attachment-strip.spec.ts:99
↓ 1 callers
Method
uploadInFlight
uploadInFlight reports whether any upload is currently materializing a blob with the given hash. The orphan GC consults this before deleting a blob —
internal/server/server.go:1358
↓ 1 callers
Function
uploadIntoTextarea
( files: File[], textarea: HTMLTextAreaElement, wsSlug: string, handle: TextareaUploadHandle )
web/src/lib/utils/commentAttachments.ts:115
↓ 1 callers
Function
uploadTo
Upload a PNG bound to `itemId`, so it lands in that item's strip.
web/e2e/item-attachment-strip.spec.ts:61
↓ 1 callers
Function
uploaded
(id: string)
web/src/lib/components/items/ItemAttachmentStrip.svelte.test.ts:1607
↓ 1 callers
Function
upsert
* Single-item upsert. Used by SSE handlers and the optimistic * post-mutation path (e.g. after `api.items.update` returns a full * `Item`, the cal
web/src/lib/stores/localIndex.svelte.ts:2113
↓ 1 callers
Function
upstreamHintFor
upstreamHintFor generates the actionable hint for ErrUpstreamError. 5xx responses are usually transient; the hint encodes that bias.
internal/mcp/errors.go:1739
↓ 1 callers
Function
url
(id: string)
web/src/lib/components/editor/attachment-metadata.test.ts:16
↓ 1 callers
Function
urlForScheme
(v: string)
web/src/routes/s/[token]/task3798ShareXssPayloads.svelte.test.ts:84
↓ 1 callers
Function
urlKey
()
web/src/lib/stores/chatSurface.svelte.ts:554
↓ 1 callers
Method
urlText
urlText is text for a url-named value: reduced to its host, out of the same byte budget as any other string.
internal/logging/scrub.go:651
↓ 1 callers
Function
usable
True only for a measurement that can be divided by.
web/src/lib/attachments/zoom.ts:182
↓ 1 callers
Function
usage
(stage: Record<string, number>, note = 0)
web/src/lib/components/collections/schemaEditImpact.svelte.test.ts:76
↓ 1 callers
Function
usage
(used: number)
web/src/lib/components/settings/StorageTab.svelte.test.ts:86
↓ 1 callers
Function
usePad
($: any)
plugin/tests/seen.test.ts:87
↓ 1 callers
Function
useViewportFit
()
web/src/lib/chat/viewportOwner.svelte.ts:9
↓ 1 callers
Function
usedWords
usedWords is the set of values for key the given writes carry, plus what the blank template seeded: the options must end EXACTLY there.
internal/server/bug3446_blank_library_options_test.go:101
↓ 1 callers
Function
user
(id: string)
web/src/lib/stores/authIdentityChange.svelte.test.ts:19
↓ 1 callers
Function
user
(id: string)
web/src/lib/stores/authIdentityEpoch.svelte.test.ts:18
↓ 1 callers
Method
user
(name string)
internal/server/task3939b_push_fixture_test.go:122
↓ 1 callers
Function
userCells
The user column is the second cell of each body row.
web/src/routes/(console)/settings/admin/auditLogAgentName.svelte.test.ts:67
↓ 1 callers
Function
userIDKeyPrefix
(userID string)
internal/server/session_presence_keys_test.go:17
↓ 1 callers
Function
userId
(account: Account)
web/e2e/workspace-tabs.spec.ts:547
↓ 1 callers
Function
usernameCandidate
usernameCandidate is base for n == 1, else base-n, with base cut short so the result stays within maxUsernameLen.
internal/store/account_claim.go:186
↓ 1 callers
Function
usesPad
(e)
plugin/hooks/register.js:1117
↓ 1 callers
Function
utf16Len
utf16Len is the length JavaScript reports for s.
internal/cli/activity_changes.go:67
↓ 1 callers
Function
utf8Bytes
(s: string)
plugin/tests/seen.test.ts:13
↓ 1 callers
Method
valid
()
internal/server/authz_cross_workspace.go:382
↓ 1 callers
Function
validArgName
validArgName returns true if s looks like an ordinary identifier-style arg name. Used to reject embedded flag fragments and prose that the regex would
internal/cmdhelp/json.go:368
↓ 1 callers
Function
validBzip2Stream
validBzip2Stream recognises a bzip2 stream by "BZh" and its block-size digit. It does NOT decompress. An earlier version decoded through the standard
internal/attachments/mime_magic.go:162
↓ 1 callers
Function
validCFBHeader
validCFBHeader recognises a Compound File Binary container by its eight-byte signature (MS-CFB §2.2). It is the container legacy Office wrote .doc, .x
internal/attachments/mime_magic.go:390
↓ 1 callers
Function
validCalendarFeedToken
(token string)
internal/store/calendar_feeds.go:35
↓ 1 callers
Function
validCursorItemID
validCursorItemID accepts the store's ids (UUIDs) and nothing that could not be one: 1 to 64 characters of letters, digits and hyphens.
internal/needs/cursor.go:107
↓ 1 callers
Function
validFLACStream
validFLACStream recognises a native FLAC stream by its four-byte "fLaC" marker (RFC 9639 §8.1). Four bytes is a wider signature than the stdlib uses
internal/attachments/mime_magic.go:152
↓ 1 callers
Function
validImportBundle
validImportBundle is failingImportBundle with the slug collision removed and nothing else changed, so a retry differs from the failed attempt in exact
internal/store/import_workspace_husk_test.go:66
↓ 1 callers
Function
validRTFStream
validRTFStream recognises Rich Text Format by its opening "{\rtf1" (the RTF specification's required version-1 header). Unlike the CFB header above t
internal/attachments/mime_magic.go:403
↓ 1 callers
Function
validSevenZipHeader
validSevenZipHeader recognises a 7z archive by its six-byte signature. There was a start-header CRC check here. It is gone with the rest of the struc
internal/attachments/mime_magic.go:141
↓ 1 callers
Function
validSubscriptionID
--- Admin Plan Endpoint (TASK-431) --- validSubscriptionID accepts "" or a Stripe-shaped id (sub_...): letters, digits, '_' and '-', at most 255 bytes
internal/server/handlers_cloud.go:553
↓ 1 callers
Method
validate
()
internal/appmanifest/manifest.go:171
↓ 1 callers
Method
validateAssignmentScope
validateAssignmentScope checks that the assigned user and agent role belong to the same workspace as the item. This prevents cross-workspace assignmen
internal/store/items.go:47
↓ 1 callers
Function
validateBounds
validateBounds checks the RRule's options are within the boundaries defined in RRFC 5545. This is useful to ensure that the RRule can even have any ti
internal/schedule/internal/rrule/rrule.go:274
↓ 1 callers
Function
validateCarriedRoles
(r *models.ScheduleRolesExport)
internal/store/schedule_carry_v2.go:18
↓ 1 callers
Method
validateConsentCSRFToken
validateConsentCSRFToken implements the form-bound double-submit pattern. Reads the __Host-pad_csrf cookie, reads the csrf_token form field, compares
internal/server/handlers_oauth.go:2403
↓ 1 callers
Function
validateExample
(path string, idx int, ex Example, doc *Document, root *cobra.Command)
internal/cmdhelp/example_validation.go:44
← previous
next →
15,001–15,100 of 28,840, ranked by callers