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
↓ 4 callers
Function
refresh
Re-pull the device list and (best-effort) live status. The list is * the source of truth for the rows; status is decorative, so a * status pro
crates/outl-mobile/src/components/DevicesSheet.tsx:158
↓ 4 callers
Method
relay_url
The configured relay URL, with empty strings treated as "unset". A user who writes `relay_url = ""` in TOML to mean "use the defaults" gets `None`, sa
crates/outl-config/src/schema.rs:163
↓ 4 callers
Function
remove_or_warn
Try to delete `path`. If it doesn't exist, nothing to do. Any other failure is logged through `tracing::warn!` so the operator sees it even though the
crates/outl-cli/src/cmd/page.rs:501
↓ 4 callers
Function
render_block_lines
Render one block at indent 0 with a leaf bullet and no auto-run, the shape every wrap regression test needs. Keeps each test to its `mode` + `width` i
crates/outl-tui/src/view/outline.rs:562
↓ 4 callers
Function
render_markdown_inline
Render with markdown stripped — bold/italic/code/strike applied as styles, `[[ref]]` / `#tag` / `[text](url)` shown without their delimiters. Used whe
crates/outl-tui/src/view/inline.rs:158
↓ 4 callers
Function
render_markdown_inline_impl
Internal variant: when `expand_embed = false`, `InlineTok::Embed` renders as its raw `!((handle))` form (dim) instead of recursing into the source blo
crates/outl-tui/src/view/inline.rs:171
↓ 4 callers
Method
reproject_page
Re-project a single page's `.md` + sidecar from `workspace`. Safe to call after [`Self::reload_workspace`] so the on-disk `.md` reflects the merged s
crates/outl-actions/src/sync.rs:276
↓ 4 callers
Function
restore_page_md
Restore a page to a previously-captured `.md` snapshot. Writes `md` to the page's canonical path and reconciles it back into the workspace — the 3-le
crates/outl-actions/src/history.rs:126
↓ 4 callers
Function
rewrite_uid_refs
Rewrite every `((uid))` reference in `text` via [`resolve_uid_ref`]. An unbalanced `((` with no closing `))` is left verbatim.
crates/outl-cli/src/cmd/import/common.rs:165
↓ 4 callers
Function
root
Resolve the provider's current root, erroring when no workspace is open. The marketplace functions live in `outl-plugins` (one owner); these thin wrap
crates/outl-tauri-shared/src/plugin_thread.rs:149
↓ 4 callers
Function
run
Scaffold a plugin named `name` (used for the directory + display name). `id` is the reverse-DNS plugin id (defaults to `com.example.<slug>`). `dir` ov
crates/outl-cli/src/cmd/plugin_init.rs:15
↓ 4 callers
Method
run_plugin_command
Run a plugin command picked from the slash menu. Surfaces the command's `notify` / log output and any errors via toasts, then re-projects the current
crates/outl-tui/src/actions/plugins.rs:282
↓ 4 callers
Method
save_page_with
Same as [`Self::save_page`] but lets the caller opt out of refreshing the workspace index for this page. The `true` branch is incremental.** It calls
crates/outl-tui/src/actions/lifecycle/persistence.rs:57
↓ 4 callers
Function
sb
(id: NodeId, text: &str, line: usize, indent: u32)
crates/outl-md/tests/block_index.rs:12
↓ 4 callers
Method
search_text
Find blocks whose text contains `query` (case-insensitive), sorted by relevance heuristics, capped at `limit`. Scoring is deliberately simple: 1. Pre
crates/outl-md/src/block_index.rs:163
↓ 4 callers
Function
seqEq
(a: Chord[], b: Chord[])
crates/outl-desktop/src/lib/shortcuts.ts:137
↓ 4 callers
Function
setBlockCollapsed
( pageId: string, id: string, collapsed: boolean, )
crates/outl-frontend-shared/src/api/commands.ts:353
↓ 4 callers
Method
set_snapshot_policy
Configure when the workspace writes snapshots to disk during `apply`. Pass `enabled = false` to opt out (the CLI does this — it's ephemeral and should
crates/outl-core/src/workspace.rs:420
↓ 4 callers
Function
setup_workspace
()
crates/outl-md/src/reconcile.rs:487
↓ 4 callers
Method
shutdown
(&self)
crates/outl-actions/src/sync.rs:155
↓ 4 callers
Function
slot
The live registration, refreshed every boot. A re-settable slot (not a bare `OnceLock<Registration>`) so a relaunch / workspace reopen replaces a stal
crates/outl-mobile/src-tauri/src/bg_sync.rs:69
↓ 4 callers
Method
snapshot
Project the current state into UI-agnostic [`PeerHealthSnapshot`]s. A peer the transport has never dialed this session is absent from the map and the
crates/outl-sync-iroh/src/health.rs:78
↓ 4 callers
Method
sorted_ops
Snapshot the op log sorted by HLC. Used by every read path so `append_op` can stay O(1) — see the rationale on `append_op`.
crates/outl-core/src/storage/memory.rs:35
↓ 4 callers
Method
spawn_index_rebuild
Kick off a workspace-index rebuild on a worker thread. Replaces any in-flight build (the previous thread's result is dropped on arrival). The next ca
crates/outl-tui/src/actions/lifecycle/index_build.rs:37
↓ 4 callers
Function
split_quote
Split a block's raw text into `(quoted, body)`. The body never includes the prefix or its trailing space when `quoted` is true. When the prefix is abs
crates/outl-actions/src/quote.rs:34
↓ 4 callers
Function
status
()
crates/outl-frontend-shared/src/peers/PeerList.tsx:56
↓ 4 callers
Method
success
Build a success envelope.
crates/outl-cli/src/output.rs:132
↓ 4 callers
Function
test_app
()
crates/outl-tui/src/actions/overlay.rs:620
↓ 4 callers
Function
upsert_result_child
Insert or replace the result child under `parent`. If `parent` already has a child whose text starts with [`RESULT_MARKER`], its text is overwritten
crates/outl-exec/src/result_block.rs:91
↓ 4 callers
Function
write_md_atomic
Best-effort atomic write of `contents` to `path`, creating parents as needed.
crates/outl-actions/src/journal.rs:142
↓ 4 callers
Function
write_page_property
Wrap `outl_actions::set_property` with `ApiError` mapping. `None` clears the property.
crates/outl-cli/src/cmd/page.rs:482
↓ 4 callers
Function
write_plugin
(dir: &Path)
crates/outl-plugins/src/loader.rs:219
↓ 3 callers
Function
append_tree_h
Append a whole subtree under a page or block.
crates/outl-cli/src/cmd/block.rs:316
↓ 3 callers
Function
applyPaletteToRoot
(palette: Palette)
crates/outl-desktop/src/lib/palette.ts:31
↓ 3 callers
Function
applySlashContext
( value: string, ctx: SlashContext, )
crates/outl-frontend-shared/src/autocomplete/index.ts:537
↓ 3 callers
Function
applyView
(view: PageView)
crates/outl-desktop/src/components/AppShell.tsx:47
↓ 3 callers
Function
apply_page_md_with_sidecar_if_absent
Like [`apply_page_md_with_sidecar`], but **skips the write when the `.md` file already exists on disk**. Use this on read paths (e.g. `open_page_by_s
crates/outl-actions/src/journal.rs:208
↓ 3 callers
Function
apply_properties_forest
( workspace: &mut Workspace, hlc: &HlcGenerator, parsed: &[ParsedNode], outcomes: &[BlockTreeO
crates/outl-actions/src/paste/anchors.rs:233
↓ 3 callers
Function
arb_property
()
crates/outl-md/tests/roundtrip.rs:115
↓ 3 callers
Function
autoSize
* Grow the textarea to fit its current content. Without this the * `rows={1}` textarea would clip multi-line blocks (code fences, * paragraphs t
crates/outl-desktop/src/components/BlockRow.tsx:458
↓ 3 callers
Method
backlinks_for_slug
Compute the backlinks pointing at `slug` directly from the workspace. **This is the single source for backlinks across the TUI** — every call site (pa
crates/outl-tui/src/actions/nav.rs:94
↓ 3 callers
Function
block_at_flat_index_mut
DFS-preorder traversal returning the block at `target` flat index. Lives here (small and private) so the crate doesn't need to depend on `outl-tui::o
crates/outl-exec/src/orchestrate.rs:250
↓ 3 callers
Method
block_refs_to
Blocks that cite `id` via `((blk-XXXXXX))`. May be empty.
crates/outl-md/src/index.rs:297
↓ 3 callers
Function
block_snippet
Collapse a block's text to one trimmed line, capped at 80 chars with an ellipsis. Matches the TUI's `truncate_for_snippet` shape.
crates/outl-tauri-shared/src/commands/page.rs:126
↓ 3 callers
Function
build_doc
Build a fresh Yrs `Doc` by replaying a block's `Edit` updates. Yrs is a CRDT, so the order updates are applied in does not change the resulting docum
crates/outl-core/src/content.rs:38
↓ 3 callers
Function
build_ops
Build `count` `Op::Create` ops authored by `actor` with monotonic HLCs anchored at the current wall clock (passes the ±24h ingest gate). Returned in t
crates/outl-sync-iroh/tests/regression.rs:565
↓ 3 callers
Function
byte_index_for_char
Convert a char index (0-based) into the corresponding byte offset. Returns `s.len()` when the char index is at or past the end. Always safe to pass i
crates/outl-md/src/inline.rs:411
↓ 3 callers
Function
cache_dir
Root cache directory: `<os cache>/outl/runtimes/`. Creates the directory if missing. Returns `None` if the OS doesn't expose a user cache dir (extrem
crates/outl-exec/src/wasm/cache.rs:30
↓ 3 callers
Function
category_for
Bucket a command name into a coarse category. Names follow loose prefix conventions (`date-*`, `time-*`, `iso-*`, `week-*`, …) so we can group without
crates/outl-tui/src/view/overlays.rs:481
↓ 3 callers
Function
centered_rect
(full: Rect, w_pct: u16, h_pct: u16)
crates/outl-tui/src/view/overlays.rs:124
↓ 3 callers
Method
check_external_changes
Detect that the current `.md` was edited by another process (vim, vscode, `outl serve`) since we last loaded or saved it, and pull the new content in.
crates/outl-tui/src/actions/lifecycle/external.rs:29
↓ 3 callers
Function
close
()
crates/outl-desktop/src/components/SettingsModal.tsx:34
↓ 3 callers
Function
collect_block_hits
The selection + projection logic behind [`search_blocks`], split out so it can be unit-tested against a `BlockIndex` built in-memory (no on-disk works
crates/outl-tauri-shared/src/commands/page.rs:100
↓ 3 callers
Function
collect_transform_jobs
Walk the outline AST in DFS preorder — the same order [`App::id_by_flat`] is built in — and collect one [`TransformJob`] per block whose text is a sin
crates/outl-tui/src/actions/plugins.rs:52
↓ 3 callers
Function
commitEdit
()
crates/outl-mobile/src/components/Journal.tsx:677
↓ 3 callers
Function
compute_hash
Hash the body with the `content_hash` field zeroed. Used both at build time (to stamp the hash) and at load time (to verify it).
crates/outl-core/src/snapshot.rs:182
↓ 3 callers
Function
config_dir
Resolve the directory where `config.toml` and `actor` live. - **macOS / Linux:** `~/.config/outl/` (or `$XDG_CONFIG_HOME/outl/` when set). XDG-style
crates/outl-config/src/paths.rs:22
↓ 3 callers
Function
config_path
`~/.config/outl/config.toml`.
crates/outl-config/src/paths.rs:47
↓ 3 callers
Method
contains
(&self, node: NodeId)
crates/outl-core/src/content.rs:81
↓ 3 callers
Function
copy_markdown_nodes
Serialize already-projected outline nodes (each with its subtree) to clean outl markdown. This is the AST-first entry point: the TUI edits an in-memo
crates/outl-actions/src/clipboard.rs:90
↓ 3 callers
Function
copy_to_os_clipboard
Best-effort copy of `text` to the OS clipboard. Returns `true` on success. Failures (no display server, missing clipboard daemon, sandboxed terminal,
crates/outl-tui/src/actions/yank.rs:20
↓ 3 callers
Function
create_after_or_append
Insert a sibling after `after`, falling back to appending at the end of `page` when `after` is no longer in the tree. The frontend's selected-block i
crates/outl-actions/src/block/create.rs:137
↓ 3 callers
Function
created_node_set
Node-id set of the `Op::Create` ops in `ops` (for `disk_has_all_nodes`).
crates/outl-sync-iroh/tests/regression.rs:591
↓ 3 callers
Method
creates_cycle
Whether moving `node` under `new_parent` would create a cycle. `node == new_parent` is always a cycle. Otherwise we walk up from `new_parent` toward
crates/outl-core/src/tree/cycle.rs:19
↓ 3 callers
Method
current
(&self)
crates/outl-tauri-shared/src/host.rs:65
↓ 3 callers
Function
date_from_slug
Parse a `YYYY-MM-DD` slug back into a `NaiveDate`.
crates/outl-actions/src/dates.rs:151
↓ 3 callers
Function
decode_endpoint_addr
Decode a base64 JSON [`iroh::EndpointAddr`] produced by [`encode_endpoint_addr`].
crates/outl-sync-iroh/src/peers.rs:174
↓ 3 callers
Method
delete
Delete a block (moved to trash; the op stays in the log).
plugin-sdk/src/index.ts:187
↓ 3 callers
Method
delete_back
Delete the character before the cursor (Backspace). Returns `true` if a character was removed.
crates/outl-tui/src/edit_buffer.rs:98
↓ 3 callers
Method
delete_char_under_cursor
`x` — delete the char under the cursor in Normal mode. No-op on an empty block. The cursor stays put unless it sat past the last char (delete on the r
crates/outl-tui/src/actions/text_ops.rs:28
↓ 3 callers
Method
delete_to_end_of_block
`D` — delete from the cursor through the end of the block. Cursor clamps to the new EOL.
crates/outl-tui/src/actions/text_ops.rs:56
↓ 3 callers
Method
dispatch
Dispatch a full `<name> <args>` line through the registry. Used by the vim palette and `accept_slash` for arg-less commands. Returns `Ok(true)` when t
crates/outl-tui/src/commands/mod.rs:117
↓ 3 callers
Method
do_op
Apply one op to the materialized tree, mutating it in place. For [`Op::Move`] and [`Op::SetProp`] this also fills in the `old_*` fields of the passed
crates/outl-core/src/tree/op.rs:24
↓ 3 callers
Function
doc_string
Materialize a `Doc`'s `content` text into a plain string.
crates/outl-core/src/content.rs:53
↓ 3 callers
Function
emit_block_lines
( indent: u32, bullet_style: Style, mode: &RenderMode, has_auto_run: bool, fold: FoldMarke
crates/outl-tui/src/view/outline.rs:359
↓ 3 callers
Function
empty_body
()
crates/outl-core/src/snapshot.rs:246
↓ 3 callers
Function
encode_ticket
Encode an [`EndpointAddr`] into a copy-pasteable ticket string. A pairing ticket IS a base64-JSON `EndpointAddr`, identical to what a [`PeerEntry`] s
crates/outl-sync-iroh/src/pairing.rs:193
↓ 3 callers
Function
ensure_ops_dir
Ensure `<root>/ops/` exists. Both `workspace_layout::init` and every workspace opener (CLI `ws::open`, TUI `open_workspace`, `outl serve`, importers)
crates/outl-cli/src/workspace_layout.rs:173
↓ 3 callers
Method
err
(&mut self, msg: impl Into<String>)
crates/outl-cli/src/cmd/doctor.rs:104
↓ 3 callers
Method
error
(msg: string)
plugin-sdk/src/index.ts:271
↓ 3 callers
Function
escapeHtml
(s)
examples/bars/index.js:36
↓ 3 callers
Function
escapeHtml
Escape text so it is safe to drop into HTML (labels are user input).
examples/bars/src/index.ts:47
↓ 3 callers
Method
execute
(&self, source: &str, _ctx: &ExecContext)
crates/outl-exec/src/runtimes/python.rs:37
↓ 3 callers
Method
find_char_backward
`F{ch}` — find the previous occurrence of `ch` before the cursor. Lands the cursor on the match. No-op if not found.
crates/outl-tui/src/actions/text_ops.rs:188
↓ 3 callers
Function
fireInputEvent
(ta: HTMLTextAreaElement)
crates/outl-desktop/src/lib/markdown-wrap.ts:27
↓ 3 callers
Function
flatten
Flatten an outline tree into a depth-first preorder list. Used by `match_blocks` and `diff_to_ops` so both see the same indexing.
crates/outl-md/src/matching.rs:57
↓ 3 callers
Function
flattenParents
(blocks: BlockNode[])
crates/outl-frontend-shared/src/outline/index.ts:122
↓ 3 callers
Function
flatten_subtree_paths
Enumerate every DFS path *inside* an [`OutlineNode`] (treated as a self-contained subtree). The first entry is always `vec![]` (the root itself); subs
crates/outl-actions/src/outline.rs:43
↓ 3 callers
Function
getTheme
(name: string | null)
crates/outl-desktop/src/lib/api.ts:161
↓ 3 callers
Method
go_today
(&mut self)
crates/outl-tui/src/actions/nav.rs:164
↓ 3 callers
Method
graft_paste
Commit any in-flight edit, resolve the selected block, and graft `text` after it — through `paste_markdown` (formatted) when `plain` is false, or `pas
crates/outl-tui/src/actions/paste.rs:101
↓ 3 callers
Method
has_pending_index
`true` while a workspace-index rebuild is in flight on a worker thread. The event loop uses this to shorten its `event::poll` timeout so the freshly-b
crates/outl-tui/src/actions/lifecycle/index_build.rs:56
↓ 3 callers
Function
host
()
crates/outl-plugins/src/loader.rs:238
↓ 3 callers
Function
import
Run a Logseq import.
crates/outl-cli/src/cmd/import/logseq.rs:34
↓ 3 callers
Function
indent
Indent `node` so it becomes the last child of its previous sibling.
crates/outl-actions/src/block/moves.rs:82
↓ 3 callers
Function
info
Pure handler for the MCP shim.
crates/outl-cli/src/cmd/workspace_info.rs:28
↓ 3 callers
Function
insert
Insert a new sibling right after `after`.
crates/outl-cli/src/cmd/block.rs:353
↓ 3 callers
Function
insertAtCursor
* Insert a snippet (or open/close pair) into the active textarea * synchronously so iOS keeps the keyboard up across the change. * * Uses the
crates/outl-mobile/src/components/Journal.tsx:1062
↓ 3 callers
Function
insert_sibling_before
Insert a fresh empty block as a sibling immediately *before* `path`. Clamp behavior mirrors [`insert_sibling_after`]: a path that overshoots the live
crates/outl-md/src/outline_ops.rs:163
↓ 3 callers
Function
invalidate_changed_history
Surgical undo invalidation across a peer-driven reload. Drops the undo / redo stacks of **only** the pages whose `.md` projection actually changed be
crates/outl-desktop/src-tauri/src/helpers.rs:36
← previous
next →
501–600 of 3,488, ranked by callers