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
↓ 3 callers
Method
wait_for_snapshots
Block until every background snapshot worker finishes. Call on graceful shutdown so a long-lived client doesn't exit with a snapshot write still in f
crates/outl-core/src/workspace.rs:398
↓ 3 callers
Function
wait_until
Poll `probe` every `poll` until it returns `true` or `cap` elapses. Returns whether the probe fired (`false` = timed out). Kept separate from [`drive
crates/outl-mobile/src-tauri/src/bg_sync.rs:162
↓ 3 callers
Function
walk
(bs: BlockNode[])
crates/outl-frontend-shared/src/outline/index.ts:78
↓ 3 callers
Function
withBusy
(id: string, fn: () => Promise<unknown>)
crates/outl-desktop/src/components/PluginMarketplace.tsx:70
↓ 3 callers
Function
withBusy
(id: string, fn: () => Promise<unknown>)
crates/outl-mobile/src/components/PluginSheet.tsx:94
↓ 3 callers
Method
with_index
Run `f` against the cached `WorkspaceIndex`, building it on first use. Mutating tools should call [`Self::invalidate_index`] after their `apply_page_m
crates/outl-cli/src/mcp/mod.rs:261
↓ 3 callers
Function
with_timeout
Run `work` on a worker thread; return its result or `Err(ExecError::Timeout)` if it doesn't finish within `timeout`. `work` must be `'static + Send`
crates/outl-exec/src/sandbox.rs:24
↓ 3 callers
Function
workspace_with_two_pages
Build a workspace with two pages (`alpha`, `beta`), each with a single block. Page ids are derived deterministically from the slug (`page_id_from_slug
crates/outl-desktop/src-tauri/src/helpers.rs:65
↓ 3 callers
Function
wrapSelection
(style: "bold" | "italic" | "code")
crates/outl-mobile/src/components/Journal.tsx:1081
↓ 3 callers
Function
write_dev_plugin
(root: &Path)
crates/outl-tui/src/actions/plugins.rs:505
↓ 3 callers
Function
write_file
(path: std::path::PathBuf, bytes: &[u8])
crates/outl-plugins/src/registry.rs:306
↓ 3 callers
Function
write_indent
(out: &mut String, level: usize)
crates/outl-md/src/render.rs:66
↓ 3 callers
Function
write_projection
(ctx: &mut WsCtx, id: NodeId)
crates/outl-cli/src/cmd/page.rs:492
↓ 3 callers
Function
write_transformer_plugin
(root: &Path)
crates/outl-desktop/src-tauri/src/plugin_service_tests.rs:261
↓ 2 callers
Method
accept_autocomplete
Accept the highlighted autocomplete candidate. For `[[` / `#` triggers: the trigger + query are replaced in the buffer by the completed token. For `
crates/outl-tui/src/actions/autocomplete.rs:268
↓ 2 callers
Function
accept_host_handshake
The host (accept) side of the pairing handshake over an already-accepted [`iroh::endpoint::Connection`]. Reads the joiner's [`PairingPayload`], repli
crates/outl-sync-iroh/src/pairing.rs:329
↓ 2 callers
Method
accept_search
(&mut self)
crates/outl-tui/src/actions/overlay.rs:244
↓ 2 callers
Function
activeTextarea
* Markdown-wrap helpers for the active block textarea. * * Called from `action-handlers.ts` when the user fires `WrapBold`, * `WrapItalic`, etc. Wr
crates/outl-desktop/src/lib/markdown-wrap.ts:22
↓ 2 callers
Function
actor_census
Per-actor census of the local op log: the set of DISTINCT HLCs held for each actor. Distinct because historic unsynchronized concurrent pulls left dup
crates/outl-sync-iroh/src/engine_sync.rs:42
↓ 2 callers
Function
addr_with_relay_and_direct
Build a real, encodable `EndpointAddr` carrying a relay + a direct addr, so the stored `endpoint_addr` blob round-trips and we can prove the resolutio
crates/outl-sync-iroh/src/peers.rs:395
↓ 2 callers
Function
announce_after_commit
Post-commit hook: tell connected peers this device just produced new ops so a peer pulls **immediately** over iroh gossip, instead of waiting for the
crates/outl-tauri-shared/src/helpers.rs:159
↓ 2 callers
Function
applyCollapsedToAll
Walk every block on the current page and set its `collapsed` * flag to `value`. **Never `flattenVisible`** — the whole point of * `zR` is to e
crates/outl-desktop/src/lib/action-handlers.ts:177
↓ 2 callers
Function
applyVisualBlockOp
Walk every block in the current Visual range and fire `op` for * each. Used by `>` / `<` so the multi-block indent ops share one * body. Range
crates/outl-desktop/src/lib/action-handlers.ts:141
↓ 2 callers
Function
apply_batch
Workhorse used by both CLI and MCP dispatcher.
crates/outl-cli/src/cmd/batch.rs:82
↓ 2 callers
Function
apply_intents
Apply a plugin's intents, gating each on the approved permission set.
crates/outl-plugins/src/host.rs:563
↓ 2 callers
Method
as_wire
The wire string form.
crates/outl-plugins/src/permission.rs:92
↓ 2 callers
Function
assert_ok
(out: &std::process::Output, ctx: &str)
crates/outl-cli/tests/init_smoke.rs:18
↓ 2 callers
Method
at_location
Look up a block by its location `(slug, dfs_path)` — O(1). Used by `yank_current_ref` / `yank_current_embed` so the keyboard chord stays snappy regar
crates/outl-md/src/block_index.rs:121
↓ 2 callers
Function
attach_children
( workspace: &mut Workspace, hlc: &HlcGenerator, parsed: &ParsedNode, parent_id: NodeId, n
crates/outl-actions/src/paste/anchors.rs:214
↓ 2 callers
Function
backlinkBlockIds
Block ids of each visible backlink, in render order. The * selection cursor traverses this list with `j/k` when the * backlinks section is rea
crates/outl-desktop/src/lib/action-handlers.ts:94
↓ 2 callers
Method
backlinks_count_for_current
Convenience: number of backlinks for the currently-opened page/journal. See [`Self::backlinks_count_for_slug`].
crates/outl-tui/src/actions/nav.rs:153
↓ 2 callers
Method
below
Uniform in `[0, n)` (n > 0).
crates/outl-sync-iroh/tests/chaos_helpers/mod.rs:58
↓ 2 callers
Function
bind_pairing_endpoint
Bind a fresh endpoint on the pairing ALPN with the given identity.
crates/outl-sync-iroh/src/pairing.rs:217
↓ 2 callers
Method
block_at_position
Resolve a terminal `(column, row)` to a flat block index, or `None` when the click is outside the outline body, on its border, in the backlinks tail b
crates/outl-tui/src/actions/mouse.rs:74
↓ 2 callers
Function
block_with_index
Variant taking a pre-built [`WorkspaceIndex`]. Used by MCP.
crates/outl-cli/src/cmd/backlinks.rs:91
↓ 2 callers
Function
block_yank_status
Status line after a block yank: always reports the yank (the in-app register is filled regardless), and appends the clipboard outcome so the user know
crates/outl-tui/src/actions/yank.rs:69
↓ 2 callers
Function
build_index
Build a `BlockIndex` populated with `n` blocks spread across `pages_count` synthetic pages — closer to real workspace shape than a single page with N
crates/outl-md/benches/block_index.rs:26
↓ 2 callers
Function
build_iroh_transport
Build an [`IrohSyncTransport`] from the device's on-disk identity and the per-workspace peer store (`<workspace_root>/.outl/peers.json`). Runs the on
crates/outl-tauri-shared/src/iroh_sync.rs:33
↓ 2 callers
Function
build_membership_payload
Build the membership broadcast payload from the current peer list on disk. Reloads `peers.json` so the broadcast always reflects the latest known set
crates/outl-sync-iroh/src/engine_membership.rs:83
↓ 2 callers
Function
build_outline
(workspace: &Workspace, parent: NodeId)
crates/outl-actions/src/journal.rs:61
↓ 2 callers
Function
by_name
Resolve a preset by name. Accepts the canonical name or any of the documented aliases; case- and separator-insensitive (`"Solarized Dark"` and `"solar
crates/outl-theme/src/lib.rs:57
↓ 2 callers
Method
by_title
Look up a page by its `title::` (or slug fallback). Title match is case-sensitive — use `pages_by_title_prefix` for autocomplete.
crates/outl-md/src/index.rs:184
↓ 2 callers
Method
candidates_for_slash
Fuzzy-match slash command names against `q`. Empty `q` shows every command (in registry order). The universe is built-in commands **plus** every comm
crates/outl-tui/src/actions/autocomplete.rs:123
↓ 2 callers
Function
canonical
Resolve any known alias to its canonical form. Lower-cases the input before matching so `Rust` / `RUST` / `rust` all collapse to `"rust"`. Returns `N
crates/outl-md/src/lang.rs:76
↓ 2 callers
Function
cargo_run
(args: &[&str])
crates/outl-cli/tests/init_smoke.rs:10
↓ 2 callers
Function
category_order
Canonical sort order — Actions first (most common), Dates last (long list, scrolls off).
crates/outl-tui/src/view/overlays.rs:506
↓ 2 callers
Function
ch
(c: char)
crates/outl-shortcuts/src/defaults.rs:21
↓ 2 callers
Method
check
True when `needed` is covered by the approved set. Network permissions match by domain rule against the requested host.
crates/outl-plugins/src/permission.rs:135
↓ 2 callers
Function
chordEq
(a: Chord, b: Chord)
crates/outl-desktop/src/lib/shortcuts.ts:133
↓ 2 callers
Function
cli_capabilities
Capabilities the CLI client implements. The CLI can run slash-style commands and dispatch op hooks; it has no rich render surface.
crates/outl-cli/src/cmd/plugin.rs:93
↓ 2 callers
Function
client
(caps: &[Capability])
crates/outl-plugins/src/capability.rs:93
↓ 2 callers
Function
client_capabilities
Capabilities the mobile client honors: slash commands (surfaced in the plugin sheet), op hooks, UI render, toolbar buttons, and both content-transform
crates/outl-mobile/src-tauri/src/plugin_service.rs:39
↓ 2 callers
Function
clipboard_message
Build the status-line message after a yank attempt. `kind` is the human label (`"ref"`, `"embed"`); `token` is the thing that landed on the clipboard
crates/outl-tui/src/actions/yank.rs:83
↓ 2 callers
Function
close
()
crates/outl-desktop/src/components/HelpOverlay.tsx:41
↓ 2 callers
Function
close
()
crates/outl-desktop/src/components/PluginMarketplace.tsx:34
↓ 2 callers
Function
closing_underscore
Find the byte offset (within `rest`, the text after the opening run) of a closing underscore run of `run_len` (`1` for italic, `2` for bold) that is *
crates/outl-md/src/inline.rs:711
↓ 2 callers
Function
collect_internal
(path: &Path, probe_lock: bool)
crates/outl-cli/src/cmd/doctor.rs:141
↓ 2 callers
Method
collect_page_refs
Pass 2 of the two-pass build: scan every block's text for `((blk-XXXXXX))` / `!((blk-XXXXXX))` and record the reverse edge. Assumes [`collect_page_blo
crates/outl-md/src/block_index.rs:256
↓ 2 callers
Function
collect_tags_under
(workspace: &outl_core::workspace::Workspace, parent: NodeId)
crates/outl-cli/src/cmd/tag.rs:117
↓ 2 callers
Function
compile_rust_to_wasm
Invoke `rustc` to produce a `wasm32-wasip1` binary from `source`. Uses a temp directory under the runtime cache so the .rs file is reachable for diag
crates/outl-exec/src/runtimes/rust.rs:115
↓ 2 callers
Method
completed_sync_passes
How many forced sync passes have **completed** since the transport was created. A pass is one drained `sync_now` request: `force_sync_all` dialed eve
crates/outl-sync-iroh/src/engine.rs:199
↓ 2 callers
Method
compute_backlinks_for_slug
Raw computation path — the workspace scan without the cache layer. Public-in-crate for tests; production callers should go through [`Self::backlinks_f
crates/outl-tui/src/actions/nav.rs:110
↓ 2 callers
Function
consume_fence_until_close
Same as [`consume_fence`], but the opener line is assumed to be already in `target` (e.g. it was part of the block's first line: `- ```lisp`). Picks u
crates/outl-md/src/parse.rs:329
↓ 2 callers
Function
convert_file
Convert a single Logseq `.md` file into outl format and write it to `paths`. Updates `report` counts.
crates/outl-cli/src/cmd/import/logseq.rs:109
↓ 2 callers
Function
copyMarkdown
(blockIds: string[])
crates/outl-frontend-shared/src/api/commands.ts:341
↓ 2 callers
Function
copySelectionToClipboard
Serialize a block selection to clean outl markdown (backend) and * write it to the OS clipboard. Both halves are best-effort: the * webview's
crates/outl-desktop/src/lib/action-handlers.ts:118
↓ 2 callers
Function
copy_markdown_to_clipboard
Copy `markdown` to the OS clipboard through every channel available: `arboard` (local display server) **and** an OSC 52 escape (the remote path). Retu
crates/outl-tui/src/actions/yank.rs:60
↓ 2 callers
Function
count_todos
TODO/DONE counters: `(done, total)`. A block is counted when its trimmed text starts with `TODO ` or `DONE `; `DONE` counts toward `done` and toward `
crates/outl-md/src/outline_ops.rs:29
↓ 2 callers
Method
create_block_below
Create a new block after the current selection at the same indent, then enter Insert. Used by `o` (Normal) and Enter (Insert).
crates/outl-tui/src/actions/block/structural.rs:22
↓ 2 callers
Function
create_with_explicit_id
Create variant that uses a caller-supplied `node` id instead of a fresh ULID. Used by [`crate::page::open_or_create`] so that two peers independently
crates/outl-actions/src/block/create.rs:236
↓ 2 callers
Function
cross_block_nav_eligible
Cross-block Up/Down nav only kicks in when: - We're in Insert on the current page (not a source-page backlink edit — that has its own commit semantic
crates/outl-tui/src/input/mod.rs:64
↓ 2 callers
Function
cross_block_step
Commit the current buffer and move the outline selection by `delta` (`-1` for Up, `+1` for Down), then re-enter Insert on the new block preserving the
crates/outl-tui/src/input/mod.rs:86
↓ 2 callers
Method
current_block_ref_handle
Resolve the selected block's stable ref handle by looking up `(source_slug, source_block_path)` in the workspace index. O(1) thanks to `WorkspaceInde
crates/outl-tui/src/actions/yank.rs:144
↓ 2 callers
Method
cursor_to_end
(&mut self)
crates/outl-tui/src/actions/nav.rs:389
↓ 2 callers
Function
cycle_todo_state
Cycle a block's TODO prefix: none → `TODO ` → `DONE ` → none. Delegates to [`outl_actions::cycle_todo`] so the TUI and the mobile client share the ex
crates/outl-tui/src/actions/block/mod.rs:32
↓ 2 callers
Function
datetime_text
`[[YYYY-MM-DD]] HH:MM` — the "stamp this moment" combo.
crates/outl-tui/src/commands/builtins/dates.rs:47
↓ 2 callers
Function
decode_ops_blob
Decode a length-prefixed ops blob into `LogOp`s. Lines that fail to decode are skipped (the caller logs); the function only errors on a malformed len
crates/outl-sync-iroh/src/protocol.rs:179
↓ 2 callers
Function
decode_request
Deserialize a `SyncRequest` from a 4-byte length-prefixed buffer.
crates/outl-sync-iroh/src/protocol.rs:103
↓ 2 callers
Function
decode_response
Deserialize a `SyncResponse` from a 4-byte length-prefixed buffer.
crates/outl-sync-iroh/src/protocol.rs:132
↓ 2 callers
Function
decode_ticket
Decode a ticket string back into an [`EndpointAddr`].
crates/outl-sync-iroh/src/pairing.rs:198
↓ 2 callers
Function
deep_link_payload
Parse an `outl://` URL via the shared `outl_actions` parser into the `{kind, …}` payload the frontend maps onto its `open*` commands. A malformed URL
crates/outl-desktop/src-tauri/src/lib.rs:96
↓ 2 callers
Function
deep_link_payload
Parse an `outl://` URL via the shared `outl_actions` parser into the `{kind, …}` payload the frontend maps onto its `open*` commands. A malformed URL
crates/outl-mobile/src-tauri/src/lib.rs:87
↓ 2 callers
Function
delete
Move the block under the trash root. Materialised tree drops it immediately; the op stays in the log forever.
crates/outl-actions/src/block/moves.rs:55
↓ 2 callers
Method
delete_char_before_cursor
`X` — delete the char before the cursor (Normal-mode Backspace). No-op at column 0.
crates/outl-tui/src/actions/text_ops.rs:43
↓ 2 callers
Method
delete_current
(&mut self)
crates/outl-tui/src/actions/block/structural.rs:300
↓ 2 callers
Method
description
(&self)
crates/outl-tui/src/commands/builtins/exec.rs:22
↓ 2 callers
Method
dispatch_op
( &mut self, op: &LogOpView, read_model: &ReadModel, config: &Value, )
crates/outl-plugins/src/engine.rs:122
↓ 2 callers
Function
dotState
()
crates/outl-frontend-shared/src/peers/PeerList.tsx:58
↓ 2 callers
Function
drain_sync_now
( mut rx: tokio::sync::mpsc::UnboundedReceiver<()>, endpoint: iroh::Endpoint, peers_path: PathBuf,
crates/outl-sync-iroh/src/engine_catchup.rs:205
↓ 2 callers
Function
drive_sync
Fire a forced sync pass and wait for its completion (early-exit) or the `cap` (fallback), whichever comes first. `false` iff no transport is registere
crates/outl-mobile/src-tauri/src/bg_sync.rs:134
↓ 2 callers
Function
effectiveTodo
TODO/DONE state to render the bullet by. Edit mode is the * **raw markdown view** — the `TODO `/`DONE ` prefix is literally * visible in the t
crates/outl-desktop/src/components/BlockRow.tsx:714
↓ 2 callers
Function
embed_with_index
Variant taking a pre-built [`WorkspaceIndex`]. Used by MCP.
crates/outl-cli/src/cmd/backlinks.rs:113
↓ 2 callers
Function
emoji_search
Search the GitHub gemoji catalog for shortcodes matching `query`. Powers the `:shortcode:` autocomplete in the block editor. Wraps `outl_md::emoji::se
crates/outl-tauri-shared/src/commands/page.rs:145
↓ 2 callers
Function
encode_op
Serialize a single `LogOp` as a JSONL line (no trailing newline).
crates/outl-sync-iroh/src/protocol.rs:140
↓ 2 callers
Function
encode_request
Serialize a `SyncRequest` with a 4-byte big-endian length prefix.
crates/outl-sync-iroh/src/protocol.rs:93
↓ 2 callers
Function
encode_response
Serialize a `SyncResponse` with a 4-byte big-endian length prefix.
crates/outl-sync-iroh/src/protocol.rs:122
↓ 2 callers
Method
ensure_doc
Ensure `node`'s `Doc` is resident in the cache, rebuilding it from the block's `Edit` ops in `log` if it was evicted (or never loaded). No-op when alr
crates/outl-core/src/content.rs:148
↓ 2 callers
Method
ensure_doc_for_edit
Ensure the Yrs `Doc` for `node` is in the content cache with the FULL `Edit` history applied. After snapshot boot, `self.log` only carries delta ops
crates/outl-core/src/workspace.rs:281
↓ 2 callers
Function
ensure_page_root_in_tree
Guarantee the page node `page_id` is rooted in the workspace tree as a child of `NodeId::root` with the `page-slug` / `page-kind` properties set, deri
crates/outl-md/src/reconcile.rs:222
↓ 2 callers
Function
ensure_workspace_or_prompt
If `path` has no `.outl/` directory yet, prompt the user for permission to initialize one. If they say no, error out cleanly. When stdin isn't a TTY
crates/outl-cli/src/main.rs:566
← previous
next →
701–800 of 3,488, ranked by callers