MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 2 callersMethodjudgeVerifications
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 callersFunctionkeepPathHelperKeepArm
(t *testing.T, name string, check func(string, string) (*models.WorkspaceMember, error))
internal/server/handlers_import_bundle_partial_test.go:192
↓ 2 callersFunctionkeepPathOwnerAddFailureRemoves
(t *testing.T, driver store.DriverType)
internal/server/handlers_import_bundle_partial_test.go:141
↓ 2 callersFunctionkeepPathPartialIsReachable
(t *testing.T, driver store.DriverType)
internal/server/handlers_import_bundle_partial_test.go:99
↓ 2 callersFunctionkeepRecordedOnTerminal
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 callersMethodkeepalive
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 callersFunctionkeptPartialImportRemaps
(t *testing.T, driver store.DriverType)
internal/server/bug3656_import_remap_test.go:102
↓ 2 callersFunctionkey
(r: { len: number; gap: number })
web/src/lib/utils/markdown.ts:1112
↓ 2 callersFunctionkey
(userId: string | null, ws: string)
web/src/lib/stores/localIndexPersistence.ts:200
↓ 2 callersFunctionkey
(code: string)
web/src/lib/invitations/proof.ts:15
↓ 2 callersFunctionkey
(ws: string, section: CappedSection)
web/src/lib/dashboard/caps.ts:45
↓ 2 callersMethodkeyFor
(path: string)
web/src/lib/stores/homeOverview.svelte.ts:23
↓ 2 callersFunctionkeyedEaches
(file: string, src: string)
web/src/lib/eachKeyCensus.test.ts:62
↓ 2 callersFunctionkeysOf
(m map[string]any)
internal/server/handlers_items_content_echo_test.go:132
↓ 2 callersFunctionkeysOnPosition
(keyNode: Node, index: string | undefined)
web/src/lib/eachKeyCensus.test.ts:96
↓ 2 callersFunctionkickAll
(set map[*kickReg]struct{})
internal/server/access_kick.go:119
↓ 2 callersMethodkickUser
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 callersMethodkickWorkspace
(workspaceID string)
internal/server/access_kick.go:110
↓ 2 callersFunctionkid
(id: string, n: number)
web/src/lib/components/childItemsReorderFailure.svelte.test.ts:8
↓ 2 callersFunctionkind
(k: string)
web/e2e/task-2224-sse-request-budget.spec.ts:237
↓ 2 callersMethodkindLabel
()
cmd/pad/cmd_schedule.go:116
↓ 2 callersFunctionkindsFixture
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 callersFunctionland
* 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 callersMethodlanded
A save landed: the row is now at `seq`, holding `sent`.
web/src/lib/items/rawBase.ts:32
↓ 2 callersFunctionlaneValue
* 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 callersFunctionlaneWriteRefusalMessage
(reason: LaneWriteRefusal, fieldLabel: string)
web/src/lib/collections/laneWriteValue.ts:130
↓ 2 callersFunctionlargeDistinctWords
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 callersFunctionlastHrefSegment
* 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 callersFunctionlastOccurrenceCases
()
internal/store/schedule_end_guard_test.go:57
↓ 2 callersFunctionlateUploadRow
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 callersFunctionlaterInstant
(a, b string)
internal/store/schedule_carry_v2.go:120
↓ 2 callersFunctionleaderElectionSupported
()
web/src/lib/services/sse.svelte.ts:335
↓ 2 callersFunctionleaseDisplayItem
(withLease bool)
internal/cli/format_lease_test.go:37
↓ 2 callersFunctionleaseHolderOf
(t *testing.T, rr *httptest.ResponseRecorder)
internal/server/task1809_lease_agent_default_test.go:41
↓ 2 callersFunctionlegacyAdoptionWorkspace
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 callersFunctionlegacyItemByTitle
(t *testing.T, s *Store, wsID, title string)
internal/store/bug3806_legacy_adoption_race_test.go:41
↓ 2 callersFunctionlegacySkillHashKnown
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 callersFunctionlevelIndex
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 callersFunctionlibraryActivateCmd
()
cmd/pad/cmd_library.go:323
↓ 2 callersFunctionlibraryVocabularyFor
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 callersMethodlifespans
()
internal/oauth/server.go:92
↓ 2 callersFunctionliftFieldsToColumns
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 callersMethodlimiterLocked
limiterLocked is the lookup behind allow and getLimiter. Caller holds rl.mu.
internal/server/middleware_ratelimit.go:154
↓ 2 callersFunctionline
(ref: string, title: string, what: string)
web/src/lib/components/activity/CatchUpCard.svelte.test.ts:52
↓ 2 callersFunctionlineOf
lineOf is the 1-based line on which byte offset p lies.
internal/bodypatch/bodypatch.go:129
↓ 2 callersFunctionlineOf
(s: string, p: number)
web/src/lib/collab/patchApply.ts:64
↓ 2 callersFunctionlink
(extra: Partial<CommitmentLink> = {})
web/src/lib/test/commitmentFixtures.ts:5
↓ 2 callersFunctionlinkAssertLimit
(t *testing.T, err error, kind string, limit, got int)
internal/schedule/links_test.go:480
↓ 2 callersFunctionlinkBlocks
linkBlocks wires blocker -> blocked via a `blocks` link.
internal/store/dashboard_batch_test.go:22
↓ 2 callersFunctionlinkCmd
()
cmd/pad/cmd_workspace.go:740
↓ 2 callersFunctionlinkCycle
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 callersFunctionlinkDay
(t time.Time)
internal/schedule/links.go:550
↓ 2 callersFunctionlinkEndpointDisplay
(link models.ItemLink, useSource bool)
cmd/pad/lineage.go:267
↓ 2 callersMethodlinkGone
(id string)
internal/store/commitment_links_revalidate_test.go:39
↓ 2 callersFunctionlinkLimitEdges
(kind string, n int)
internal/schedule/links_test.go:469
↓ 2 callersFunctionlinkRole
(role Role, source bool)
internal/schedule/links.go:555
↓ 2 callersMethodlinkTuples
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 callersFunctionlinkViolations
(st State, changed map[linkVertex]bool)
internal/schedule/links.go:693
↓ 2 callersFunctionlinkedUpdatedRowsLeg
(t *testing.T, srv *Server)
internal/server/plan2348_timeline_drops_test.go:202
↓ 2 callersFunctionlistAll
(request: APIRequestContext, f: Fixture, n: number)
web/e2e/chat-thread-write.spec.ts:56
↓ 2 callersFunctionlistAllPages
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 callersMethodlistItemVersionsPageQ
(q Queryer, itemID string, limit int)
internal/store/items.go:6939
↓ 2 callersMethodlistItemsPage
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 callersMethodlistItemsQ
(q Queryer, workspaceID string, params models.ItemListParams)
internal/store/items.go:1312
↓ 2 callersFunctionlistKeyNav
( order: readonly string[], focusedId: string | null, step: 1 | -1, )
web/src/lib/collections/listNav.ts:13
↓ 2 callersMethodlistPlaybookItems
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 callersMethodlistStarredItems
(userID, workspaceID string, includeTerminal, withBodies bool)
internal/store/item_stars.go:107
↓ 2 callersMethodlistTerminalItemsSince
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 callersMethodlistVersionsQ
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 callersFunctionlistenOnFreePort
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 callersFunctionliteral
(e ast.Expr)
scripts/ci-web-census/main.go:50
↓ 2 callersFunctionliveFlush
The tab's flush output: ItemDetail's normalize, then serialize.
web/src/lib/collab/materializer/materializerParity.svelte.test.ts:198
↓ 2 callersFunctionliveImport
liveImport sends headers and prefix, stalls, then sends rest, over a fresh connection.
internal/server/handlers_import_bundle_bug3184_test.go:263
↓ 2 callersFunctionliveOwned
(t *testing.T, s *Store, wsID string)
internal/store/bug3099_delete_account_lock_test.go:33
↓ 2 callersFunctionliveWorkspace
(t *testing.T, srv *Server, id string)
internal/server/bug3099_account_delete_owned_test.go:33
↓ 2 callersFunctionlivingChildPID
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 callersMethodload
()
web/src/lib/stores/chatInbox.svelte.ts:282
↓ 2 callersFunctionloadAllow
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 callersFunctionloadCensusPackage
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 callersFunctionloadDashboard
(client *cli.Client, ws string)
cmd/pad/query.go:251
↓ 2 callersFunctionloadItemDetail
()
web/src/lib/components/items/itemDetailLoader.ts:19
↓ 2 callersMethodloadNewer
Fetch one page after the window's newest row.
web/src/lib/stores/chatThread.svelte.ts:324
↓ 2 callersMethodloadOlder
Fetch the page before the window's oldest row. A failure keeps the window.
web/src/lib/stores/chatThread.svelte.ts:303
↓ 2 callersFunctionloadPushCollapseCases
(t *testing.T)
internal/server/push_message_collapse_test.go:19
↓ 2 callersMethodloadResolutionUndoQ
(q Queryer, sc *models.ItemSchedule)
internal/store/schedule_reopen.go:315
↓ 2 callersFunctionloadService
()
web/src/lib/services/sseLiveness.svelte.test.ts:91
↓ 2 callersFunctionloadService
()
web/src/lib/services/sseSyncSpread.svelte.test.ts:77
↓ 2 callersFunctionloadStoreUnlocked
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 callersFunctionloadSuiteFixture
()
web/e2e/fixtures.ts:35
↓ 2 callersFunctionlocalArmStateString
localArmStateString maps the tri-state to the stable JSON token.
cmd/pad/cmd_session.go:707
↓ 2 callersMethodlockBindingsInOrderTx
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 callersMethodlockCommentForDeleteTx
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 callersMethodlockCommentsRootFirstTxCtx
(ctx context.Context, tx *sql.Tx, scopeCol string, scopeVals ...string)
internal/store/comments.go:674
↓ 2 callersMethodlockConnectionTx
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 callersMethodlockOwnComment
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 callersMethodlockUserRowTx
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 callersFunctionlockWaiters
lockWaiters counts this test database's backends waiting on a lock.
internal/store/delete_account_writer_lockorder_test.go:342
↓ 2 callersFunctionlockedDir
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 callersFunctionlockedGesture
(e: Event)
web/src/lib/collections/lockableDndzone.ts:47
↓ 2 callersMethodlogActivityWithMetaReturningID
(workspaceID, documentID, action string, r *http.Request, metadata string)
internal/server/handlers_documents.go:449
← previousnext →7,601–7,700 of 28,840, ranked by callers