Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/avelino/outl
/ functions
Functions
3,488 in github.com/avelino/outl
⨍
Functions
3,488
◇
Types & classes
420
↓ 1 callers
Function
run_command
Run a plugin command under the workspace lock, then re-project `.md` if it mutated anything.
crates/outl-tauri-shared/src/plugin_thread.rs:229
↓ 1 callers
Function
run_command
Run a plugin command and project the result back to disk. Mutation goes through `host.run_command`, which routes every intent through `outl-actions`
crates/outl-cli/src/cmd/plugin.rs:232
↓ 1 callers
Function
run_command
Execute a `:command` from the command bar. Returns `Ok(true)` when the command quits the app. Routes everything through the `command_registry`. The v
crates/outl-tui/src/input/overlay.rs:165
↓ 1 callers
Function
run_gossip
The gossip supervisor task `run_iroh` spawns once. Owns BOTH the announce drain and the membership broadcast (one [`GossipSender`] shared between the
crates/outl-sync-iroh/src/engine_gossip.rs:207
↓ 1 callers
Method
run_inline_search
Build a search the same way the `/` overlay does, jump straight to the first hit, persist the rest into `last_search` so `n`/`N` can walk through them
crates/outl-tui/src/actions/nav.rs:445
↓ 1 callers
Function
run_iroh
( identity: Arc<IrohIdentity>, peers: Arc<Mutex<PeersStore>>, health: PeerHealthMap, pairing_h
crates/outl-sync-iroh/src/engine.rs:407
↓ 1 callers
Function
run_json
`outl doctor --json` shape — emits the envelope and exits 1 when the report has errors.
crates/outl-cli/src/cmd/doctor.rs:317
↓ 1 callers
Function
run_plugin_thread
The plugin thread's event loop. Owns the `PluginHost` (and thus the Boa `Context`) for its entire lifetime — nothing here ever moves the host across a
crates/outl-tauri-shared/src/plugin_thread.rs:24
↓ 1 callers
Function
run_sync
Force a one-shot P2P sync pass: bring a transport up, let the boot-time + catch-up sync exchange ops with every paired device, then shut down. An eph
crates/outl-cli/src/main.rs:451
↓ 1 callers
Function
run_sync_hooks
Dispatch the `onOp` sweep under the workspace lock, re-projecting if a hook mutated the workspace. Returns the intents applied + any `ui-render` views
crates/outl-tauri-shared/src/plugin_thread.rs:253
↓ 1 callers
Function
run_tool
(name: &str, args: &Value, ctx: &Arc<ServerCtx>)
crates/outl-cli/src/mcp/tools/dispatch.rs:82
↓ 1 callers
Function
same_subnet_v4
Does `peer` share a subnet with `local` (i.e. `peer & mask == local & mask`)?
crates/outl-sync-iroh/src/peers.rs:56
↓ 1 callers
Function
save
Save `config` to the default path atomically (`config.toml.tmp` → `config.toml` rename). Creates `~/.config/outl/` if missing.
crates/outl-config/src/lib.rs:98
↓ 1 callers
Function
save
()
crates/outl-desktop/src/components/SettingsModal.tsx:62
↓ 1 callers
Method
save_snapshot
(&mut self, snapshot: &Snapshot)
crates/outl-core/src/storage/memory.rs:107
↓ 1 callers
Function
scanQrTicket
Scan a QR with the device camera, returning the decoded string. * Resolves `null` when the user cancels the scanner. Loaded lazily so * the (mobil
crates/outl-mobile/src/components/DevicesSheet.tsx:96
↓ 1 callers
Function
scan_dir
(ws: &Workspace, dir: &Path, out: &mut Vec<PathBuf>)
crates/outl-actions/src/desync.rs:78
↓ 1 callers
Function
scan_dir
(dir: &Path, out: &mut Vec<PathBuf>)
crates/outl-actions/src/sync.rs:391
↓ 1 callers
Function
score_match
Score `shortcode` against a lowercased `query`. `None` means no match. The bias toward shorter shortcodes is intentional: when the user types `:smi`,
crates/outl-md/src/emoji.rs:126
↓ 1 callers
Function
search
Search the official registry and print matches with their install command. Network-only — no workspace needed.
crates/outl-cli/src/cmd/plugin.rs:154
↓ 1 callers
Method
search
Case-insensitive substring search over each entry's id, name, description, category, and keywords. An empty query returns every entry (the "browse all
crates/outl-plugins/src/registry.rs:80
↓ 1 callers
Function
searchBlocks
(query: string)
crates/outl-frontend-shared/src/api/commands.ts:114
↓ 1 callers
Function
searchPages
(query: string)
crates/outl-frontend-shared/src/api/commands.ts:80
↓ 1 callers
Method
search_next
Jump to the next hit in the last `/` search. No-op if there's no saved search or the cursor is at the end.
crates/outl-tui/src/actions/overlay.rs:283
↓ 1 callers
Function
seed_one_op_at
Append a single `Op::Create` op stamped at `physical_ms` (with `logical` counter) under `actor`, returning the created node id. Used to plant a far-fu
crates/outl-sync-iroh/tests/regression.rs:626
↓ 1 callers
Function
selected
()
crates/outl-desktop/src/components/InlineBacklinks.tsx:133
↓ 1 callers
Function
serve
Run the stdio MCP loop. Returns when the client closes stdin.
crates/outl-cli/src/mcp/mod.rs:44
↓ 1 callers
Method
serve
(&self, conn: &iroh::endpoint::Connection, arm: HostArm)
crates/outl-sync-iroh/src/engine_pairing.rs:272
↓ 1 callers
Method
serve
Bidirectional delta sync (responder side). Mirrors [`delta_sync`] on the same bi stream, four framed messages: 1. read the initiator's [`SyncRequest`
crates/outl-sync-iroh/src/engine_sync.rs:488
↓ 1 callers
Function
set
Set a `key=value` property on a page (CLI shape — parses the `key=value` shorthand). MCP and other typed callers should use [`set_kv`] directly to avo
crates/outl-cli/src/cmd/prop.rs:99
↓ 1 callers
Function
setWorkspace
(path: string)
crates/outl-desktop/src/lib/api.ts:39
↓ 1 callers
Function
set_block_collapsed
Set or flip the `collapsed` flag on a block. Deliberately bypasses `finish_in_page` — `Op::SetCollapsed` changes neither the `.md` body nor the sideca
crates/outl-tauri-shared/src/commands/block.rs:220
↓ 1 callers
Function
set_enabled
( storage_root: &R, id: &str, enabled: bool, )
crates/outl-tauri-shared/src/plugin_thread.rs:168
↓ 1 callers
Method
set_network
(&mut self, domains: Vec<crate::permission::NetworkDomain>)
crates/outl-plugins/src/engine.rs:134
↓ 1 callers
Method
set_property_on_current_block
Set (or replace) a property on the currently selected block. If `value` is empty the property is **removed** — gives users a single command for both e
crates/outl-tui/src/actions/block/metadata.rs:18
↓ 1 callers
Method
set_property_on_page
Set (or replace) a *page-level* property — the ones at the top of the `.md` (`title::`, `icon::`, ...). Empty value removes. Bound to `/prop-page <key
crates/outl-tui/src/actions/block/metadata.rs:42
↓ 1 callers
Method
set_storage
(&mut self, enabled: bool, kv: serde_json::Map<String, Value>)
crates/outl-plugins/src/engine.rs:138
↓ 1 callers
Function
shortNodeId
Short, human-glanceable prefix of a long hex node id.
crates/outl-desktop/src/components/SyncPanel.tsx:94
↓ 1 callers
Function
show
(name: &str)
crates/outl-cli/src/cmd/theme.rs:31
↓ 1 callers
Method
shutdown_transport
Tear the transport down (called when the stdio pipe closes).
crates/outl-cli/src/mcp/mod.rs:251
↓ 1 callers
Method
sidebar_activate
`Enter` on the focused sidebar item: open the page (or journal) it points at. No-op for Calendar until that section gains its own day cursor.
crates/outl-tui/src/actions/sidebar.rs:107
↓ 1 callers
Method
sidebar_blur
`Esc` inside a focused sidebar: keep the sidebar visible but hand the keyboard back to the outline. The cursor remembers its position so Tab can re-en
crates/outl-tui/src/actions/sidebar.rs:59
↓ 1 callers
Method
sidebar_item_count
(&self, section: SidebarSection)
crates/outl-tui/src/actions/sidebar.rs:145
↓ 1 callers
Method
sidebar_open_focused
`\` while the sidebar is closed: open it and drop focus onto the first non-empty section. Pinned wins by default (the user explicitly curated those).
crates/outl-tui/src/actions/sidebar.rs:34
↓ 1 callers
Function
slash_visual_names
Helper: open the slash palette, set the query, refresh, and return the list of command names in visual (paint) order.
crates/outl-tui/src/actions/overlay.rs:693
↓ 1 callers
Function
snapshot
(tree: &Tree)
crates/outl-core/tests/convergence_property.rs:62
↓ 1 callers
Method
snapshot_path
(&self)
crates/outl-core/src/storage/jsonl.rs:82
↓ 1 callers
Function
solarized_dark
Solarized Dark — Ethan Schoonover's classic muted palette.
crates/outl-theme/src/presets.rs:318
↓ 1 callers
Function
solarized_dark
Solarized Dark — Ethan Schoonover's classic.
crates/outl-tui/src/theme.rs:421
↓ 1 callers
Method
spawn_background_snapshot
Build a `SnapshotBody` from the current materialized state and hand it to a worker thread that runs [`snapshot::write_to_disk`]. Non-blocking: the enc
crates/outl-core/src/workspace.rs:353
↓ 1 callers
Method
spawn_jsonl_poller
Spawn the background watcher that picks up ops written by peers (mobile, another TUI) into `<root>/ops/`. Change detection is delegated to a [`outl_a
crates/outl-tui/src/actions/lifecycle/peer_sync.rs:82
↓ 1 callers
Method
spawn_orphan_md_scanner
Spawn the background scanner that finds `.md` files whose op log entry doesn't exist yet (no sidecar) or is out of sync (sidecar `last_synced_hash` di
crates/outl-tui/src/actions/lifecycle/peer_sync.rs:141
↓ 1 callers
Function
spawn_workspace_opener
( workspace_slot: Arc<Mutex<Option<Workspace>>>, storage_root_slot: Arc<Mutex<Option<PathBuf>>>, f
crates/outl-desktop/src-tauri/src/workspace_open.rs:92
↓ 1 callers
Function
spawn_workspace_opener
Background opener. Runs once per process; sets the inner `Option<Workspace>` and emits the `workspace-ready` event when done. Unlike the desktop open
crates/outl-mobile/src-tauri/src/workspace_open.rs:123
↓ 1 callers
Function
split_block_prefixes
Strip TODO/DONE and `"> "` blockquote prefixes off a block's text in **either order**. Returns `(todo_state, quoted, body)`. Why both orders: the TUI
crates/outl-tui/src/view/inline.rs:49
↓ 1 callers
Function
split_paragraphs
Split pasted plain text into one block per non-blank line. In a `text/plain` clipboard a paragraph is a **single line** — the visual wrap of a long s
crates/outl-actions/src/paste/mod.rs:251
↓ 1 callers
Function
split_quote_prefix
Strip an optional `"> "` blockquote prefix off a block's text. Returns `(quoted, body)` — same shape as [`outl_actions::split_quote`]. The wrapper exi
crates/outl-tui/src/view/inline.rs:32
↓ 1 callers
Function
split_todo_prefix
Strip an optional `TODO`/`DONE` prefix off a block's text, returning both the stripped body and a marker describing what was present. `true` means `D
crates/outl-tui/src/view/inline.rs:18
↓ 1 callers
Method
step_backward
Mirror of [`step_forward`], moving one position upward.
crates/outl-tui/src/actions/nav.rs:276
↓ 1 callers
Method
step_forward
Advance the cursor by one position in the virtual flat list `outline blocks ++ backlink section blocks`. Returns `true` if the cursor moved, `false` w
crates/outl-tui/src/actions/nav.rs:213
↓ 1 callers
Function
stringify
(value: &PropValue)
crates/outl-cli/src/cmd/prop.rs:173
↓ 1 callers
Function
strip_block_marker
(stripped: &str)
crates/outl-md/src/parse.rs:413
↓ 1 callers
Function
strip_indent
Drop `level * INDENT_WIDTH` leading spaces from a line if present. Used inside fenced code blocks so we don't bake outline indent into the user's lite
crates/outl-md/src/parse.rs:373
↓ 1 callers
Function
strip_leading_hash
(tag: &str)
crates/outl-cli/src/cmd/tag.rs:134
↓ 1 callers
Function
strip_property_lines
(md: &str)
crates/outl-cli/src/cmd/export_v2.rs:245
↓ 1 callers
Function
subscribe
Subscribe to the topic for `wid`, returning the split sender/receiver. Returns `None` (skipping real-time gossip until the next id change) if the sub
crates/outl-sync-iroh/src/engine_gossip.rs:77
↓ 1 callers
Method
subscribe_wid_changed
Subscribe an additional consumer to the workspace-id-changed signal. `run_iroh` already holds one receiver (driving the gossip re-subscribe); the cat
crates/outl-sync-iroh/src/engine_pairing.rs:142
↓ 1 callers
Method
substitute_char
`s` — delete the char under the cursor and enter Insert (vim's substitute char = `xi`). On an empty block lands at column 0 in Insert without touching
crates/outl-tui/src/actions/text_ops.rs:90
↓ 1 callers
Function
subtree_len
Number of nodes in `block`'s subtree, itself included.
crates/outl-actions/src/desync.rs:219
↓ 1 callers
Function
summarize
(reports: &[ReconcileReport])
crates/outl-cli/src/cmd/serve.rs:137
↓ 1 callers
Function
summarize_day
(args: &Value, ctx: &Arc<ServerCtx>)
crates/outl-cli/src/mcp/prompts.rs:55
↓ 1 callers
Function
syncNow
()
crates/outl-frontend-shared/src/api/commands.ts:466
↓ 1 callers
Function
sync_block_text
Walk the parsed AST and the freshly built sidecar block list in lockstep (both in DFS preorder) and emit one `Op::Edit` per block whose text doesn't a
crates/outl-md/src/reconcile.rs:375
↓ 1 callers
Method
sync_pull
Ask the sync-transport plugin for remote ops and apply each through `Workspace::apply` (HLC-observed, idempotent). The plugin only transports bytes —
crates/outl-plugins/src/host.rs:529
↓ 1 callers
Method
sync_push
Hand the sync-transport plugin the JSONL of **locally-authored** ops produced since the last push, so it can ship them to its backend. Returns how man
crates/outl-plugins/src/host.rs:499
↓ 1 callers
Function
synth_journal
(i: usize, shape: WorkspaceShape)
crates/outl-md/benches/common.rs:123
↓ 1 callers
Function
synth_page
Generate one page of `blocks` bullets with a mix of inline tokens and an embedded fenced code block — representative of a "real" notebook page, not a
crates/outl-md/benches/parse.rs:22
↓ 1 callers
Function
synth_page
(i: usize, shape: WorkspaceShape)
crates/outl-md/benches/common.rs:105
↓ 1 callers
Function
synth_workspace
Build a fresh workspace on disk matching `shape`. Returns the `TempDir` so the caller's lifetime keeps the files alive.
crates/outl-md/benches/common.rs:82
↓ 1 callers
Function
tags_from_yaml
Extract tags from a YAML value. Frontmatter dialects allow three shapes: - scalar: `tags: foo` (also comma / space separated) - inline list: `tags: [f
crates/outl-md/src/frontmatter.rs:148
↓ 1 callers
Function
takePendingDeepLink
()
crates/outl-desktop/src/lib/api.ts:22
↓ 1 callers
Method
take_dirty_storage
(&mut self)
crates/outl-plugins/src/engine.rs:145
↓ 1 callers
Function
target_within
True iff `target` sits inside `root`, after canonicalisation when possible. We canonicalise to defeat symlink tricks; if canonicalisation fails (the p
crates/outl-cli/src/cmd/export_v2.rs:236
↓ 1 callers
Function
text_contains_tag
True when `text` mentions `#tag` as a whole tag token. `tag` is the tag name without the leading `#` (e.g. `"project"`). `#tag-longer` / `#tag/sub` d
crates/outl-md/src/tag.rs:23
↓ 1 callers
Function
text_properties_of
Textual properties of `node`, minus the internal `page-slug` / `page-kind` book-keeping keys, alphabetically sorted by key so the output is stable acr
crates/outl-actions/src/tree.rs:19
↓ 1 callers
Function
throbber_frame
Pick a Braille spinner frame from the system clock. 10 frames at 100 ms each = one full rotation per second. Works without holding any tick counter in
crates/outl-tui/src/view/chrome.rs:211
↓ 1 callers
Function
ticketToSvg
(ticket: string, opts: TicketQrOptions = {})
crates/outl-frontend-shared/src/peers/qr.ts:36
↓ 1 callers
Function
ticket_qr
Render an [`EndpointAddr`]'s ticket as a block-character QR for the terminal.
crates/outl-sync-iroh/src/pairing.rs:203
↓ 1 callers
Function
titleFor
Human-readable title for a known error code.
extensions/raycast/src/lib/errors.ts:10
↓ 1 callers
Function
tmp_path
`path` plus a `.tmp` suffix on the filename.
crates/outl-md/src/atomic.rs:69
↓ 1 callers
Method
toast_for
Same as [`Self::toast`] but with a caller-supplied lifetime. Useful when the message needs a beat extra ("compiled in 4.2s, running…") or, conversely,
crates/outl-tui/src/actions/toast.rs:38
↓ 1 callers
Function
todo_prefix
Prefix used in front of a block body to surface its TODO state. Mirrors what the user sees in the TUI today: `[ ]` for open, `[x]` for done, empty fo
crates/outl-cli/src/human.rs:17
↓ 1 callers
Function
toggle
(i: RegistryItem)
crates/outl-desktop/src/components/PluginMarketplace.tsx:86
↓ 1 callers
Function
toggle
(i: RegistryItem)
crates/outl-mobile/src/components/PluginSheet.tsx:110
↓ 1 callers
Method
toggleTodo
Cycle a block's TODO state (None → TODO → DONE → None).
plugin-sdk/src/index.ts:185
↓ 1 callers
Function
toggle_block_collapsed
Flip `node`'s collapsed flag. Returns the new value.
crates/outl-actions/src/collapsed.rs:54
↓ 1 callers
Method
toggle_collapse_selected
Toggle the collapsed flag on the currently selected outline block. No-op when the cursor is in Insert / Visual or focused on the backlinks pane. The
crates/outl-tui/src/actions/collapsed.rs:45
↓ 1 callers
Method
toggle_todo_backlink
Cross-page TODO cycle: load the source page, mutate the referencing block (resolved via `source_block_path + sub_path`), and save it through `save_pag
crates/outl-tui/src/actions/block/backlink_edit.rs:113
↓ 1 callers
Function
toks_contain_tag
(toks: &[InlineTok<'_>], tag: &str)
crates/outl-md/src/tag.rs:27
↓ 1 callers
Function
toml_string
(s: &str)
crates/outl-cli/src/cmd/export_v2.rs:215
← previous
next →
1,601–1,700 of 3,488, ranked by callers