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
↓ 2 callers
Method
judgeVerifications
judgeVerifications sets state and possibly_stale on rows, and fills via refs the caller may see. The PRs considered are the item's own github_pr and e
internal/server/handlers_verifications.go:326
↓ 2 callers
Function
keepPathHelperKeepArm
(t *testing.T, name string, check func(string, string) (*models.WorkspaceMember, error))
internal/server/handlers_import_bundle_partial_test.go:192
↓ 2 callers
Function
keepPathOwnerAddFailureRemoves
(t *testing.T, driver store.DriverType)
internal/server/handlers_import_bundle_partial_test.go:141
↓ 2 callers
Function
keepPathPartialIsReachable
(t *testing.T, driver store.DriverType)
internal/server/handlers_import_bundle_partial_test.go:99
↓ 2 callers
Function
keepRecordedOnTerminal
keepRecordedOnTerminal drops, for an item in a terminal status, every entry that does not come from a history row (outstanding, scheduled, projected,
internal/server/handlers_calendar.go:354
↓ 2 callers
Method
keepalive
keepalive writes one comment frame, and reports whether the stream can take another. It writes nothing once the stream has ended or failed.
internal/server/mcp_stream_keepalive.go:119
↓ 2 callers
Function
keptPartialImportRemaps
(t *testing.T, driver store.DriverType)
internal/server/bug3656_import_remap_test.go:102
↓ 2 callers
Function
key
(r: { len: number; gap: number })
web/src/lib/utils/markdown.ts:1112
↓ 2 callers
Function
key
(userId: string | null, ws: string)
web/src/lib/stores/localIndexPersistence.ts:200
↓ 2 callers
Function
key
(code: string)
web/src/lib/invitations/proof.ts:15
↓ 2 callers
Function
key
(ws: string, section: CappedSection)
web/src/lib/dashboard/caps.ts:45
↓ 2 callers
Method
keyFor
(path: string)
web/src/lib/stores/homeOverview.svelte.ts:23
↓ 2 callers
Function
keyedEaches
(file: string, src: string)
web/src/lib/eachKeyCensus.test.ts:62
↓ 2 callers
Function
keysOf
(m map[string]any)
internal/server/handlers_items_content_echo_test.go:132
↓ 2 callers
Function
keysOnPosition
(keyNode: Node, index: string | undefined)
web/src/lib/eachKeyCensus.test.ts:96
↓ 2 callers
Function
kickAll
(set map[*kickReg]struct{})
internal/server/access_kick.go:119
↓ 2 callers
Method
kickUser
kickUser and kickWorkspace wake every matching connection and report how many they reached. Non-blocking: a connection with a kick already pending nee
internal/server/access_kick.go:101
↓ 2 callers
Method
kickWorkspace
(workspaceID string)
internal/server/access_kick.go:110
↓ 2 callers
Function
kid
(id: string, n: number)
web/src/lib/components/childItemsReorderFailure.svelte.test.ts:8
↓ 2 callers
Function
kind
(k: string)
web/e2e/task-2224-sse-request-budget.spec.ts:237
↓ 2 callers
Method
kindLabel
()
cmd/pad/cmd_schedule.go:116
↓ 2 callers
Function
kindsFixture
PLAN-2348 U3: a view that renders a subset of the timeline pages through its own kinds. The History tab of a comment-heavy item used to open on a page
internal/server/plan2348_timeline_kinds_test.go:19
↓ 2 callers
Function
land
* A landing in `slug`: open it as an ephemeral tab unless it is already in * the open set. Decided against a committed list, never blind: until the
web/src/lib/stores/tabs.svelte.ts:204
↓ 2 callers
Method
landed
A save landed: the row is now at `seq`, holding `sent`.
web/src/lib/items/rawBase.ts:32
↓ 2 callers
Function
laneValue
* TRIMMED. `relationChipFor` has always trimmed, so a * legacy value stored as `" id-red "` produced a live CHIP and an unresolved * LANE — the same
web/src/lib/collections/relationGroups.ts:162
↓ 2 callers
Function
laneWriteRefusalMessage
(reason: LaneWriteRefusal, fieldLabel: string)
web/src/lib/collections/laneWriteValue.ts:130
↓ 2 callers
Function
largeDistinctWords
largeDistinctWords returns about n bytes of space-separated distinct lowercase words, the input that makes the largest tsvector per byte.
internal/store/item_entries_index_test.go:590
↓ 2 callers
Function
lastHrefSegment
* Extract the trailing path segment of a SAME-WORKSPACE internal item href, * e.g. "/alice/myws/tasks/TASK-5" -> "TASK-5", "/alice/myws/tasks/TASK-5/
web/src/lib/collections/paneTarget.ts:77
↓ 2 callers
Function
lastOccurrenceCases
()
internal/store/schedule_end_guard_test.go:57
↓ 2 callers
Function
lateUploadRow
TASK-4279 (audit 10-29, high 4): both blob reclaimers counted the rows protecting a hash BEFORE taking the in-flight lock. An upload of the same conte
internal/server/task4279_blob_reclaim_race_test.go:19
↓ 2 callers
Function
laterInstant
(a, b string)
internal/store/schedule_carry_v2.go:120
↓ 2 callers
Function
leaderElectionSupported
()
web/src/lib/services/sse.svelte.ts:335
↓ 2 callers
Function
leaseDisplayItem
(withLease bool)
internal/cli/format_lease_test.go:37
↓ 2 callers
Function
leaseHolderOf
(t *testing.T, rr *httptest.ResponseRecorder)
internal/server/task1809_lease_agent_default_test.go:41
↓ 2 callers
Function
legacyAdoptionWorkspace
BUG-3806: AdoptLegacyBuiltins matched on the title, fields and content it buffered in its scan, then inserted origins in a later transaction without r
internal/store/bug3806_legacy_adoption_race_test.go:17
↓ 2 callers
Function
legacyItemByTitle
(t *testing.T, s *Store, wsID, title string)
internal/store/bug3806_legacy_adoption_race_test.go:41
↓ 2 callers
Function
legacySkillHashKnown
legacySkillHashKnown reports whether hash is what some past pad release wrote for this tool, before files carried a stamp. The list is frozen (skill_l
internal/cli/skillstamp.go:280
↓ 2 callers
Function
levelIndex
levelIndex parses a score probability/legend key ("0", "1", ...) into its integer index. A key that is not an integer sorts last rather than panicking
internal/decision/typesafe.go:705
↓ 2 callers
Function
libraryActivateCmd
()
cmd/pad/cmd_library.go:323
↓ 2 callers
Function
libraryVocabularyFor
libraryVocabularyFor is the library vocabulary for a SYSTEM collection declaring the convention or playbook artifact kind, nil for any other.
internal/server/library_option_widen.go:105
↓ 2 callers
Method
lifespans
()
internal/oauth/server.go:92
↓ 2 callers
Function
liftFieldsToColumns
liftFieldsToColumns scans fields for keys that map 1:1 to columns on the item record and moves them into payload at the top level. Mutates both maps.
internal/mcp/dispatch_http.go:1000
↓ 2 callers
Method
limiterLocked
limiterLocked is the lookup behind allow and getLimiter. Caller holds rl.mu.
internal/server/middleware_ratelimit.go:154
↓ 2 callers
Function
line
(ref: string, title: string, what: string)
web/src/lib/components/activity/CatchUpCard.svelte.test.ts:52
↓ 2 callers
Function
lineOf
lineOf is the 1-based line on which byte offset p lies.
internal/bodypatch/bodypatch.go:129
↓ 2 callers
Function
lineOf
(s: string, p: number)
web/src/lib/collab/patchApply.ts:64
↓ 2 callers
Function
link
(extra: Partial<CommitmentLink> = {})
web/src/lib/test/commitmentFixtures.ts:5
↓ 2 callers
Function
linkAssertLimit
(t *testing.T, err error, kind string, limit, got int)
internal/schedule/links_test.go:480
↓ 2 callers
Function
linkBlocks
linkBlocks wires blocker -> blocked via a `blocks` link.
internal/store/dashboard_batch_test.go:22
↓ 2 callers
Function
linkCmd
()
cmd/pad/cmd_workspace.go:740
↓ 2 callers
Function
linkCycle
linkCycle walks sorted vertices and adjacency lists with an explicit DFS stack. Active positions recover the closed path; completed vertices need no r
internal/schedule/links.go:601
↓ 2 callers
Function
linkDay
(t time.Time)
internal/schedule/links.go:550
↓ 2 callers
Function
linkEndpointDisplay
(link models.ItemLink, useSource bool)
cmd/pad/lineage.go:267
↓ 2 callers
Method
linkGone
(id string)
internal/store/commitment_links_revalidate_test.go:39
↓ 2 callers
Function
linkLimitEdges
(kind string, n int)
internal/schedule/links_test.go:469
↓ 2 callers
Function
linkRole
(role Role, source bool)
internal/schedule/links.go:555
↓ 2 callers
Method
linkTuples
Time links in the workspace bundle, import side (TASK-4353, PR 2b): see schedule_link_carry_test.go for the fixtures. linkTuples reads a workspace's l
internal/store/schedule_link_import_test.go:20
↓ 2 callers
Function
linkViolations
(st State, changed map[linkVertex]bool)
internal/schedule/links.go:693
↓ 2 callers
Function
linkedUpdatedRowsLeg
(t *testing.T, srv *Server)
internal/server/plan2348_timeline_drops_test.go:202
↓ 2 callers
Function
listAll
(request: APIRequestContext, f: Fixture, n: number)
web/e2e/chat-thread-write.spec.ts:56
↓ 2 callers
Function
listAllPages
listAllPages is the one pager behind every ListAll* method (BUG-3704, BUG-3793, BUG-4024). It reads from startOffset, follows the server's next-offset
internal/cli/client.go:402
↓ 2 callers
Method
listItemVersionsPageQ
(q Queryer, itemID string, limit int)
internal/store/items.go:6939
↓ 2 callers
Method
listItemsPage
listItemsPage runs the list one row past params.Limit (always set, by parseItemListParams) to learn whether more exist, trims that row, and sets the p
internal/server/handlers_items.go:4620
↓ 2 callers
Method
listItemsQ
(q Queryer, workspaceID string, params models.ItemListParams)
internal/store/items.go:1312
↓ 2 callers
Function
listKeyNav
( order: readonly string[], focusedId: string | null, step: 1 | -1, )
web/src/lib/collections/listNav.ts:13
↓ 2 callers
Method
listPlaybookItems
listPlaybookItems gathers the workspace's playbook items, scoped to what the caller can see. Shared by handleListPlaybooks and handleMatchPlaybook (TA
internal/server/handlers_playbooks.go:107
↓ 2 callers
Method
listStarredItems
(userID, workspaceID string, includeTerminal, withBodies bool)
internal/store/item_stars.go:107
↓ 2 callers
Method
listTerminalItemsSince
listTerminalItemsSince fetches items that reached a *positive* terminal since cutoff. Terminal values are resolved per collection via models.Collectio
internal/server/handlers_project_intel.go:149
↓ 2 callers
Method
listVersionsQ
listVersionsQ is ListVersions against a caller-supplied executor, so the snapshot read (BUG-3833) lists the rows inside its own transaction.
internal/store/versions.go:97
↓ 2 callers
Function
listenOnFreePort
Listens on 127.0.0.1:0 and resolves the port the OS assigned (no reserve-then-bind race).
web/e2e/lib/real-install.ts:91
↓ 2 callers
Function
literal
(e ast.Expr)
scripts/ci-web-census/main.go:50
↓ 2 callers
Function
liveFlush
The tab's flush output: ItemDetail's normalize, then serialize.
web/src/lib/collab/materializer/materializerParity.svelte.test.ts:198
↓ 2 callers
Function
liveImport
liveImport sends headers and prefix, stalls, then sends rest, over a fresh connection.
internal/server/handlers_import_bundle_bug3184_test.go:263
↓ 2 callers
Function
liveOwned
(t *testing.T, s *Store, wsID string)
internal/store/bug3099_delete_account_lock_test.go:33
↓ 2 callers
Function
liveWorkspace
(t *testing.T, srv *Server, id string)
internal/server/bug3099_account_delete_owned_test.go:33
↓ 2 callers
Function
livingChildPID
livingChildPID starts a process that outlives the test body (killed in cleanup) and returns its pid: a LIVE pid that is not an ancestor.
internal/cli/session_registry_test.go:35
↓ 2 callers
Method
load
()
web/src/lib/stores/chatInbox.svelte.ts:282
↓ 2 callers
Function
loadAllow
loadAllow reads the allowlist; an absent file allows nothing, and a line without a reason is an error, so an exception always says why.
cmd/depages/main.go:297
↓ 2 callers
Function
loadCensusPackage
loadCensusPackage type-checks the one package in dir, once per test binary: the reader census and the handoff census ask different questions of the sa
internal/server/body_reader_census_test.go:33
↓ 2 callers
Function
loadDashboard
(client *cli.Client, ws string)
cmd/pad/query.go:251
↓ 2 callers
Function
loadItemDetail
()
web/src/lib/components/items/itemDetailLoader.ts:19
↓ 2 callers
Method
loadNewer
Fetch one page after the window's newest row.
web/src/lib/stores/chatThread.svelte.ts:324
↓ 2 callers
Method
loadOlder
Fetch the page before the window's oldest row. A failure keeps the window.
web/src/lib/stores/chatThread.svelte.ts:303
↓ 2 callers
Function
loadPushCollapseCases
(t *testing.T)
internal/server/push_message_collapse_test.go:19
↓ 2 callers
Method
loadResolutionUndoQ
(q Queryer, sc *models.ItemSchedule)
internal/store/schedule_reopen.go:315
↓ 2 callers
Function
loadService
()
web/src/lib/services/sseLiveness.svelte.test.ts:91
↓ 2 callers
Function
loadService
()
web/src/lib/services/sseSyncSpread.svelte.test.ts:77
↓ 2 callers
Function
loadStoreUnlocked
loadStoreUnlocked is loadStoreLocked for a caller that could not take the lock (BUG-3828). Save truncates in place before it writes, so an empty file
internal/cli/credentials.go:237
↓ 2 callers
Function
loadSuiteFixture
()
web/e2e/fixtures.ts:35
↓ 2 callers
Function
localArmStateString
localArmStateString maps the tri-state to the stable JSON token.
cmd/pad/cmd_session.go:707
↓ 2 callers
Method
lockBindingsInOrderTx
lockBindingsInOrderTx locks the app_token_bindings rows a predicate selects, tombstones included, in request_id order, on Postgres (SQLite's single wr
internal/store/install_clients.go:690
↓ 2 callers
Method
lockCommentForDeleteTx
lockCommentForDeleteTx reads the row DeleteComment acts on. On Postgres it first locks the row's whole ancestor chain, root first, then the row: reapT
internal/store/comments.go:604
↓ 2 callers
Method
lockCommentsRootFirstTxCtx
(ctx context.Context, tx *sql.Tx, scopeCol string, scopeVals ...string)
internal/store/comments.go:674
↓ 2 callers
Method
lockConnectionTx
lockConnectionTx takes the connection row's write lock inside tx (a no-op UPDATE: a row lock on Postgres, the database write lock on SQLite), so a gua
internal/store/oauth_connections.go:419
↓ 2 callers
Method
lockOwnComment
lockOwnComment reads the comment the caller addresses through itemID, row locked on Postgres as the human edit locks it, and refuses unless it is on t
internal/store/fenced_comments.go:145
↓ 2 callers
Method
lockUserRowTx
lockUserRowTx takes the account row lock (Postgres; SQLite's BEGIN IMMEDIATE already serializes writers). sql.ErrNoRows when it is gone.
internal/store/oauth_identities.go:48
↓ 2 callers
Function
lockWaiters
lockWaiters counts this test database's backends waiting on a lock.
internal/store/delete_account_writer_lockorder_test.go:342
↓ 2 callers
Function
lockedDir
lockedDir builds root/name the way mkdirOwned does, in its order: take the flock in a staging directory, then rename into place. The returned file hol
internal/testtmp/lock_unix_test.go:30
↓ 2 callers
Function
lockedGesture
(e: Event)
web/src/lib/collections/lockableDndzone.ts:47
↓ 2 callers
Method
logActivityWithMetaReturningID
(workspaceID, documentID, action string, r *http.Request, metadata string)
internal/server/handlers_documents.go:449
← previous
next →
7,601–7,700 of 28,840, ranked by callers