MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 1 callersFunctionisAppTokenDenial
isAppTokenDenial reports whether an introspection error is one of its named refusals, rather than a failure reading the token's state.
internal/server/app_api.go:720
↓ 1 callersFunctionisAppendOnlyUpdate
isAppendOnlyUpdate reports whether in carries nothing but appends (and source, which every CLI write stamps). It compares against the zero update so a
internal/server/idempotency_keys.go:116
↓ 1 callersFunctionisAttachmentIconId
(id: string)
web/src/lib/attachments/icons/index.ts:120
↓ 1 callersFunctionisAttrArg
isAttrArg reports whether e is a slog.Attr: a slog.String(...) style call or a slog.Attr literal.
internal/logging/redaction_followups_test.go:539
↓ 1 callersFunctionisAuthMethod
(value: unknown)
web/src/lib/auth/lastMethod.ts:34
↓ 1 callersFunctionisAutosave
(e: TimelineEntry)
web/src/lib/components/timeline/historyEvents.ts:169
↓ 1 callersFunctionisAutosaveVersion
isAutosaveVersion reports whether an entry is a collab-snapshot version row (the web editor's 5s auto-flush). These are the only versions we collapse
internal/server/handlers_timeline.go:644
↓ 1 callersFunctionisBlankLineAt
isBlankLineAt returns true if the line starting at byte position `pos` contains only whitespace (space or tab) before its newline, or runs to EOF with
internal/links/extract.go:459
↓ 1 callersFunctionisBlankLineAt
(content: string, pos: number)
web/src/lib/chat/refs.ts:124
↓ 1 callersFunctionisBootstrapReactive
()
web/src/test/reactiveBootstrapMock.svelte.ts:57
↓ 1 callersFunctionisCLIClient
isCLIClient reports whether the request marked itself as the pad CLI (X-Pad-Client: cli), whose sign-ins mint CLI sessions (BUG-3350). The marker can
internal/server/handlers_account.go:55
↓ 1 callersFunctionisCanonicalHead
(r: Request)
web/e2e/attachment-surface-chrome.spec.ts:378
↓ 1 callersFunctionisCaptureRef
(n: Node, decls: Declarations, params: ReadonlyMap<string, CaptureKind | null>, kind: CaptureKind)
web/src/test/identityFenceAst.ts:547
↓ 1 callersFunctionisCategorical
(field: FieldDef)
web/src/lib/components/share/shareView.ts:504
↓ 1 callersFunctionisChatKey
(key: string)
web/src/lib/chat/chatRecords.ts:21
↓ 1 callersFunctionisClosedDone
(done <-chan struct{})
cmd/loadtest-collab/main.go:312
↓ 1 callersFunctionisClosingFence
isClosingFence checks if line closes a fenced code block opened with `fenceLen` of `fenceChar`. The closing fence must be at least as long as the open
internal/server/render/attachments.go:545
↓ 1 callersFunctionisComment
(line: string)
web/src/lib/billing/noCommerceOutsideGate.test.ts:74
↓ 1 callersFunctionisComment
(line: string)
web/src/lib/billing/getpadLinksClassified.test.ts:67
↓ 1 callersFunctionisCommitNode
(n: Node)
web/src/lib/components/items/childIdentityFencePopulation.test.ts:784
↓ 1 callersMethodisCompactedOrUnknown
(itemID string)
internal/server/oplog_compaction.go:189
↓ 1 callersFunctionisCompleted
(entry: AgendaEntry)
web/src/lib/calendar/presentation.ts:95
↓ 1 callersFunctionisConflict
(e: unknown)
web/src/lib/items/fieldWriteOrder.test.ts:21
↓ 1 callersFunctionisConflictOrNotFound
* True when `err` is either an optimistic-concurrency 409 OR a rename-induced * 404 — the two ways a concurrent collection change can defeat a slug-t
web/src/lib/api/client.ts:434
↓ 1 callersFunctionisCount
(v)
web/scripts/ci-audit.mjs:67
↓ 1 callersFunctionisCreateEvent
(ev: HistoryEvent)
web/src/lib/components/timeline/historyEvents.ts:329
↓ 1 callersFunctionisDatabaseBusyError
True for the retryable `database_busy` 503 (TASK-4278).
web/src/lib/api/client.ts:338
↓ 1 callersFunctionisDecimalLiteral
isDecimalLiteral reports whether s is a plain decimal number: an optional sign, digits with at most one '.', and at most one exponent ('e' or 'E', an
internal/mcp/dispatch_http_routes.go:2029
↓ 1 callersFunctionisDecodeCall
isDecodeCall reports whether call is a JSON decode — a call to encoding/json.Unmarshal or to a Decode method on its Decoder, DIRECTLY or through a fun
internal/models/reserved_field_decode_guard_test.go:445
↓ 1 callersFunctionisDoor
isDoor: BeginFenced and every FencedTx method, the reviewed code that holds the transaction handle.
internal/appstore/boundary_check_test.go:541
↓ 1 callersFunctionisDown
(s: SSEStatus)
web/src/lib/services/connectivity.svelte.ts:43
↓ 1 callersFunctionisDurable
* Is this result a DURABLE fact worth keeping for the page's lifetime? * * `mime` and `size` are durable — the row is content-addressed. `derived` i
web/src/lib/components/editor/attachment-metadata.ts:174
↓ 1 callersFunctionisEditsNotStoredRefusal
(err: unknown)
web/src/lib/items/contentWrite.ts:91
↓ 1 callersFunctionisEmptyParagraph
(n: PMNode)
web/src/lib/collab/patchApply.ts:136
↓ 1 callersFunctionisEncodedString
(t *testing.T, fieldsJSON, key string)
internal/mcp/dispatch_http_stored_state_test.go:81
↓ 1 callersFunctionisErrorIface
(t types.Type)
internal/appstore/boundary_check_test.go:600
↓ 1 callersFunctionisExcluded
(plugin: Plugin)
web/src/lib/collab/canonicalMarkdown.ts:39
↓ 1 callersFunctionisFenceLine
(line: string)
web/src/lib/components/editor/extensions/frontmatter.ts:67
↓ 1 callersFunctionisFocusable
(page: Page, selector: string)
web/e2e/lib/attachment-viewer.ts:701
↓ 1 callersFunctionisForeignKeyViolation
isForeignKeyViolation is isUniqueViolation's twin for a foreign-key refusal (SQLite: FOREIGN KEY constraint failed; PostgreSQL: violates foreign key c
internal/store/items.go:740
↓ 1 callersFunctionisForeignKeysOff
isForeignKeysOff reports whether a PRAGMA statement disables foreign keys. Matches the canonical forms used in migrations 022 and 055 plus the common
internal/store/store.go:1406
↓ 1 callersFunctionisFuncType
(t types.Type)
internal/appstore/boundary_check_test.go:524
↓ 1 callersFunctionisGammaFlush
(r: PWRequest)
web/e2e/version-restore-collab.spec.ts:294
↓ 1 callersFunctionisGenerationRead
(n: Node)
web/src/test/identityFenceAst.ts:372
↓ 1 callersFunctionisGenericUnit
isGenericUnit: a function or method with type parameters, its own or its receiver's.
internal/appstore/boundary_check_test.go:505
↓ 1 callersFunctionisIconId
(id: string)
web/src/lib/attachments/icons/index.ts:125
↓ 1 callersFunctionisIdentifier
isIdentifier is a SemVer identifier: non-empty, [0-9A-Za-z-] only.
internal/cli/skillstamp.go:219
↓ 1 callersFunctionisIdentity
(order []int)
internal/store/version_tie_diagnostic.go:432
↓ 1 callersFunctionisImage
(mime: string)
web/src/lib/attachments/display.ts:256
↓ 1 callersFunctionisImageMime
(mime: string | null | undefined)
web/src/lib/markdown/attachments.ts:130
↓ 1 callersFunctionisIndex
(x: Node)
web/src/lib/eachKeyCensus.test.ts:98
↓ 1 callersFunctionisInert
Whether the element, or any ancestor, is inert.
web/e2e/task-3520-covered-page-inert.spec.ts:21
↓ 1 callersFunctionisItemPatch
(route: Route, itemId: string)
web/e2e/bug-3036-item-snapshot-order.spec.ts:80
↓ 1 callersFunctionisJSONDecodeFunc
isJSONDecodeFunc reports whether fn is encoding/json's Unmarshal, or the Decode method on its Decoder. By CALLEE IDENTITY rather than by the receiver
internal/models/reserved_field_decode_guard_test.go:484
↓ 1 callersFunctionisKeyChar
(c byte)
internal/logging/scrub.go:286
↓ 1 callersFunctionisLeap
year -> 1 if leap year, else 0."
internal/schedule/internal/rrule/util.go:33
↓ 1 callersFunctionisLetter
(c byte)
internal/logging/scrub.go:305
↓ 1 callersFunctionisLineStart
isLineStart returns true when the character at byte position i is preceded by a newline (with arbitrary leading whitespace allowed between the newline
internal/mcp/errors.go:976
↓ 1 callersFunctionisLiteralAssignment
* A plain `=` whose right-hand side is a LITERAL (`false`, `null`, `0`, `''`). * Template literals are not `Literal` nodes and do not qualify: `${x}`
web/src/lib/components/items/childIdentityFencePopulation.test.ts:691
↓ 1 callersFunctionisLoopbackHost
isLoopbackHost reports whether h is "localhost" or a loopback IP.
internal/server/middleware_mcp_host.go:197
↓ 1 callersFunctionisLowerHex
(s string)
internal/store/verifications.go:213
↓ 1 callersFunctionisMCPPath
isMCPPath reports whether a request is for MCP's streamable HTTP (/mcp and mcp/chatgpt), by the escaped path, as ownsWriteDeadline reads it.
internal/server/middleware_write_deadline.go:82
↓ 1 callersFunctionisMarkdownAttachment
( mime: string | null | undefined, filename?: string | null )
web/src/lib/attachments/display.ts:518
↓ 1 callersFunctionisMentionShape
isMentionShape reports whether name (already lowercased) has the shape of a valid username.
internal/links/mentions.go:43
↓ 1 callersFunctionisModal
(el: Element)
web/src/lib/a11y/viewerBackdrop.svelte.test.ts:61
↓ 1 callersFunctionisMutatingMethod
isMutatingMethod reports whether an HTTP method can mutate server state. The verified-email gate only fires on these; reads pass through so an unverif
internal/mcp/dispatch_http.go:615
↓ 1 callersFunctionisMutatingMethod
isMutatingMethod reports whether an HTTP method can mutate server state. The verified-email gate only fires on these — reads (GET / HEAD / OPTIONS) st
internal/server/middleware_verified_email.go:49
↓ 1 callersFunctionisNULEscapeHex
isNULEscapeHex reports whether the four hex digits of a \uXXXX escape name U+0000. No case folding, and that is not an oversight: the only spelling o
internal/textguard/repair.go:143
↓ 1 callersFunctionisNamedPathSegment
isNamedPathSegment reports whether a path segment plainly names something: only RFC 3986 unreserved characters, and not empty or a dot segment. The na
internal/server/middleware_auth.go:1469
↓ 1 callersFunctionisNetworkUnreachable
(err: unknown)
web/src/lib/api/client.ts:721
↓ 1 callersFunctionisNumberOrNull
(v: unknown)
web/src/lib/attachments/events.ts:428
↓ 1 callersFunctionisOlderSnapshot
(current: Snapshot | null | undefined, incoming: Snapshot)
web/src/lib/items/itemSnapshotOrder.ts:41
↓ 1 callersMethodisOpen
(e store.BlocksEdge)
internal/server/needs_scorers.go:449
↓ 1 callersFunctionisOpenAPIJSON
isOpenAPIJSON returns true when the body is a JSON object that declares a top-level `openapi` (3.x) or `swagger` (2.0) key. Other shapes (arrays, prim
internal/urlimport/detect.go:107
↓ 1 callersFunctionisOpenAPIYAML
isOpenAPIYAML returns true when one of the first ~8 KiB of unindented (top-level) lines starts with `openapi:` or `swagger:`. We don't pull in a YAML
internal/urlimport/detect.go:195
↓ 1 callersFunctionisOptionType
(t: string)
web/src/lib/components/collections/schemaEditImpact.ts:40
↓ 1 callersFunctionisOwnBody
( stored: string, own: readonly string[], canonicalize?: (markdown: string) => string | null, )
web/src/lib/items/rawBase.ts:77
↓ 1 callersMethodisOwnInstallBot
isOwnInstallBot reports whether user is the bot of client's install: the one subject an install client may hold a token for.
internal/server/app_tokens.go:127
↓ 1 callersFunctionisPage
(t?: { type?: string })
web/e2e/pane-content-link-anchors.spec.ts:173
↓ 1 callersFunctionisPasswordRuleError
(message: string | null | undefined)
web/src/lib/auth/passwordRule.ts:32
↓ 1 callersMethodisPatch
()
internal/collab/applier.go:383
↓ 1 callersFunctionisPermanentFailure
isPermanentFailure reports whether a failed evaluation says something about the REQUEST rather than about the provider's availability. Permanent: the
internal/decision/runner.go:1008
↓ 1 callersFunctionisPlaceholder
isPlaceholder is the playbooks' rule: unedited skeleton text, either angle-bracket instructions or a bare ellipsis, is not a criterion.
internal/acceptance/acceptance.go:185
↓ 1 callersFunctionisPrePublishRefusal
(err: unknown)
web/src/lib/push/dispatch.ts:91
↓ 1 callersFunctionisPublicDNSName
isPublicDNSName reports whether host is a syntactically-valid public FQDN (RFC 1123 labels) whose TLD is neither a special-use reserved name nor all-n
internal/server/server.go:1172
↓ 1 callersFunctionisPunct
CommonMark's punctuation (Unicode P or S, so emoji too), as markdown-it decides it.
web/src/lib/components/editor/extensions/flankingMarks.ts:82
↓ 1 callersFunctionisPut
(u: string, m: string)
web/e2e/task-3306-workspace-tabs.spec.ts:165
↓ 1 callersFunctionisRankedPriorityKey
selectSortKeys are the fields whose select values rank by PriorityRank.
internal/store/item_select_sort.go:39
↓ 1 callersFunctionisRateLimitError
* Returns true when `err` is the distinct 429 server-busy error. Mirrors * the `isPlanLimitError` idiom so call sites can branch on rate limiting *
web/src/lib/api/client.ts:333
↓ 1 callersFunctionisRecordedEntry
isRecordedEntry is whether e came from a history row. A row always carries its resolved_at; a derived entry (outstanding, scheduled, projected, or a p
internal/server/handlers_calendar.go:345
↓ 1 callersFunctionisRecovery
(e: TimelineEntry)
web/src/lib/components/timeline/historyEvents.ts:173
↓ 1 callersFunctionisRelationValueStoredAsText
(value: string)
web/src/lib/items/relationFieldTypes.ts:110
↓ 1 callersFunctionisRequestNode
(n: Node)
web/src/lib/components/items/childIdentityFencePopulation.test.ts:780
↓ 1 callersFunctionisResolvableRelation
(field: Pick<FieldDef, 'type' | 'collection'> | undefined | null)
web/src/lib/items/relationFieldTypes.ts:54
↓ 1 callersFunctionisRestorePost
(r: PWRequest)
web/e2e/version-restore-collab.spec.ts:298
↓ 1 callersFunctionisRoundTripDescription
(line string)
cmd/pad/task3451_markdown_load_test.go:214
↓ 1 callersFunctionisRuneStart
isRuneStart reports whether b can begin a UTF-8 sequence — i.e. it is not a continuation byte.
internal/decision/typesafe.go:540
↓ 1 callersFunctionisSQLHandle
(t types.Type)
internal/appstore/boundary_check_test.go:585
↓ 1 callersFunctionisScheduleDataError
isScheduleDataError tells a fact about a schedule's stored data from a fault of the database. The dates of a schedule come from role offsets and walls
internal/store/schedule_link_import.go:69
↓ 1 callersFunctionisScrollKey
(e: KeyboardEvent)
web/src/lib/scroll/restore.svelte.ts:414
← previousnext →11,901–12,000 of 28,840, ranked by callers