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
writeSkipDeadlineOwnerRequired
(w http.ResponseWriter)
internal/server/handlers_commitments.go:386
↓ 1 callers
Function
writeSnapshotBehindContentError
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 callers
Function
writeStoreErrorNotRetryable
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 callers
Function
writeStoredCursor
(itemID: string, id: number)
web/src/lib/collab/wsProvider.svelte.ts:189
↓ 1 callers
Function
writeStubBinary
writeStubBinary creates an executable file named `name` in dir, so exec.LookPath(name) succeeds against it.
internal/cli/agents_test.go:180
↓ 1 callers
Method
writeTabPatchRefusal
writeTabPatchRefusal answers a refusal the applier tab made.
internal/server/handlers_items_patch.go:541
↓ 1 callers
Function
writeTarFile
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 callers
Function
writeUpdateConflictSeqEnvelope
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 callers
Function
wrongCode
wrongCode changes a code's first digit, so it can never be the valid one.
cmd/pad/cmd_auth_2fa_test.go:483
↓ 1 callers
Function
ws
(slug: string, name: string)
web/src/lib/components/layout/WorkspaceSwitcher.desktop.svelte.test.ts:29
↓ 1 callers
Function
ws
(slug: string, name: string)
web/src/lib/components/layout/WorkspaceSwitcher.svelte.test.ts:39
↓ 1 callers
Function
ws
(slug: string, name: string)
web/src/lib/components/layout/WorkspaceSwitcher.notLoaded.svelte.test.ts:40
↓ 1 callers
Function
ws
(slug: string)
web/src/lib/stores/workspaceCreateVsLoadAll.svelte.test.ts:63
↓ 1 callers
Function
ws
* 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 callers
Function
ws
(slug: string, owner = 'u')
web/src/lib/stores/shellWorkspace.test.ts:5
↓ 1 callers
Function
ws
* 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 callers
Function
wsIDForSlug
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 callers
Function
xOf
(title: string)
web/src/lib/components/charts/BarChart.render.svelte.test.ts:156
↓ 1 callers
Function
zero
()
web/src/lib/components/share/shareView.test.ts:174
↓ 1 callers
Method
zeroFilledBuckets
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 callers
Function
zeroFilledDayLabels
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 callers
Function
zombiePID
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 callers
Function
zoomToActual
dblclick at the stage centre → actual size, so drags have pan room.
web/src/lib/components/common/Lightbox.svelte.test.ts:2056
↓ 1 callers
Function
zoomToMax
* 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
Method
Accept
()
cmd/pad/chat_synctest_net_test.go:29
Method
AdmitAppDelivery
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
Method
AdmitAppDelivery
(webhookID, event, collectionID, occurredAt, deliveryID string)
internal/server/app_webhook_delivery.go:23
Method
AdmitAppDelivery
(webhookID, event, collectionID, occurredAt, deliveryID string)
internal/webhooks/app_delivery_test.go:33
Method
After
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
Function
AfterIfInitShadow
(r *nh.Request)
internal/server/testdata/bodyreaders/fixture.go:108
Method
All
All returns all occurrences of the RRule. It is only supported second precision.
internal/schedule/internal/rrule/rrule.go:952
Method
All
All returns all occurrences of the rrule.Set. It is only supported second precision.
internal/schedule/internal/rrule/rruleset.go:179
Method
AllowedAudiences
AllowedAudiences is every canonical resource the server issues tokens for: AllowedAudience first, then AdditionalAudiences.
internal/oauth/server.go:333
Method
AppPrincipalInstallIDQ
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
Method
AppendFailed
()
internal/collab/task3574_append_failure_test.go:19
Method
AppendSyncFrames
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
Method
AppendSyncFrames
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
Method
Ask
Ask implements [Provider].
internal/decision/typesafe.go:228
Method
Ask
(_ context.Context, state any, qs map[string]decision.Question)
internal/server/handlers_playbook_match_test.go:34
Method
Ask
(_ context.Context, _ any, qs map[string]decision.Question)
internal/server/task3618_item_context_decisions_test.go:18
Method
Ask
(_ context.Context, _ any, qs map[string]decision.Question)
internal/server/handlers_decisions_test.go:23
Method
Ask
(_ context.Context, state any, qs map[string]decision.Question)
internal/server/dashboard_attention_decisions_test.go:25
Method
Ask
(ctx context.Context, _ any, _ map[string]decision.Question)
internal/server/decision_settings_test.go:393
Method
Ask
(_ context.Context, _ any, qs map[string]decision.Question)
internal/server/decision_settings_test.go:566
Function
Bad
(external func())
internal/appstore/testdata/callbackparam/x.go:8
Function
Bad
(s *store.Store)
internal/appstore/testdata/genericiface/x.go:11
Function
Bad
(s *store.Store)
internal/appstore/testdata/humanmutation/x.go:9
Function
Bad
()
internal/appstore/testdata/allowlistnarrow/x.go:10
Function
Bad
(s *store.Store)
internal/appstore/testdata/ifacecall/x.go:14
Function
Bad
(w Wrapper)
internal/appstore/testdata/embeddedsql/x.go:14
Function
Bad
(fs *attachments.FSStore)
internal/appstore/testdata/attachmentsput/x.go:15
Function
Bad
(s *store.Store)
internal/appstore/testdata/helperinit/x.go:9
Function
Bad
(s *store.Store)
internal/appstore/testdata/generic/x.go:10
Function
Bad
(s *store.Store)
internal/appstore/testdata/genericnested/x.go:16
Function
Bad
(s *store.Store)
internal/appstore/testdata/reflectuse/x.go:10
Function
Bad
(s *store.Store)
internal/appstore/testdata/pkgvar/x.go:8
Function
Bad
(w W)
internal/appstore/testdata/embeddedstore/x.go:9
Function
Bad
()
internal/appstore/testdata/oncevar/x.go:14
Function
Bad
(s *store.Store)
internal/appstore/testdata/transitive/x.go:10
Function
Bad
(external func())
internal/appstore/testdata/methodexprcallback/x.go:13
Function
Bad
(s *store.Store)
internal/appstore/testdata/genericconstraint/x.go:7
Function
Bad
(w Writer)
internal/appstore/testdata/funcfield/x.go:11
Function
Bad
(db *sql.DB)
internal/appstore/testdata/rawsql/x.go:12
Function
Bad
(s *store.Store)
internal/appstore/testdata/rawdb/x.go:6
Function
Bad
(s *store.Store)
internal/appstore/testdata/genericifacebody/x.go:11
Function
Bad
(s *store.Store)
internal/appstore/testdata/linkname/x.go:13
Method
BeginTx
(context.Context, driver.TxOptions)
internal/store/nultriggers_test.go:561
Function
BenchmarkExtractWikiLinksAfterCodeSpans
(b *testing.B)
internal/links/bug3968_wikilink_code_spans_test.go:68
Function
BenchmarkGetOAuthConnectionAccess_Explicit
(b *testing.B)
internal/store/bench_oauth_connections_test.go:102
Function
BenchmarkGetOAuthConnectionAccess_NoRow
(b *testing.B)
internal/store/bench_oauth_connections_test.go:116
Function
BenchmarkGetOAuthConnectionAccess_Wildcard
(b *testing.B)
internal/store/bench_oauth_connections_test.go:91
Function
BenchmarkMergeAllowedWorkspaces
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
Function
BenchmarkNormalizeAndCheck_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
Function
BenchmarkNormalizeAndCheck_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
Function
BenchmarkNormalizeAndCheck_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
Function
BenchmarkNormalizeAndCheck_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
Function
BenchmarkNormalizeAndCheck_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
Function
BenchmarkNormalizeAndCheck_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
Function
BenchmarkPSRSS
BenchmarkPSRSS is the cost of one poll by the macOS watchdog's ps fallback.
internal/materialize/memcap_ps_test.go:40
Function
BenchmarkPerf2812
(b *testing.B)
internal/server/bug2812_scan_bench_test.go:56
Function
BenchmarkStoreRead_Guarded
(b *testing.B)
internal/store/nulguard_bench_test.go:165
Function
BenchmarkStoreRead_Unguarded
(b *testing.B)
internal/store/nulguard_bench_test.go:166
Method
Between
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
Method
Between
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
Method
BoolToInt
(b bool)
internal/store/dialect.go:214
Method
BoolToInt
(b bool)
internal/store/dialect.go:309
Method
Bootstrap
Bootstrap creates the first admin account on a fresh instance.
internal/cli/client.go:2244
Method
Bootstrap
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
Method
Bootstrap
(_ context.Context, workspace string)
internal/mcp/workspace_test.go:145
Method
Bootstrap
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
Function
BuildFrontmatter
BuildFrontmatter creates YAML frontmatter from document metadata.
internal/cli/editor.go:91
Method
BusyWorkers
(userID string, workerIDs []string)
internal/server/session_activity.go:83
Method
BusyWorkers
(string, []string)
internal/server/task4040_activity_registry_test.go:91
Function
CallDerived
(ctx context.Context, r *nh.Request)
internal/server/testdata/bodyreaders/fixture.go:44
Method
CancelCustomer
(string, string)
internal/server/handlers_admin_billing_test.go:26
Method
CancelCustomer
(customerID, userID string)
internal/server/handlers_account_test.go:34
Method
Capabilities
()
internal/attachments/processor_purego.go:53
Method
ChatConversation
(number int)
internal/cli/client.go:3669
Function
ChatGPTExperimentalCapabilities
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
Method
CheckNamedValue
(nv *driver.NamedValue)
internal/store/nulguard.go:425
← previous
next →
15,301–15,400 of 28,840, ranked by callers