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
↓ 2 callers
Method
slash_select_prev
Move the slash overlay selection one step **up** in visual order. Mirror of [`Self::slash_select_next`].
crates/outl-tui/src/actions/overlay.rs:485
↓ 2 callers
Method
snapshot
List every `ops-*.jsonl` file in the workspace with size and mtime. Used by polling detectors (TUI) to decide whether a peer wrote since the last chec
crates/outl-actions/src/sync.rs:303
↓ 2 callers
Method
snapshot_parts
Borrow the three interior maps as a tuple, in the order `(nodes, properties, collapsed)`. Used by the snapshot path to serialize the materialized tree
crates/outl-core/src/tree/mod.rs:144
↓ 2 callers
Method
snapshot_peers
Like [`Self::snapshot`] but **excludes this engine's own `ops-<actor>.jsonl` file**. This is what polling detectors should call: a TUI that reacted t
crates/outl-actions/src/sync.rs:335
↓ 2 callers
Function
some_id
()
crates/outl-sync-iroh/src/health.rs:96
↓ 2 callers
Method
spawn
(workspace: &std::path::Path)
crates/outl-cli/tests/mcp_smoke.rs:35
↓ 2 callers
Function
split_at_char
(s: &str, caret: usize)
crates/outl-actions/src/paste/anchors.rs:269
↓ 2 callers
Method
start
( &self, workspace_root: PathBuf, actor: ActorId, peer_ready_tx: std::sync::mp
crates/outl-sync-iroh/src/engine.rs:262
↓ 2 callers
Function
startEdit
(id: string, initial: string)
crates/outl-mobile/src/components/Journal.tsx:669
↓ 2 callers
Function
startPairing
* Start hosting a pairing session. The ticket arrives via the * `peer-pairing-ticket` event (wired in `onMount`), which flips us to * the "waiti
crates/outl-desktop/src/components/SyncPanel.tsx:179
↓ 2 callers
Function
start_watcher
Start watching the workspace's `ops/` directory. Returns the live debouncer — the caller keeps it alive (drop = stop watching). When the user switches
crates/outl-desktop/src-tauri/src/fs_watcher.rs:64
↓ 2 callers
Function
start_with_reload_bridge
Start `transport` and bridge its "peer ops landed" signal to a Tauri event. The transport fires `()` on an internal channel whenever peer ops have be
crates/outl-tauri-shared/src/iroh_sync.rs:52
↓ 2 callers
Function
stepMonth
(delta: number)
crates/outl-desktop/src/components/Sidebar.tsx:251
↓ 2 callers
Function
stepMonth
(dir: -1 | 1)
crates/outl-mobile/src/components/Calendar.tsx:81
↓ 2 callers
Function
step_history
( state: &State<'_, AppState>, page_id: &str, direction: Direction, )
crates/outl-desktop/src-tauri/src/commands/history.rs:35
↓ 2 callers
Method
storage_path
(&self, id: &str)
crates/outl-plugins/src/host.rs:184
↓ 2 callers
Function
storage_root_or_err
The current storage root, or the `workspace_loading` sentinel. Convenience alias over [`AppHost::storage_root`] so command bodies read like the pre-ex
crates/outl-tauri-shared/src/helpers.rs:64
↓ 2 callers
Function
strip_ordinal_suffixes
Remove `1st` / `2nd` / `3rd` / `4th`…`31st` ordinal suffixes so the day token parses as a plain number.
crates/outl-actions/src/dates.rs:264
↓ 2 callers
Function
strip_pair
Strip every `open … close` pair from `s` for which `should_strip(inner)` returns `true`. Pairs that the filter rejects are copied through verbatim, op
crates/outl-actions/src/paste/normalize.rs:248
↓ 2 callers
Method
substitute_block
`S` / `cc` — clear the block's text and enter Insert at column 0. vim's "substitute line" — rewrite this block from scratch.
crates/outl-tui/src/actions/text_ops.rs:75
↓ 2 callers
Method
surface_plugin_run
Show a plugin's `notify` messages and errors as toasts.
crates/outl-tui/src/actions/plugins.rs:348
↓ 2 callers
Function
swap_positions
Swap the positions of two nodes by emitting two `Move` ops. They keep the same parent (this is a sibling-swap helper); use [`indent`] / [`outdent`] fo
crates/outl-actions/src/block/moves.rs:211
↓ 2 callers
Function
sync_hooks
Fire the plugins' `onOp` hook sweep after a user mutation. Best-effort op-hooks (root invariant 7's "any state that converges goes through the op log"
crates/outl-tauri-shared/src/commands/plugin.rs:96
↓ 2 callers
Function
sync_now
Force an immediate P2P sync pass against every paired peer. Backs the GUI's "Refresh" / pull-to-refresh affordance: instead of waiting for the iroh t
crates/outl-tauri-shared/src/commands/peers.rs:130
↓ 2 callers
Method
sync_now
(&self)
crates/outl-sync-iroh/src/engine.rs:385
↓ 2 callers
Method
sync_plugin
Index of the first plugin granted the `sync-transport` capability, if any.
crates/outl-plugins/src/host.rs:488
↓ 2 callers
Function
tag_form
Normalize a tag to `#name` form. Strips any leading `#` the user might have written (source tools accept both `foo` and `#foo`).
crates/outl-md/src/frontmatter.rs:176
↓ 2 callers
Method
take_arm
Take the current arm, if any. Called by the router handler when an inbound `PAIRING_ALPN` connection arrives — `None` means the user has not armed hos
crates/outl-sync-iroh/src/engine_pairing.rs:220
↓ 2 callers
Method
take_output
Take the output accumulated this turn.
crates/outl-plugins/src/engine.rs:96
↓ 2 callers
Method
text
Resolve the body as text.
plugin-sdk/src/index.ts:139
↓ 2 callers
Method
text_map
Borrow the materialized text map. The snapshot path serializes it directly so a snapshot-opened workspace can serve reads without replaying every `Edi
crates/outl-core/src/content.rs:249
↓ 2 callers
Function
threshold
()
crates/outl-mobile/src/components/SwipeRow.tsx:19
↓ 2 callers
Function
time_text
`HH:MM` for the current local time. Plain text — not a journal ref.
crates/outl-tui/src/commands/builtins/dates.rs:42
↓ 2 callers
Function
today_handler
Open today's journal, render its projection, return meta + outline.
crates/outl-cli/src/cmd/daily.rs:111
↓ 2 callers
Function
today_slug
()
crates/outl-tauri-shared/src/commands/page.rs:266
↓ 2 callers
Function
toggleTodo
(pageId: string, id: string)
crates/outl-frontend-shared/src/api/commands.ts:206
↓ 2 callers
Method
toggle_pinned
Toggle the `pinned:: true` page-level property. Wired to the `gp` chord in Normal mode and to the `/pin` slash command; commits straight to disk (no i
crates/outl-tui/src/actions/block/metadata.rs:69
↓ 2 callers
Method
toggle_todo
Cycle the focused block's TODO state: none → `TODO ` → `DONE ` → none. Dispatches by `Focus`: outline blocks edit `app.page` directly; backlink blocks
crates/outl-tui/src/actions/block/metadata.rs:104
↓ 2 callers
Function
topic_id_bytes
The **real** gossip-topic derivation, exposed so an integration test can assert that two devices at DIFFERENT local paths but with the SAME [`Workspac
crates/outl-sync-iroh/src/test_support.rs:190
↓ 2 callers
Method
touch
(&mut self, node: NodeId)
crates/outl-core/src/content.rs:85
↓ 2 callers
Method
transform_block
Run a content transformer for `lang` against a fence `input`. `Ok(None)` means the transformer declined or no plugin owns `lang`; `Ok(Some(_))` carri
crates/outl-tauri-shared/src/plugin_service.rs:241
↓ 2 callers
Function
transformerFor
(lang: string)
crates/outl-frontend-shared/src/plugins/transformer-registry.ts:57
↓ 2 callers
Function
truncate
Truncate `s` to at most `max` chars, appending `…` when trimmed. Used to build the [`ResolvedUid::snippet`] previews.
crates/outl-cli/src/cmd/import/common.rs:134
↓ 2 callers
Function
ui_host
(client_caps: &[Capability])
crates/outl-plugins/src/host_tests.rs:228
↓ 2 callers
Method
undo
Pop the most recent snapshot, stashing `current` on the redo stack. Returns `None` (and leaves `current` unstashed) when there is nothing to undo.
crates/outl-actions/src/history.rs:77
↓ 2 callers
Method
undo_op
Revert one previously-applied op, using its `old_*` fields. For [`Op::Move`] we only revert if the current parent matches the move's `new_parent` — o
crates/outl-core/src/tree/op.rs:128
↓ 2 callers
Function
uninstall
Uninstall a plugin: drop its lockfile entry and delete its installed directory. Returns `true` if anything was removed (entry and/or directory), `fals
crates/outl-plugins/src/loader.rs:183
↓ 2 callers
Method
uninstall
Uninstall a plugin; `true` if anything was removed.
crates/outl-tauri-shared/src/plugin_service.rs:307
↓ 2 callers
Function
userNamedDevice
Whether the user explicitly named this device. Only `updateDeviceName` * ever writes the key, so its presence means "user-chosen".
crates/outl-desktop/src/components/SyncPanel.tsx:70
↓ 2 callers
Function
userNamedDevice
Whether the user explicitly named this device. Only `updateDeviceName` * ever writes the key, so its presence means "user-chosen".
crates/outl-mobile/src/components/DevicesSheet.tsx:67
↓ 2 callers
Function
validate_resource_path
Reject a manifest resource path (`main`, `config_schema`) that could escape the plugin's directory when joined onto it. The path is read from disk rel
crates/outl-plugins/src/manifest.rs:285
↓ 2 callers
Method
verify_bundle
Verify the on-disk bundle matches the locked hash. Returns [`PluginError::BundleHashMismatch`] on divergence — the caller must refuse to load.
crates/outl-plugins/src/lockfile.rs:83
↓ 2 callers
Function
wait_for_pairing_ready
Poll until a transport has published its pairing hub (i.e. `run_iroh` bound the endpoint and registered the PAIRING_ALPN handler). Probes with a deli
crates/outl-sync-iroh/tests/integration.rs:760
↓ 2 callers
Function
walk_subtree
Walk `parent`'s subtree in DFS pre-order and invoke `f` on every descendant `NodeId`. Stops early when `f` returns `false`. Centralises the "walk all
crates/outl-actions/src/tree.rs:139
↓ 2 callers
Function
wall_clock_ms
()
crates/outl-core/src/hlc.rs:131
↓ 2 callers
Function
watched_root_label
(p: &Path)
crates/outl-desktop/src-tauri/src/fs_watcher.rs:152
↓ 2 callers
Function
wire_iroh_transport
Wire the iroh transport into the running app when the config asks for it. Called from the boot opener (and from `set_workspace` on a swap) once the wo
crates/outl-desktop/src-tauri/src/iroh_sync.rs:54
↓ 2 callers
Method
workspace
(&self)
crates/outl-mobile/src-tauri/src/state.rs:79
↓ 2 callers
Function
workspaceStats
()
crates/outl-desktop/src/lib/api.ts:58
↓ 2 callers
Method
workspace_id
Snapshot the host's workspace id to advertise in its pairing payload.
crates/outl-sync-iroh/src/engine_pairing.rs:147
↓ 2 callers
Function
workspace_topic_id
Compute a deterministic gossip topic id from the STABLE, SHARED workspace id. Keyed on [`WorkspaceId`], NOT the local path: two paired devices live a
crates/outl-sync-iroh/src/engine.rs:678
↓ 2 callers
Function
write_config
Write the workspace config.
crates/outl-cli/src/workspace_layout.rs:208
↓ 2 callers
Function
write_page_md
Write a page `.md` to disk. Filename comes from `slugify(name)`. Returns the file path that was written.
crates/outl-cli/src/cmd/import/common.rs:56
↓ 2 callers
Function
write_page_md_with_stem
Same as [`write_page_md`] but the caller can override the on-disk filename stem. Used by importers that need to disambiguate slug collisions (e.g. two
crates/outl-cli/src/cmd/import/common.rs:71
↓ 2 callers
Function
write_property
(out: &mut String, indent: usize, key: &str, value: &str)
crates/outl-md/src/render.rs:72
↓ 2 callers
Function
write_to_disk
Write `body` to `snapshots_dir/snap-<actor>.bin` atomically. Encodes the body to bincode, writes to a sibling `.tmp`, `fsync`s, and renames into plac
crates/outl-core/src/snapshot.rs:212
↓ 2 callers
Function
write_transformer_plugin
(root: &Path)
crates/outl-tui/src/actions/plugins.rs:722
↓ 2 callers
Method
yank_current
Copy the current block (with its subtree) into the yank register. Doesn't mutate the page.
crates/outl-tui/src/actions/yank.rs:161
↓ 2 callers
Method
yank_current_ref
`yr` — capture the block ref handle of the currently selected block. Looks up the block in the workspace index by `(source_slug, source_block_path)`
crates/outl-tui/src/actions/yank.rs:105
↓ 2 callers
Method
yank_visual_range
Copy every block in the Visual range. The range stays in flat-index space, so we walk it twice — once to grab nodes, once to drop the Visual mode.
crates/outl-tui/src/actions/yank.rs:176
↓ 1 callers
Function
Journal
()
crates/outl-mobile/src/components/Journal.tsx:102
↓ 1 callers
Function
PluginViewOverlay
(props: { /** Receives the `push(html)` fn so callers can show a view from anywhere. */ bind: (push: (html
crates/outl-mobile/src/components/PluginViewOverlay.tsx:48
↓ 1 callers
Function
Search
()
extensions/raycast/src/search.tsx:49
↓ 1 callers
Method
abort_insert
Abort Insert: throw away the buffer, leave AST unchanged.
crates/outl-tui/src/actions/block/insert.rs:184
↓ 1 callers
Method
accept_quick_switch
(&mut self)
crates/outl-tui/src/actions/overlay.rs:136
↓ 1 callers
Method
accept_slash
Accept the highlighted slash command. Commands with `needs_args` hand off to the vim palette pre-filled for arg entry; the arg-less ones dispatch thro
crates/outl-tui/src/actions/overlay.rs:502
↓ 1 callers
Method
accept_slash_inline
Slash branch of [`accept_autocomplete`]: erase `/<query>` from the buffer, then dispatch. Commands that **don't** insert text into the buffer (`inser
crates/outl-tui/src/actions/autocomplete.rs:389
↓ 1 callers
Method
adopt_workspace_id
Adopt a remote (host's) workspace id: persist it to `<root>/.outl/workspace-id` and update the live shared handle, so this device now syncs as the hos
crates/outl-sync-iroh/src/engine_pairing.rs:159
↓ 1 callers
Method
aliases
Optional aliases (e.g. `q` for `quit`, `x` for `run`). Looked up by the vim palette so legacy short forms keep working.
crates/outl-tui/src/commands/mod.rs:46
↓ 1 callers
Function
all
Iterator over every built-in palette, in [`PRESETS`] order. Useful for pickers that need to list everything without naming each helper.
crates/outl-theme/src/lib.rs:89
↓ 1 callers
Method
all_ops
(&self)
crates/outl-core/src/storage/memory.rs:103
↓ 1 callers
Method
announce_after_mutation
After a mutating tool commits, wake connected peers so they pull the new ops over gossip instead of waiting for the catch-up re-sync. No-op when the t
crates/outl-cli/src/mcp/mod.rs:238
↓ 1 callers
Function
any_version
()
crates/outl-plugins/src/manifest.rs:82
↓ 1 callers
Function
append
Append a new block as the last child of `page` or `parent`.
crates/outl-cli/src/cmd/block.rs:234
↓ 1 callers
Function
append_forest_under
Append a forest of subtrees under a page or block. Shared with `outl_page_create` when it gets `content`.
crates/outl-cli/src/cmd/block.rs:333
↓ 1 callers
Function
apply_one
(workspace: &mut Workspace, hlc: &HlcGenerator, intent: &HostIntent)
crates/outl-plugins/src/host.rs:586
↓ 1 callers
Function
apply_op
(ctx: &mut WsCtx, op: &str, args: &Value)
crates/outl-cli/src/cmd/batch.rs:124
↓ 1 callers
Function
arb_node
(depth: u32)
crates/outl-md/tests/roundtrip.rs:119
↓ 1 callers
Function
arb_text
()
crates/outl-md/tests/roundtrip.rs:92
↓ 1 callers
Function
armPendingTimeout
()
crates/outl-desktop/src/lib/shortcuts.ts:273
↓ 1 callers
Method
arm_host
Arm hosting and return the ticket the joiner needs, plus the receiver that resolves once a device completes the handshake. Replaces any prior arm (la
crates/outl-sync-iroh/src/engine_pairing.rs:202
↓ 1 callers
Function
assert_no_glued_lines
Fail if any `ops-*.jsonl` file under `<root>/ops` contains a glued-JSON signature (`}{` on a single line) — the op-log corruption the append lock exis
crates/outl-sync-iroh/tests/regression.rs:664
↓ 1 callers
Function
assert_workspaces_equivalent
(a: &Workspace, b: &Workspace)
crates/outl-core/tests/snapshot_equivalence.rs:339
↓ 1 callers
Method
assign_handle
Assign a final handle to `id` and update `handle_to_block`. Determinism: when `base_handle` is already taken by a different block, the **smaller** `N
crates/outl-md/src/block_index.rs:355
↓ 1 callers
Function
assign_unique_stems
Build a `source_path → final_stem` map. For each collision group the entry whose relative path is lex-smallest keeps the bare slug; every other entry
crates/outl-cli/src/cmd/import/obsidian/stems.rs:96
↓ 1 callers
Method
backlinks_count_for_slug
Number of backlinks pointing at `slug`, without cloning the list. Callers that only need a count (the footer chip in `view::chrome`, the navigability
crates/outl-tui/src/actions/nav.rs:136
↓ 1 callers
Method
backlinks_navigable
`true` when the inline backlinks section is rendered *and* has at least one block the cursor can land on. Drives the cross-zone transition in `step_fo
crates/outl-tui/src/actions/nav.rs:342
↓ 1 callers
Function
badgeClass
Background + foreground classes for the mode badge. Each mode * pulls from the matching `--color-outl-status-*` token so theme * swap propagates.
crates/outl-desktop/src/components/StatusBar.tsx:86
↓ 1 callers
Function
banner_height
Banner height in lines (including its single-line border). Zero when there's nothing to surface, so the layout collapses silently on a clean page.
crates/outl-tui/src/view/warnings_banner.rs:17
↓ 1 callers
Function
becameDone
(op)
examples/todo-archiver/index.js:47
← previous
next →
1,001–1,100 of 3,488, ranked by callers