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
Method
ILike
()
internal/store/dialect.go:221
Function
ImportAlias
(r *nh.Request)
internal/server/testdata/bodyreaders/fixture.go:35
Function
InsideSwitch
(r *nh.Request)
internal/server/testdata/bodyreaders/fixture.go:101
Function
InstallSkill
InstallSkill writes the embedded pad SKILL.md to the target directory. target should be either "project" or "global".
internal/cli/skills.go:74
Method
InvocationSlugIndexTaken
InvocationSlugIndexTaken reports whether a live item in collectionID would collide with slug in idx_items_invocation_slug_per_collection, using the in
internal/store/app_pending.go:347
Method
Is
Is matches the refusal sentinel.
internal/schedule/links.go:243
Method
Is
Is matches ErrLinkLimit.
internal/schedule/links.go:257
Method
Is
Is makes errors.Is(err, ErrMalformed) true for any *MalformedError.
internal/schedule/errors.go:82
Function
IsTerminal
IsTerminal returns true if stdin is a terminal (not piped/redirected).
internal/cli/skills.go:107
Method
IsValid
()
internal/store/nulguard.go:423
Function
IsValidActor
(a string)
internal/models/document.go:212
Function
IsValidSource
(s string)
internal/models/document.go:216
Method
ItemLastRestoreSeq
ItemLastRestoreSeq returns items.last_restore_seq — the item.seq stamped by the most recent version RESTORE (BUG-2264), or (0, false) when the item ha
internal/store/yjs_updates.go:399
Method
ItemLastRestoreSeq
(itemID string)
internal/collab/manager_test.go:343
Method
JSONArrayContains
(column, value string)
internal/store/dialect.go:243
Method
JSONArrayContains
(column, value string)
internal/store/dialect.go:387
Method
JSONArrayElements
(column, alias string)
internal/store/dialect.go:249
Method
JSONArrayElements
(column, alias string)
internal/store/dialect.go:392
Method
JSONExtractPath
(column, path string)
internal/store/dialect.go:183
Method
JSONExtractPath
(column, path string)
internal/store/dialect.go:275
Method
JSONFieldEquals
(column, key, arg string)
internal/store/dialect_fieldvalue.go:91
Method
JSONFieldEquals
(column, key, arg string)
internal/store/dialect_fieldvalue.go:132
Method
JSONFieldOrder
(column, key, dir string)
internal/store/dialect_fieldvalue.go:112
Method
JSONFieldOrder
(column, key, dir string)
internal/store/dialect_fieldvalue.go:155
Method
JSONRemove
JSONRemove returns SQL to remove a key from a JSON column. SQLite: json_remove(col, '$.key') PostgreSQL: col::jsonb - 'key'
internal/store/dialect.go:63
Method
JSONRemove
(column, key string)
internal/store/dialect.go:191
Method
JSONSet
(column, key string)
internal/store/dialect.go:187
Method
JSONSet
(column, key string)
internal/store/dialect.go:280
Function
Latest
Latest keeps the newest row per criterion, in the order first seen.
internal/verification/verification.go:139
Method
LatestSnapshot
LatestSnapshot returns the most recent snapshot for a workspace, or nil.
internal/store/snapshots.go:67
Method
LatestYjsUpdateSchemaVersion
LatestYjsUpdateSchemaVersion returns the `schema_version` AND `id` of the most recently appended op-log row for an item. The boolean is false when no
internal/store/yjs_updates.go:315
Method
LatestYjsUpdateSchemaVersion
LatestYjsUpdateSchemaVersion mirrors the production store: returns the most recent op-log row's schema_version AND id for an item, or (false) when no
internal/collab/manager_test.go:173
Method
Len
()
internal/schedule/internal/rrule/rruleset.go:122
Method
Less
(i, j int)
internal/schedule/internal/rrule/rruleset.go:124
Method
ListCollectionItems
ListCollectionItems returns items within a specific collection.
internal/cli/client.go:500
Method
ListCustomTemplates
(workspaceID string)
internal/store/templates.go:10
Method
ListDormantOpLogItemsBefore
ListDormantOpLogItemsBefore returns the distinct item_ids whose ENTIRE op-log is older than the given cutoff AND whose items.content_flushed_op_log_id
internal/store/yjs_updates.go:550
Method
ListDormantOpLogItemsBefore
ListDormantOpLogItemsBefore returns item_ids whose entire op-log is older than the cutoff. Mirrors the production store's `GROUP BY item_id HAVING MAX
internal/collab/manager_test.go:246
Method
ListForUser
(string)
internal/server/handlers_push_presence_unreadable_test.go:32
Method
ListForUser
ListForUser implements SessionPresence, oldest connection first with the session id as a tiebreaker so the order is deterministic even for two connect
internal/server/session_presence.go:420
Method
ListItemVersions
ListItemVersions returns the item's version history (newest-first), with reverse-patch diffs already resolved to full content server-side. Backs `pad
internal/cli/client.go:732
Method
ListItems
--- Items --- ListItems returns items across all collections in a workspace. Use params for filtering, sorting, grouping, pagination, etc.
internal/cli/client.go:344
Method
ListSnapshots
ListSnapshots returns snapshots for a workspace, ordered chronologically.
internal/store/snapshots.go:24
Method
ListWebhooks
ListWebhooks lists a workspace's webhooks. A soft-deleted workspace has none (BUG-3340): the dispatcher's two delivery paths list through here, so its
internal/store/webhooks.go:168
Method
ListWebhooks
--- Webhooks --- ListWebhooks returns all webhooks for a workspace.
internal/cli/client.go:1832
Method
ListWebhooks
(workspaceID string)
internal/webhooks/dispatcher_test.go:58
Method
ListWorkspaces
--- Workspaces ---
internal/cli/client.go:223
Method
ListWorkspaces
(_ context.Context)
internal/mcp/errors_test.go:72
Method
ListWorkspaces
ListWorkspaces satisfies WorkspaceLister so error helpers can populate available_workspaces hints. Best-effort: if listing fails (no auth, network dow
internal/mcp/dispatch.go:324
Method
ListWorkspaces
ListWorkspaces returns the workspaces the agent is allowed to see in error-envelope hints, filtered by the OAuth allow-list. Behaviour by token state
internal/mcp/dispatch_http_lister.go:102
Method
ListWorkspaces
(ctx context.Context)
internal/mcp/dispatch_http_workspace_default_test.go:32
Method
ListenAndServe
ListenAndServe binds addr and serves until the server is shut down. It is Listen followed by Serve; callers that need to act BETWEEN the bind and the
internal/server/server.go:2847
Method
LoadYjsUpdatesSince
LoadYjsUpdatesSince returns the Yjs op-log rows for an item with id strictly greater than sinceID, ordered by id ascending. A sinceID of 0 returns ev
internal/store/yjs_updates.go:252
Method
LoadYjsUpdatesSince
(itemID string, sinceID int64)
internal/collab/manager_test.go:156
Function
LocalAlias
(orig *nh.Request)
internal/server/testdata/bodyreaders/fixture.go:71
Method
MCPInsufficientScope
MCPInsufficientScope answers 403 with an insufficient_scope challenge when an OAuth connection that cannot write calls a tool action that writes (TASK
internal/server/middleware_mcp_scope.go:56
Function
MCPResourceMetadataURLFromContext
MCPResourceMetadataURLFromContext is the protected-resource metadata URL of the MCP mount the request arrived on, or "" off a mount. The ChatGPT catal
internal/server/middleware_mcp_auth.go:683
Method
MarkChatDelivered
MarkChatDelivered acknowledges only messages printed by this monitor (TASK-4041).
internal/cli/client.go:1021
Method
MarshalJSON
()
internal/logging/redaction_followups_test.go:1595
Method
MarshalJSON
MarshalJSON serializes the union per spec §5.2.
internal/cmdhelp/types.go:107
Method
MarshalJSON
MarshalJSON adds a derived, read-only `edited` (IsEdited) to every serialised comment, so an agent reading JSON on either MCP transport sees the same
internal/models/comment.go:92
Method
MarshalJSON
()
internal/models/item.go:234
Method
MarshalText
()
internal/logging/redaction_followups_test.go:1591
Method
Materialize
Materialize replays job.Rows and returns the markdown a tab would flush. When ctx ends while the JavaScript runs, the runtime is interrupted and the
internal/materialize/materialize.go:175
Method
Materialize
(_ context.Context, job materialize.Job)
internal/server/materialize_recovery_test.go:42
Method
MaxOpLogID
MaxOpLogID returns MAX(id) of the persisted op-log rows for an item. ok is false when no rows exist. Used by the watermark- advancement check on colla
internal/store/yjs_updates.go:373
Function
MethodValue
(r *nh.Request)
internal/server/testdata/bodyreaders/fixture.go:60
Method
MinOpLogID
MinOpLogID returns MIN(id) of the persisted op-log rows for an item. ok is false when no rows exist (a freshly-pruned or never- touched item). Used by
internal/store/yjs_updates.go:347
Method
MinOpLogID
MinOpLogID + MaxOpLogID power TASK-1319's resume-cursor protocol.
internal/collab/manager_test.go:309
Function
MixedShortDecl
(r *nh.Request)
internal/server/testdata/bodyreaders/fixture.go:93
Method
Model
()
internal/decision/typesafe.go:173
Method
Model
()
internal/server/handlers_playbook_match_test.go:33
Method
Model
()
internal/server/task3618_item_context_decisions_test.go:17
Method
Model
()
internal/server/handlers_decisions_test.go:22
Method
Model
()
internal/server/dashboard_attention_decisions_test.go:24
Method
Model
()
internal/server/decision_settings_test.go:392
Method
Model
()
internal/server/decision_settings_test.go:565
Method
MoveItem
(wsSlug, itemSlug string, input map[string]any)
internal/cli/client.go:1092
Method
N
N returns index of the week, e.g. for 3MO, N() will return 3
internal/schedule/internal/rrule/rrule.go:72
Function
NOOP
()
web/src/lib/webmcp/register.ts:28
Method
Name
()
internal/decision/typesafe.go:172
Method
Name
()
internal/server/handlers_playbook_match_test.go:32
Method
Name
()
internal/server/task3618_item_context_decisions_test.go:16
Method
Name
()
internal/server/handlers_decisions_test.go:21
Method
Name
()
internal/server/needs_scorers.go:267
Method
Name
()
internal/server/needs_scorers.go:506
Method
Name
()
internal/server/dashboard_attention_decisions_test.go:23
Method
Name
()
internal/server/decision_settings_test.go:391
Method
Name
()
internal/server/decision_settings_test.go:564
Method
Name
()
internal/server/needs_scorers_test.go:543
Method
Name
()
internal/server/handlers_me_needs_test.go:559
Function
NamedResult
()
internal/server/testdata/bodyreaders/fixture.go:49
Function
NewClient
(host string, port int)
internal/cli/client.go:72
Function
NewOAuthWorkspaceLister
NewOAuthWorkspaceLister wires a lister against a *store.Store. Production wiring (cmd/pad/main.go) calls this; tests use the alternate constructor tha
internal/mcp/dispatch_http_lister.go:63
Function
NewProcessor
NewProcessor on the libvips build is a placeholder until Phase 2 ships the real govips-v2-backed implementation (DOC-865, "ImageProcessor interface wi
internal/attachments/processor_libvips.go:24
Function
NotARequest
(p payload)
internal/server/testdata/bodyreaders/fixture.go:120
Method
NotificationDropped
(string)
internal/watchevents/cold_resume_test.go:191
Method
NotificationDropped
(reason string)
internal/watchevents/observer_test.go:37
Method
NotificationDropped
(string)
internal/watchevents/observer_test.go:528
Method
Now
()
internal/store/dialect.go:288
← previous
next →
15,601–15,700 of 28,840, ranked by callers