MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 1 callersFunctionwriteSkipDeadlineOwnerRequired
(w http.ResponseWriter)
internal/server/handlers_commitments.go:386
↓ 1 callersFunctionwriteSnapshotBehindContentError
writeSnapshotBehindContentError answers a browser snapshot refused because its op-log cursor is below the one the stored body covers (BUG-3744). Nothi
internal/server/handlers_items.go:36
↓ 1 callersFunctionwriteStoreErrorNotRetryable
writeStoreErrorNotRetryable answers a failed store call with a 500 and a caller-chosen code that must NEVER read as retryable: a busy cause is NOT map
internal/server/server.go:3169
↓ 1 callersFunctionwriteStoredCursor
(itemID: string, id: number)
web/src/lib/collab/wsProvider.svelte.ts:189
↓ 1 callersFunctionwriteStubBinary
writeStubBinary creates an executable file named `name` in dir, so exec.LookPath(name) succeeds against it.
internal/cli/agents_test.go:180
↓ 1 callersMethodwriteTabPatchRefusal
writeTabPatchRefusal answers a refusal the applier tab made.
internal/server/handlers_items_patch.go:541
↓ 1 callersFunctionwriteTarFile
writeTarFile writes a single buffered file into the tar archive. Used for the small JSON entries (pad-export.json + manifest.json); blob entries strea
internal/server/handlers_export_bundle.go:311
↓ 1 callersFunctionwriteUpdateConflictSeqEnvelope
writeUpdateConflictSeqEnvelope is the seq-token form of the same pad-structured-error/v1 `update_conflict` envelope (BUG-3037). Same status, same code
internal/server/handlers_items_open_children_guard.go:349
↓ 1 callersFunctionwrongCode
wrongCode changes a code's first digit, so it can never be the valid one.
cmd/pad/cmd_auth_2fa_test.go:483
↓ 1 callersFunctionws
(slug: string, name: string)
web/src/lib/components/layout/WorkspaceSwitcher.desktop.svelte.test.ts:29
↓ 1 callersFunctionws
(slug: string, name: string)
web/src/lib/components/layout/WorkspaceSwitcher.svelte.test.ts:39
↓ 1 callersFunctionws
(slug: string, name: string)
web/src/lib/components/layout/WorkspaceSwitcher.notLoaded.svelte.test.ts:40
↓ 1 callersFunctionws
(slug: string)
web/src/lib/stores/workspaceCreateVsLoadAll.svelte.test.ts:63
↓ 1 callersFunctionws
* TASK-2200 — the shell brick, and specifically the half nothing retried. * * A cold load while the server is unreachable leaves `workspaces` empty
web/src/lib/stores/workspaceRecovery.svelte.test.ts:25
↓ 1 callersFunctionws
(slug: string, owner = 'u')
web/src/lib/stores/shellWorkspace.test.ts:5
↓ 1 callersFunctionws
* TASK-2947 — WHICH RESPONSE COMMITS in `workspaceStore.loadAll`. * * This is the behaviour change that rides with the single-flight extraction, *
web/src/lib/stores/workspaceLoadAllOrdering.svelte.test.ts:26
↓ 1 callersFunctionwsIDForSlug
wsIDForSlug resolves a workspace slug to its id for the store-level calls a few fixtures need.
internal/server/handlers_items_bulk_test.go:715
↓ 1 callersFunctionxOf
(title: string)
web/src/lib/components/charts/BarChart.render.svelte.test.ts:156
↓ 1 callersFunctionzero
()
web/src/lib/components/share/shareView.test.ts:174
↓ 1 callersMethodzeroFilledBuckets
zeroFilledBuckets produces the full chronological bucket series between start and end (inclusive) at the given granularity, merging in created/complet
internal/store/reports.go:914
↓ 1 callersFunctionzeroFilledDayLabels
zeroFilledDayLabels runs zeroFilledBucketsIn for a day report and fails the test when it has not returned by the deadline: the failure mode under test
internal/store/reports_tz_test.go:123
↓ 1 callersFunctionzombiePID
zombiePID returns the pid of an exited child that has not been reaped: it still answers kill(pid, 0), and its /proc state is 'Z'.
internal/cli/session_owner_pidns_linux_test.go:590
↓ 1 callersFunctionzoomToActual
dblclick at the stage centre → actual size, so drags have pan room.
web/src/lib/components/common/Lightbox.svelte.test.ts:2056
↓ 1 callersFunctionzoomToMax
* Zoom to maximum: press '+' in BURSTS, settle once per burst, and stop at the * first burst that does not climb (the clamp). * * A burst is safe b
web/e2e/attachment-viewer-zoom.spec.ts:82
MethodAccept
()
cmd/pad/chat_synctest_net_test.go:29
MethodAdmitAppDelivery
AdmitAppDelivery admits one attempt of event, whose app-projection block names collectionID, to the app hook webhookID, recording deliveryID as in fli
internal/store/app_delivery.go:137
MethodAdmitAppDelivery
(webhookID, event, collectionID, occurredAt, deliveryID string)
internal/server/app_webhook_delivery.go:23
MethodAdmitAppDelivery
(webhookID, event, collectionID, occurredAt, deliveryID string)
internal/webhooks/app_delivery_test.go:33
MethodAfter
After returns the first recurrence after the given datetime instance, or time.Time's zero value if no recurrence match. The inc keyword defines what h
internal/schedule/internal/rrule/rruleset.go:205
FunctionAfterIfInitShadow
(r *nh.Request)
internal/server/testdata/bodyreaders/fixture.go:108
MethodAll
All returns all occurrences of the RRule. It is only supported second precision.
internal/schedule/internal/rrule/rrule.go:952
MethodAll
All returns all occurrences of the rrule.Set. It is only supported second precision.
internal/schedule/internal/rrule/rruleset.go:179
MethodAllowedAudiences
AllowedAudiences is every canonical resource the server issues tokens for: AllowedAudience first, then AdditionalAudiences.
internal/oauth/server.go:333
MethodAppPrincipalInstallIDQ
The app ceiling (SPEC-6 §4, U6a, TASK-3401). An installed app reads at most its install's companion collections plus the workspace's system collectio
internal/store/app_ceiling.go:26
MethodAppendFailed
()
internal/collab/task3574_append_failure_test.go:19
MethodAppendSyncFrames
AppendSyncFrames is AppendSyncFrame for a run of frames from one connection, in ONE transaction (BUG-3253). The relay used to commit one row per keyst
internal/store/yjs_updates.go:124
MethodAppendSyncFrames
AppendSyncFrames mirrors store.AppendSyncFrames: each frame as AppendSyncFrame, all or nothing (BUG-3253). batchSizes records each call's frame count.
internal/collab/manager_test.go:77
MethodAsk
Ask implements [Provider].
internal/decision/typesafe.go:228
MethodAsk
(_ context.Context, state any, qs map[string]decision.Question)
internal/server/handlers_playbook_match_test.go:34
MethodAsk
(_ context.Context, _ any, qs map[string]decision.Question)
internal/server/task3618_item_context_decisions_test.go:18
MethodAsk
(_ context.Context, _ any, qs map[string]decision.Question)
internal/server/handlers_decisions_test.go:23
MethodAsk
(_ context.Context, state any, qs map[string]decision.Question)
internal/server/dashboard_attention_decisions_test.go:25
MethodAsk
(ctx context.Context, _ any, _ map[string]decision.Question)
internal/server/decision_settings_test.go:393
MethodAsk
(_ context.Context, _ any, qs map[string]decision.Question)
internal/server/decision_settings_test.go:566
FunctionBad
(external func())
internal/appstore/testdata/callbackparam/x.go:8
FunctionBad
(s *store.Store)
internal/appstore/testdata/genericiface/x.go:11
FunctionBad
(s *store.Store)
internal/appstore/testdata/humanmutation/x.go:9
FunctionBad
()
internal/appstore/testdata/allowlistnarrow/x.go:10
FunctionBad
(s *store.Store)
internal/appstore/testdata/ifacecall/x.go:14
FunctionBad
(w Wrapper)
internal/appstore/testdata/embeddedsql/x.go:14
FunctionBad
(fs *attachments.FSStore)
internal/appstore/testdata/attachmentsput/x.go:15
FunctionBad
(s *store.Store)
internal/appstore/testdata/helperinit/x.go:9
FunctionBad
(s *store.Store)
internal/appstore/testdata/generic/x.go:10
FunctionBad
(s *store.Store)
internal/appstore/testdata/genericnested/x.go:16
FunctionBad
(s *store.Store)
internal/appstore/testdata/reflectuse/x.go:10
FunctionBad
(s *store.Store)
internal/appstore/testdata/pkgvar/x.go:8
FunctionBad
(w W)
internal/appstore/testdata/embeddedstore/x.go:9
FunctionBad
()
internal/appstore/testdata/oncevar/x.go:14
FunctionBad
(s *store.Store)
internal/appstore/testdata/transitive/x.go:10
FunctionBad
(external func())
internal/appstore/testdata/methodexprcallback/x.go:13
FunctionBad
(s *store.Store)
internal/appstore/testdata/genericconstraint/x.go:7
FunctionBad
(w Writer)
internal/appstore/testdata/funcfield/x.go:11
FunctionBad
(db *sql.DB)
internal/appstore/testdata/rawsql/x.go:12
FunctionBad
(s *store.Store)
internal/appstore/testdata/rawdb/x.go:6
FunctionBad
(s *store.Store)
internal/appstore/testdata/genericifacebody/x.go:11
FunctionBad
(s *store.Store)
internal/appstore/testdata/linkname/x.go:13
MethodBeginTx
(context.Context, driver.TxOptions)
internal/store/nultriggers_test.go:561
FunctionBenchmarkExtractWikiLinksAfterCodeSpans
(b *testing.B)
internal/links/bug3968_wikilink_code_spans_test.go:68
FunctionBenchmarkGetOAuthConnectionAccess_Explicit
(b *testing.B)
internal/store/bench_oauth_connections_test.go:102
FunctionBenchmarkGetOAuthConnectionAccess_NoRow
(b *testing.B)
internal/store/bench_oauth_connections_test.go:116
FunctionBenchmarkGetOAuthConnectionAccess_Wildcard
(b *testing.B)
internal/store/bench_oauth_connections_test.go:91
FunctionBenchmarkMergeAllowedWorkspaces
BenchmarkMergeAllowedWorkspaces measures the per-call overhead of the policy function on the introspection hot path. The store-side lookup is a separa
internal/server/middleware_mcp_auth_dual_read_test.go:159
FunctionBenchmarkNormalizeAndCheck_BinaryParameterSkipped
The []byte exemption's cost: a Yjs op-log append binds a blob, and the guard must skip it without touching the bytes.
internal/store/nulguard_bench_test.go:59
FunctionBenchmarkNormalizeAndCheck_JSONWriteNoEscape
A JSON-classed WRITE: a realistic item fields blob carrying no escape, so it pays the IsJSONDocument parse but not the walk. This is the arm that must
internal/store/nulguard_bench_test.go:74
FunctionBenchmarkNormalizeAndCheck_JSONWriteWithEscape
The same blob WITH an escape present, so the escape pre-filter fires and the full decode-and-walk runs. The worst case for an ACCEPTED value. The esc
internal/store/nulguard_bench_test.go:94
FunctionBenchmarkNormalizeAndCheck_LargeTextWrite
A large content write — the shape that would hurt most if the JSON arm ran on everything. Content is user text, not JSON, so the escape pre-filter sho
internal/store/nulguard_bench_test.go:110
FunctionBenchmarkNormalizeAndCheck_ReadWithUserText
A read carrying user text — a search term or a title filter. Still no JSON, so still the cheap arm.
internal/store/nulguard_bench_test.go:46
FunctionBenchmarkNormalizeAndCheck_TypicalRead
The overwhelmingly common read shape: a workspace id and an item id, both UUIDs. Every list, every resolve, every permission check.
internal/store/nulguard_bench_test.go:33
FunctionBenchmarkPSRSS
BenchmarkPSRSS is the cost of one poll by the macOS watchdog's ps fallback.
internal/materialize/memcap_ps_test.go:40
FunctionBenchmarkPerf2812
(b *testing.B)
internal/server/bug2812_scan_bench_test.go:56
FunctionBenchmarkStoreRead_Guarded
(b *testing.B)
internal/store/nulguard_bench_test.go:165
FunctionBenchmarkStoreRead_Unguarded
(b *testing.B)
internal/store/nulguard_bench_test.go:166
MethodBetween
Between returns all the occurrences of the RRule between after and before. The inc keyword defines what happens if after and/or before are themselves
internal/schedule/internal/rrule/rrule.go:960
MethodBetween
Between returns all the occurrences of the rrule between after and before. The inc keyword defines what happens if after and/or before are themselves
internal/schedule/internal/rrule/rruleset.go:187
MethodBoolToInt
(b bool)
internal/store/dialect.go:214
MethodBoolToInt
(b bool)
internal/store/dialect.go:309
MethodBootstrap
Bootstrap creates the first admin account on a fresh instance.
internal/cli/client.go:2244
MethodBootstrap
Bootstrap satisfies BootstrapFetcher, so the remote transport's pad_set_workspace embeds the same blob its bootstrap resource serves (BUG-3326). It is
internal/mcp/resources_http.go:119
MethodBootstrap
(_ context.Context, workspace string)
internal/mcp/workspace_test.go:145
MethodBootstrap
Bootstrap runs `<Binary> bootstrap --workspace <ws> --format json` and returns the raw JSON bytes. On error returns nil + the error; the caller (pad_s
internal/mcp/resources.go:157
FunctionBuildFrontmatter
BuildFrontmatter creates YAML frontmatter from document metadata.
internal/cli/editor.go:91
MethodBusyWorkers
(userID string, workerIDs []string)
internal/server/session_activity.go:83
MethodBusyWorkers
(string, []string)
internal/server/task4040_activity_registry_test.go:91
FunctionCallDerived
(ctx context.Context, r *nh.Request)
internal/server/testdata/bodyreaders/fixture.go:44
MethodCancelCustomer
(string, string)
internal/server/handlers_admin_billing_test.go:26
MethodCancelCustomer
(customerID, userID string)
internal/server/handlers_account_test.go:34
MethodCapabilities
()
internal/attachments/processor_purego.go:53
MethodChatConversation
(number int)
internal/cli/client.go:3669
FunctionChatGPTExperimentalCapabilities
ChatGPTExperimentalCapabilities is the ChatGPT server's capabilities.experimental: the cmdhelp contract it shares with /mcp, and its own tool-surface
internal/mcp/chatgpt_catalog.go:402
MethodCheckNamedValue
(nv *driver.NamedValue)
internal/store/nulguard.go:425
← previousnext →15,301–15,400 of 28,840, ranked by callers