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
sortedCopy
(in ...string)
internal/store/field_value_dialect_test.go:98
↓ 1 callers
Function
sortedCountKeys
(m map[string]int)
cmd/pad/cmd_db_nul.go:318
↓ 1 callers
Function
sortedDroppedKeys
sortedDroppedKeys orders MigrateFields' Dropped slice deterministically: source-schema order first (that is the order the user sees the fields in on t
internal/server/handlers_items_copy_preflight.go:1586
↓ 1 callers
Function
sortedIDs
(ids ...string)
internal/server/my_invitations_test.go:53
↓ 1 callers
Function
sortedIDsContain
sortedIDsContain reports whether id is in ids (sorted ascending).
internal/store/yjs_compaction.go:222
↓ 1 callers
Function
sortedLabels
(m map[string]scopePopulationResult)
internal/mcp/scope_population_test.go:100
↓ 1 callers
Function
sortedLinkVertices
(set map[linkVertex]bool)
internal/schedule/links.go:590
↓ 1 callers
Function
sortedLinks
sortedLinks is a copy in id order (a link being written has no id yet and sorts first, in preview and in apply alike).
internal/store/commitment_cascade.go:564
↓ 1 callers
Function
sortedUnion
(a, b map[string]jsonField)
internal/cli/client_items_copy_mirror_test.go:137
↓ 1 callers
Function
sortedVisibilityNames
(m map[string]bool)
internal/server/relation_unjudged_fail_closed_test.go:189
↓ 1 callers
Function
source
(relPath: string)
web/src/routes/bug3049WebFullBlobWriters.test.ts:30
↓ 1 callers
Function
source
(file: string)
web/src/lib/components/timeline/commentEditorLabels.test.ts:4
↓ 1 callers
Function
sourceFiles
(dir: string)
web/src/lib/stores/workspaceIndexEntry.test.ts:142
↓ 1 callers
Function
sourceFiles
(dir: string)
web/src/lib/collections/plan3535LifecycleSites.guard.test.ts:78
↓ 1 callers
Function
sourceFiles
(dir: string)
web/src/lib/a11y/characterShortcutCensus.test.ts:57
↓ 1 callers
Function
sourceWith
(effect: string)
web/src/test/identityFenceSource.test.ts:310
↓ 1 callers
Function
sources
(directory: string)
web/src/lib/components/calendar/CalendarEntry.svelte.test.ts:76
↓ 1 callers
Function
sources
(dir: string)
web/src/lib/api/itemAddressingById.test.ts:16
↓ 1 callers
Function
sources
(dir: string)
web/src/lib/billing/noCommerceOutsideGate.test.ts:54
↓ 1 callers
Function
sources
(dir: string)
web/src/lib/billing/getpadLinksClassified.test.ts:46
↓ 1 callers
Method
spaHandler
()
internal/server/server.go:2749
↓ 1 callers
Function
spacer
(px)
plugin/hooks/register.js:541
↓ 1 callers
Function
spawnStray
spawnStray starts a detached server on STUB_PORT through a double fork and waits until it answers, so the caller's next step meets a port that is alre
internal/buildtools/testdata/stub/main.go:208
↓ 1 callers
Function
specPlaybookArgRequired
specPlaybookArgRequired finds an argument by name in a playbook's Fields JSON and reports whether it's marked required.
internal/collections/templates_sdd_test.go:309
↓ 1 callers
Function
specStarterConventions
specStarterConventions is the curated convention seed pack for spec workspaces (IDEA-2527 comment 2, four conventions). The third entry merges two clo
internal/collections/templates_sdd.go:129
↓ 1 callers
Function
specStarterPlaybooks
specStarterPlaybooks is the curated playbook seed pack for spec workspaces: the three SDD-specific playbooks — spec (templates_sdd_spec.go), verify (t
internal/collections/templates_sdd.go:165
↓ 1 callers
Function
specTemplate
specTemplate builds the "spec" workspace template (IDEA-2527): a spec-driven-development variant of the software templates. Idea → Spec → Tasks → PRs,
internal/collections/templates_sdd.go:14
↓ 1 callers
Function
specsCollection
specsCollection returns the Specs collection: the spec template's parenting artifact (replaces Plans in this template's idea→spec→tasks chain). Prefix
internal/collections/templates_sdd.go:75
↓ 1 callers
Method
spend
spend charges one step; true when the budget is spent. It is the one place the stall position is set: the start of the first period not fully examined
internal/schedule/internal/rrule/rrule.go:592
↓ 1 callers
Function
split
(marker: string, marked: string)
web/src/lib/components/editor/extensions/hardBreakMarkers.svelte.test.ts:56
↓ 1 callers
Function
splitAudience
(entries: AgendaEntry[], priority: AgendaWorkEntry[], view: AudienceView)
web/src/lib/calendar/audience.ts:39
↓ 1 callers
Function
splitCSV
(s string)
internal/server/handlers_auth_bootstrap_token_test.go:365
↓ 1 callers
Function
splitFromCmd
()
cmd/pad/lineage.go:18
↓ 1 callers
Function
splitFrontmatter
splitFrontmatter separates a leading "---\n...\n---" block from the body. Returns ErrMalformed if the opening or closing fence is missing or the front
internal/artifact/decode.go:84
↓ 1 callers
Function
splitKeepEnd
splitKeepEnd splits s into lines, each keeping its "\n"; a last line without one is kept as is.
internal/diff/unified.go:115
↓ 1 callers
Function
splitLines
splitLines is a small dependency-free helper. We avoid bufio.Scanner here because the typical body is small (under 50KB) and allocating a scanner per
internal/collections/summary.go:35
↓ 1 callers
Function
splitOnUnescapedPipe
(body: string)
web/src/lib/chat/refs.ts:194
↓ 1 callers
Function
splitQuoted
(line string)
cmd/pad/capture_skill_commitment_test.go:154
↓ 1 callers
Function
splitReferenceChildren
( children: Item[], collections: Collection[] )
web/src/lib/collections/childProgress.ts:95
↓ 1 callers
Function
splitScopeString
splitScopeString parses RFC 6749 §3.3 space-delimited scope. Single space is the canonical separator; multi-spaces from hand-typed input are tolerated
internal/server/handlers_oauth.go:468
↓ 1 callers
Function
splitSpaceSeparated
splitSpaceSeparated decodes the "a b c" form back to fosite.Arguments (a []string alias). Empty input → empty slice (non-nil) so range is safe.
internal/oauth/storage.go:662
↓ 1 callers
Function
spread
()
web/src/lib/components/common/Lightbox.svelte.test.ts:5981
↓ 1 callers
Function
spreadsSettingContent
(source: string)
web/src/lib/items/staleBodyKeptBody.test.ts:27
↓ 1 callers
Function
squash
(s: string)
web/src/lib/components/common/ToastContainer.svelte.test.ts:185
↓ 1 callers
Function
src
(name)
docs/brand/mark/export.mjs:43
↓ 1 callers
Method
sseEpoch
()
internal/server/bug3428_phase2_epoch_guard_test.go:103
↓ 1 callers
Method
sseFrameWriteTimeout
sseFrameWriteTimeout is sseWriteTimeout, or a test's override.
internal/server/sse_stream.go:44
↓ 1 callers
Function
stableBox
A locator's box once two reads 100 ms apart agree (an animation has settled).
web/e2e/workspace-tabs.spec.ts:115
↓ 1 callers
Function
stage
Abort every upload at the network; answer import-status with `outcome`. Returns the keys seen.
web/e2e/bug-3475-import-outcome-wiring.spec.ts:37
↓ 1 callers
Method
stageErr
(err error)
internal/server/handlers_apps_install.go:370
↓ 1 callers
Function
stageOptions
(d: Sent)
web/src/lib/components/collections/schemaEditImpact.svelte.test.ts:102
↓ 1 callers
Function
stagePointOf
Where an image-space point paints, in stage-local px. Inverse of the above.
web/src/lib/attachments/zoom.test.ts:55
↓ 1 callers
Function
stageSQLiteRestoreFile
(srcPath, dstPath string, optional bool)
cmd/pad/db_restore_sqlite.go:244
↓ 1 callers
Function
staleBundle
BUG-3032: an imported bundle can carry item bodies that were already behind their source's live collaborative document when the bundle was written. Th
internal/server/handlers_import_stale_bodies_test.go:20
↓ 1 callers
Function
staleCalls
()
web/src/routes/[username]/[workspace]/[collection]/collectionIdentityFence.svelte.test.ts:1267
↓ 1 callers
Function
staleCmd
()
cmd/pad/query.go:97
↓ 1 callers
Function
staleHeader
BUG-3032: the server reports the stale-body count as a response header, and the CLI printed only the NUL-repair count — so the signal existed on the w
cmd/pad/workspace_import_stale_test.go:22
↓ 1 callers
Function
staleHint
staleHint returns the first linked PR that merged after the row was recorded at a different revision. A row with no code revision is not about code, a
internal/verification/verification.go:199
↓ 1 callers
Function
staleHint
staleHint adds the server's current occurrence to a 409 stale answer so the user can retry; every other error is returned untouched.
cmd/pad/cmd_schedule.go:503
↓ 1 callers
Function
staleSetup
()
web/src/routes/(console)/needs/needsPage.svelte.test.ts:631
↓ 1 callers
Function
stallShape
stallShape classifies only costs proved linear on a never-firing stretch from DTSTART (TASK-4100). All sites below are in internal/schedule/internal/
internal/schedule/stallfloor_test.go:32
↓ 1 callers
Method
stalled
()
internal/schedule/engine.go:271
↓ 1 callers
Function
stalledAttachmentReader
(t *testing.T, extra string)
internal/server/bug3821_write_deadline_test.go:144
↓ 1 callers
Function
stalledOutcome
stalledOutcome drains each stalled connection: a read error other than the deadline means the server closed it; reaching the deadline with the socket
cmd/loadtest-collab/main.go:292
↓ 1 callers
Function
stalledRedis
BUG-2698. Three findings, three instruments. stalledRedis returns the address of a listener that ACCEPTS connections and then never answers — the shap
internal/server/session_presence_redis_round2_test.go:25
↓ 1 callers
Function
stamp
Add an app's attribution to whatever in a JSON body is this item or its comments.
web/e2e/task-3413-via-app-label.spec.ts:46
↓ 1 callers
Function
stampVersion
stampVersion keeps the marker one token: a version with whitespace (never a real one) is written as "unknown".
internal/cli/skillstamp.go:52
↓ 1 callers
Function
starCmd
────────────────────────────────────────────────────────────────────────────── GitHub integration ────────────────────────────────────────────────────
cmd/pad/cmd_item.go:4437
↓ 1 callers
Function
starredCmd
()
cmd/pad/cmd_item.go:4521
↓ 1 callers
Function
start
()
web/src/routes/(console)/settings/account/task4509TotpStepUp.svelte.test.ts:44
↓ 1 callers
Function
start
()
web/src/lib/attachments/viewerResourceGen.svelte.test.ts:40
↓ 1 callers
Function
start
()
web/src/lib/services/connectivity.svelte.ts:70
↓ 1 callers
Function
start
(h: ReturnType<typeof harness>, extra: Partial<Parameters<typeof uploadImportBundle>[0]> = {})
web/src/lib/api/importUpload.test.ts:62
↓ 1 callers
Function
startApp
(certs: Certs, manifest: (origin: string) => unknown)
web/e2e/lib/real-install.ts:174
↓ 1 callers
Method
startFailed
startFailed records a failed start as a death (it counts toward backoff).
internal/materialize/supervisor.go:773
↓ 1 callers
Function
startFront
(certs: Certs, padPort: number)
web/e2e/lib/real-install.ts:126
↓ 1 callers
Function
startKickPublisher
(t accesskick.Transport)
internal/server/access_kick.go:204
↓ 1 callers
Method
startMCPCredentialTick
BUG-3837: every long-lived connection ends with its credential (the BUG-3007 rule in docs/api.md). The MCP transport's two long-lived doors, the GET s
internal/server/mcp_stream_credential.go:29
↓ 1 callers
Function
startMouseDrag
Press the handle and move past the 5px threshold — a drag is now in flight.
web/src/lib/components/editor/blockDragHandleModalArbitration.svelte.test.ts:110
↓ 1 callers
Function
startObserver
()
web/src/lib/a11y/viewerBackdrop.ts:116
↓ 1 callers
Function
startOfDay
(d: Date)
web/src/lib/chat/grouping.ts:16
↓ 1 callers
Function
startPad
(opts: { binary: string; padPort: number; frontOrigin: string; caPath: string; })
web/e2e/lib/real-install.ts:208
↓ 1 callers
Function
startPolling
* Leader without a stream slot: reconcile on a timer. Each tick first * tries for a slot (another workspace's tab may have closed), and opens a *
web/src/lib/services/sse.svelte.ts:206
↓ 1 callers
Function
startRefresh
($)
plugin/hooks/register.js:1204
↓ 1 callers
Function
startSeen
($)
plugin/hooks/register.js:1280
↓ 1 callers
Function
startUnlocked
startUnlocked runs cmd.Start on a fresh goroutine. A new goroutine is never locked to its thread, so the fork happens on a thread the runtime will not
internal/materialize/supervisor.go:759
↓ 1 callers
Function
startUploadAtEnd
()
web/src/lib/components/editor/uploadMasterFreeze.svelte.test.ts:101
↓ 1 callers
Method
startWALCheckpointer
startWALCheckpointer runs PRAGMA wal_checkpoint(TRUNCATE) on a timer so the WAL file can't grow without bound. SQLite's automatic wal_autocheckpoint i
internal/store/store.go:569
↓ 1 callers
Function
starvedNote
starvedNote says when a reader's own longest gap reached the write timeout: the server then saw a client that stopped reading, and the cut-off is the
internal/server/bug3821_write_deadline_test.go:265
↓ 1 callers
Function
state
(ref: string)
web/src/lib/stores/chatThread.svelte.test.ts:1840
↓ 1 callers
Function
state
(overrides: Partial<CollectionUrlFilterState> = {})
web/src/lib/collections/paneUrlParams.test.ts:14
↓ 1 callers
Function
state
()
web/e2e/attachment-viewer-owners.spec.ts:257
↓ 1 callers
Function
stateKeys
Occurrence state names used as object keys in a source text: the signature of a state map.
web/src/lib/components/calendar/CalendarEntry.svelte.test.ts:71
↓ 1 callers
Method
stateLinks
stateLinks is the item's parent and blocking links as the item sees them, in a fixed order so the hash moves only when the links do.
internal/decision/runner.go:524
↓ 1 callers
Function
staticCallee
staticCallee is the *types.Func a call statically targets, or nil.
internal/appstore/boundary_check_test.go:471
↓ 1 callers
Function
status
()
web/src/lib/components/attachments/AttachmentPdfPreview.svelte.test.ts:85
↓ 1 callers
Function
status
()
web/src/lib/components/common/Lightbox.svelte.test.ts:5634
↓ 1 callers
Function
status
()
web/src/lib/services/sse.svelte.ts:948
↓ 1 callers
Function
statusCmd
()
cmd/pad/cmd_project.go:26
↓ 1 callers
Function
statusField
()
web/src/lib/components/collections/abandonedOptions.svelte.test.ts:62
← previous
next →
14,501–14,600 of 28,840, ranked by callers