SYMBOL INDEX (2615 symbols across 237 files) FILE: crates/atuin-ai/src/commands.rs type AiArgs (line 18) | pub struct AiArgs { type Commands (line 33) | pub enum Commands { function run (line 76) | pub async fn run( function detect_shell (line 117) | pub fn detect_shell() -> Option { function init_logging (line 122) | fn init_logging(settings: &atuin_client::settings::Settings, verbose: bo... function cleanup_old_logs (line 175) | fn cleanup_old_logs(log_dir: &Path, prefix: &str, retention_days: u64) { FILE: crates/atuin-ai/src/commands/debug_render.rs type DebugInput (line 20) | pub struct DebugInput { method from_json (line 117) | pub fn from_json(json: &str) -> Result { method to_state (line 122) | pub fn to_state(&self) -> AppState { function default_mode (line 58) | fn default_mode() -> String { function default_width (line 62) | fn default_width() -> u16 { function default_height (line 66) | fn default_height() -> u16 { type EventInput (line 74) | pub enum EventInput { method from (line 95) | fn from(input: EventInput) -> Self { type OutputFormat (line 172) | pub enum OutputFormat { function run (line 183) | pub async fn run(input_file: Option, format: OutputFormat) -> Re... function blocks_to_json (line 241) | fn blocks_to_json(blocks: &Blocks) -> serde_json::Value { function content_to_json (line 258) | fn content_to_json(content: &crate::tui::view_model::Content) -> serde_j... function buffer_to_string (line 313) | fn buffer_to_string(buffer: &ratatui::buffer::Buffer, strip_ansi: bool) ... function color_to_ansi (line 396) | fn color_to_ansi(color: ratatui::style::Color, foreground: bool) -> Opti... function test_parse_simple_input (line 433) | fn test_parse_simple_input() { function test_parse_streaming_state (line 452) | fn test_parse_streaming_state() { FILE: crates/atuin-ai/src/commands/init.rs function run (line 3) | pub async fn run(shell: String) -> eyre::Result<()> { function generate_auto_integration (line 16) | fn generate_auto_integration() -> eyre::Result<&'static str> { function generate_zsh_integration (line 28) | pub fn generate_zsh_integration() -> &'static str { function generate_bash_integration (line 82) | pub fn generate_bash_integration() -> &'static str { function generate_fish_integration (line 143) | pub fn generate_fish_integration() -> &'static str { function test_generate_zsh_integration (line 196) | fn test_generate_zsh_integration() { function test_generate_bash_integration (line 209) | fn test_generate_bash_integration() { function test_generate_fish_integration (line 222) | fn test_generate_fish_integration() { FILE: crates/atuin-ai/src/commands/inline.rs function run (line 21) | pub async fn run( function ensure_hub_session (line 82) | async fn ensure_hub_session(settings: &atuin_client::settings::Settings)... type ChatStreamEvent (line 145) | enum ChatStreamEvent { function create_chat_stream (line 168) | fn create_chat_stream( function hub_url (line 327) | fn hub_url(base: &str, path: &str) -> Result { function detect_os (line 339) | fn detect_os() -> String { type Action (line 349) | enum Action { function state_to_json (line 357) | fn state_to_json(state: &crate::tui::AppState) -> serde_json::Value { type DebugStateLogger (line 397) | struct DebugStateLogger { method new (line 404) | fn new(path: &str) -> Result { method log (line 416) | fn log(&mut self, label: &str, state: &crate::tui::AppState) { function run_inline_tui (line 448) | async fn run_inline_tui( type RawModeGuard (line 717) | struct RawModeGuard; method drop (line 720) | fn drop(&mut self) { function emit_shell_result (line 725) | fn emit_shell_result(action: Action, output_for_hook: bool) { function wait_for_login_confirmation (line 743) | fn wait_for_login_confirmation() -> Result { FILE: crates/atuin-ai/src/tui/app.rs type App (line 7) | pub struct App { method new (line 12) | pub fn new() -> Self { method handle_key (line 19) | pub fn handle_key(&mut self, key: KeyEvent) -> bool { method handle_input_key (line 29) | fn handle_input_key(&mut self, key: KeyEvent) -> bool { method handle_generating_key (line 78) | fn handle_generating_key(&mut self, key: KeyEvent) -> bool { method handle_streaming_key (line 88) | fn handle_streaming_key(&mut self, key: KeyEvent) -> bool { method handle_review_key (line 98) | fn handle_review_key(&mut self, key: KeyEvent) -> bool { method handle_error_key (line 138) | fn handle_error_key(&mut self, key: KeyEvent) -> bool { method default (line 154) | fn default() -> Self { FILE: crates/atuin-ai/src/tui/component.rs type RenderContext (line 13) | pub struct RenderContext<'a> { type Component (line 29) | pub trait Component { method height (line 31) | fn height(&self, width: u16) -> u16; method render (line 34) | fn render(&self, frame: &mut Frame, area: Rect, ctx: &RenderContext); method height (line 59) | fn height(&self, width: u16) -> u16 { method render (line 68) | fn render(&self, frame: &mut Frame, area: Rect, ctx: &RenderContext) { method height (line 110) | fn height(&self, _width: u16) -> u16 { method render (line 114) | fn render(&self, _frame: &mut Frame, _area: Rect, _ctx: &RenderContext... method height (line 128) | fn height(&self, width: u16) -> u16 { method render (line 132) | fn render(&self, frame: &mut Frame, area: Rect, ctx: &RenderContext) { method height (line 165) | fn height(&self, _width: u16) -> u16 { method render (line 169) | fn render(&self, frame: &mut Frame, area: Rect, ctx: &RenderContext) { type VStack (line 42) | pub struct VStack { method new (line 49) | pub fn new(children: Vec>) -> Self { type Spacer (line 107) | pub struct Spacer(pub u16); type SymbolRow (line 121) | pub struct SymbolRow { type Separator (line 160) | pub struct Separator { FILE: crates/atuin-ai/src/tui/components.rs function line_count_wrapped (line 24) | pub(crate) fn line_count_wrapped(text: &str, width: usize) -> u16 { function word_wrap_line_count_with_last_width (line 35) | pub(crate) fn word_wrap_line_count_with_last_width(text: &str, width: us... function style_inline_markdown (line 108) | fn style_inline_markdown(text: &str, theme: &Theme) -> Vec> { function parse_inline_formatting (line 123) | fn parse_inline_formatting( type InputContent (line 197) | pub struct InputContent { method height (line 203) | fn height(&self, width: u16) -> u16 { method render (line 217) | fn render(&self, frame: &mut Frame, area: Rect, ctx: &RenderContext) { type CommandContent (line 235) | pub struct CommandContent { method height (line 241) | fn height(&self, width: u16) -> u16 { method render (line 245) | fn render(&self, frame: &mut Frame, area: Rect, ctx: &RenderContext) { type TextContent (line 260) | pub struct TextContent { method height (line 265) | fn height(&self, width: u16) -> u16 { method render (line 272) | fn render(&self, frame: &mut Frame, area: Rect, ctx: &RenderContext) { type ErrorContent (line 280) | pub struct ErrorContent { method height (line 285) | fn height(&self, width: u16) -> u16 { method render (line 289) | fn render(&self, frame: &mut Frame, area: Rect, ctx: &RenderContext) { type WarningContent (line 301) | pub struct WarningContent { method height (line 308) | fn height(&self, width: u16) -> u16 { method render (line 317) | fn render(&self, frame: &mut Frame, area: Rect, ctx: &RenderContext) { type SpinnerContent (line 334) | pub struct SpinnerContent { method height (line 339) | fn height(&self, _width: u16) -> u16 { method render (line 343) | fn render(&self, frame: &mut Frame, area: Rect, ctx: &RenderContext) { type ToolStatusContent (line 350) | pub struct ToolStatusContent { method height (line 357) | fn height(&self, _width: u16) -> u16 { method render (line 361) | fn render(&self, frame: &mut Frame, area: Rect, ctx: &RenderContext) { function content_to_component (line 390) | fn content_to_component(content: &Content) -> Box { function build_block_component (line 478) | fn build_block_component(block: &Block) -> Box { function build_component_tree (line 498) | pub fn build_component_tree(items: &[&Block], card_width: u16) -> VStack { FILE: crates/atuin-ai/src/tui/event.rs constant BASE_TICK_INTERVAL (line 9) | const BASE_TICK_INTERVAL: Duration = Duration::from_millis(50); type AppEvent (line 24) | pub enum AppEvent { type EventLoop (line 73) | pub struct EventLoop { method new (line 92) | pub fn new() -> Self { method run (line 136) | pub async fn run(&mut self) -> Result { method is_shutdown (line 220) | pub fn is_shutdown(&self) -> bool { method shutdown (line 227) | pub fn shutdown(&mut self) { method poll_and_apply (line 249) | pub async fn poll_and_apply(&mut self, app: &mut App) -> Result { method default (line 272) | fn default() -> Self { function test_event_loop_creation (line 282) | fn test_event_loop_creation() { function test_shutdown_flag (line 288) | fn test_shutdown_flag() { FILE: crates/atuin-ai/src/tui/popup.rs constant MAX_POPUP_HEIGHT (line 4) | const MAX_POPUP_HEIGHT: u16 = 24; constant MIN_POPUP_HEIGHT (line 7) | const MIN_POPUP_HEIGHT: u16 = 5; constant INITIAL_POPUP_HEIGHT (line 10) | const INITIAL_POPUP_HEIGHT: u16 = 5; constant POPUP_MARGIN (line 13) | pub(crate) const POPUP_MARGIN: u16 = 0; type SavedScreen (line 16) | pub struct SavedScreen { type PopupState (line 28) | pub struct PopupState { method fit_to (line 48) | pub fn fit_to(&mut self, needed: u16) -> Option { method clear_rows (line 85) | fn clear_rows(&self, from_row: u16, to_row: u16) { method restore_rows (line 110) | fn restore_rows(&self, old_rect: &Rect) { function try_setup_popup (line 153) | pub fn try_setup_popup() -> Option { function restore (line 208) | pub fn restore(state: &PopupState) { function fetch_screen_state (line 259) | fn fetch_screen_state(socket_path: &str) -> Option { function compute_popup_placement (line 313) | fn compute_popup_placement( FILE: crates/atuin-ai/src/tui/render.rs constant CARD_WIDTH (line 20) | pub(crate) const CARD_WIDTH: u16 = 64; function calculate_needed_height (line 25) | pub fn calculate_needed_height(state: &AppState, card_width: u16) -> u16 { function render (line 42) | pub fn render(frame: &mut Frame, state: &AppState, ctx: &RenderContext) { function render_view (line 50) | fn render_view(frame: &mut Frame, view: &Blocks, ctx: &RenderContext) { function markdown_to_spans (line 143) | pub fn markdown_to_spans<'a>(text: &'a str, theme: &'a Theme) -> Vec &'static [&'static str] { method tick_interval (line 41) | pub const fn tick_interval(&self) -> Duration { method frame_at (line 52) | pub fn frame_at(&self, index: usize) -> &'static str { method frame_count (line 58) | pub fn frame_count(&self) -> usize { function active_frame (line 64) | pub fn active_frame(index: usize) -> &'static str { function active_tick_interval (line 69) | pub fn active_tick_interval() -> Duration { function test_frame_wrapping (line 78) | fn test_frame_wrapping() { function test_all_styles_have_frames (line 86) | fn test_all_styles_have_frames() { FILE: crates/atuin-ai/src/tui/state.rs type StreamingStatus (line 13) | pub enum StreamingStatus { method from_status_str (line 21) | pub fn from_status_str(s: &str) -> Self { method display_text (line 30) | pub fn display_text(&self) -> &'static str { type ConversationEvent (line 42) | pub enum ConversationEvent { method to_json (line 63) | pub fn to_json(&self) -> serde_json::Value { method as_command (line 93) | pub fn as_command(&self) -> Option<&str> { type AppMode (line 105) | pub enum AppMode { type ExitAction (line 119) | pub enum ExitAction { type AppState (line 132) | pub struct AppState { method new (line 174) | pub fn new() -> Self { method input (line 194) | pub fn input(&self) -> String { method input_is_empty (line 199) | pub fn input_is_empty(&self) -> bool { method clear_input (line 204) | pub fn clear_input(&mut self) { method events_to_messages (line 210) | pub fn events_to_messages(&self) -> Vec { method start_generating (line 277) | pub fn start_generating(&mut self) { method generation_complete (line 289) | pub fn generation_complete( method generation_error (line 330) | pub fn generation_error(&mut self, error: String) { method cancel_generation (line 336) | pub fn cancel_generation(&mut self) { method start_streaming (line 348) | pub fn start_streaming(&mut self) { method store_session_id (line 357) | pub fn store_session_id(&mut self, session_id: String) { method update_streaming_status (line 362) | pub fn update_streaming_status(&mut self, status: &str) { method cancel_streaming (line 367) | pub fn cancel_streaming(&mut self) { method append_streaming_text (line 390) | pub fn append_streaming_text(&mut self, chunk: &str) { method add_tool_call (line 406) | pub fn add_tool_call(&mut self, id: String, name: String, input: serde... method add_tool_result (line 430) | pub fn add_tool_result(&mut self, tool_use_id: String, content: String... method finalize_streaming (line 439) | pub fn finalize_streaming(&mut self) { method streaming_error (line 455) | pub fn streaming_error(&mut self, error: String) { method start_edit_mode (line 466) | pub fn start_edit_mode(&mut self) { method exit (line 473) | pub fn exit(&mut self, action: ExitAction) { method retry (line 479) | pub fn retry(&mut self) { method tick (line 489) | pub fn tick(&mut self) { method current_command (line 498) | pub fn current_command(&self) -> Option<&str> { method is_current_command_dangerous (line 504) | pub fn is_current_command_dangerous(&self) -> bool { function create_textarea (line 164) | fn create_textarea() -> TextArea<'static> { method default (line 527) | fn default() -> Self { FILE: crates/atuin-ai/src/tui/terminal.rs function install_panic_hook (line 20) | pub fn install_panic_hook() { constant MIN_VIEWPORT_HEIGHT (line 31) | const MIN_VIEWPORT_HEIGHT: u16 = 10; constant VIEWPORT_BOTTOM_MARGIN (line 34) | const VIEWPORT_BOTTOM_MARGIN: u16 = 2; type TerminalGuard (line 63) | pub struct TerminalGuard { method new (line 90) | pub fn new(keep_output: bool) -> Result { method new_popup (line 137) | pub fn new_popup(popup_rect: Rect, anchor_col: u16) -> Result { method ensure_height (line 187) | pub fn ensure_height(&mut self, _needed: u16) -> Result { method viewport_height (line 192) | pub fn viewport_height(&self) -> u16 { method terminal (line 199) | pub fn terminal(&mut self) -> &mut Terminal> { method resize_popup (line 208) | pub fn resize_popup(&mut self, new_rect: Rect) -> Result<()> { method anchor_col (line 225) | pub fn anchor_col(&self) -> u16 { method drop (line 244) | fn drop(&mut self) { function test_panic_hook_installation (line 266) | fn test_panic_hook_installation() { FILE: crates/atuin-ai/src/tui/view_model.rs type WarningKind (line 11) | pub enum WarningKind { type Content (line 20) | pub enum Content { method prefix_symbol (line 60) | pub fn prefix_symbol(&self) -> &'static str { type Block (line 84) | pub struct Block { type StatusBar (line 92) | pub struct StatusBar { type Blocks (line 101) | pub struct Blocks { method from_state (line 158) | pub fn from_state(state: &AppState) -> Self { method footer_for_mode (line 393) | fn footer_for_mode( function count_tool_calls_since_last_user (line 109) | fn count_tool_calls_since_last_user(events: &[ConversationEvent]) -> (us... function has_any_command (line 143) | fn has_any_command(events: &[ConversationEvent]) -> bool { FILE: crates/atuin-client/meta-migrations/20260203030924_create_meta.sql type meta (line 1) | create table if not exists meta ( FILE: crates/atuin-client/migrations/20210422143411_create_history.sql type history (line 2) | create table if not exists history ( type idx_history_timestamp (line 15) | create index if not exists idx_history_timestamp on history(timestamp) type idx_history_command (line 16) | create index if not exists idx_history_command on history(command) FILE: crates/atuin-client/migrations/20220505083406_create-events.sql type events (line 1) | create table if not exists events ( type history_event_idx (line 11) | create unique index history_event_idx ON events(event_type, history_id) FILE: crates/atuin-client/migrations/20220806155627_interactive_search_index.sql type idx_history_command_timestamp (line 3) | create index if not exists idx_history_command_timestamp on history( FILE: crates/atuin-client/record-migrations/20230531212437_create-records.sql type records (line 2) | create table if not exists records ( type host_idx (line 14) | create index host_idx on records (host) type tag_idx (line 15) | create index tag_idx on records (tag) type host_tag_idx (line 16) | create index host_tag_idx on records (host, tag) FILE: crates/atuin-client/record-migrations/20231127090831_create-store.sql type store (line 2) | create table if not exists store ( type record_uniq (line 15) | create unique index record_uniq ON store(host, tag, idx) FILE: crates/atuin-client/src/api_client.rs type AuthToken (line 42) | pub enum AuthToken { method to_header_value (line 51) | fn to_header_value(&self) -> String { type Client (line 59) | pub struct Client<'a> { function make_url (line 64) | fn make_url(address: &str, path: &str) -> Result { function register (line 83) | pub async fn register( function login (line 121) | pub async fn login(address: &str, req: LoginRequest) -> Result Result { function ensure_version (line 163) | pub fn ensure_version(response: &Response) -> Result { function handle_resp_error (line 189) | async fn handle_resp_error(resp: Response) -> Result { function new (line 225) | pub fn new( function count (line 249) | pub async fn count(&self) -> Result { function status (line 269) | pub async fn status(&self) -> Result { function me (line 285) | pub async fn me(&self) -> Result { function get_history (line 297) | pub async fn get_history( function post_history (line 322) | pub async fn post_history(&self, history: &[AddHistoryRequest]) -> Resul... function delete_history (line 332) | pub async fn delete_history(&self, h: History) -> Result<()> { function delete_store (line 350) | pub async fn delete_store(&self) -> Result<()> { function post_records (line 361) | pub async fn post_records(&self, records: &[Record]) -> R... function next_records (line 373) | pub async fn next_records( function record_status (line 400) | pub async fn record_status(&self) -> Result { function delete (line 418) | pub async fn delete(&self) -> Result<()> { function change_password (line 433) | pub async fn change_password( FILE: crates/atuin-client/src/auth.rs type AuthResponse (line 19) | pub enum AuthResponse { type MutateResponse (line 28) | pub enum MutateResponse { type AuthClient (line 41) | pub trait AuthClient: Send + Sync { method login (line 43) | async fn login( method register (line 51) | async fn register(&self, username: &str, email: &str, password: &str) ... method change_password (line 54) | async fn change_password( method delete_account (line 62) | async fn delete_account( method login (line 138) | async fn login( method register (line 159) | async fn register(&self, username: &str, email: &str, password: &str) ... method change_password (line 166) | async fn change_password( method delete_account (line 192) | async fn delete_account( method login (line 243) | async fn login( method register (line 295) | async fn register(&self, username: &str, email: &str, password: &str) ... method change_password (line 329) | async fn change_password( method delete_account (line 383) | async fn delete_account( function auth_client (line 70) | pub async fn auth_client(settings: &Settings) -> Box { type LegacyAuthClient (line 91) | pub struct LegacyAuthClient { method new (line 99) | pub fn new( method authenticated_client (line 113) | fn authenticated_client(&self) -> Result { type HubAuthClient (line 219) | pub struct HubAuthClient { method new (line 225) | pub fn new(address: &str, hub_token: Option) -> Self { type HubErrorResponse (line 236) | struct HubErrorResponse { function make_url (line 440) | fn make_url(address: &str, path: &str) -> Result { FILE: crates/atuin-client/src/database.rs type Context (line 36) | pub struct Context { method from_history (line 77) | pub fn from_history(entry: &History) -> Self { type OptFilters (line 45) | pub struct OptFilters { function current_context (line 58) | pub async fn current_context() -> eyre::Result { function get_session_start_time (line 88) | fn get_session_start_time(session_id: &str) -> Option { type Database (line 99) | pub trait Database: Send + Sync + 'static { method save (line 100) | async fn save(&self, h: &History) -> Result<()>; method save_bulk (line 101) | async fn save_bulk(&self, h: &[History]) -> Result<()>; method load (line 103) | async fn load(&self, id: &str) -> Result>; method list (line 104) | async fn list( method range (line 112) | async fn range(&self, from: OffsetDateTime, to: OffsetDateTime) -> Res... method update (line 114) | async fn update(&self, h: &History) -> Result<()>; method history_count (line 115) | async fn history_count(&self, include_deleted: bool) -> Result; method last (line 117) | async fn last(&self) -> Result>; method before (line 118) | async fn before(&self, timestamp: OffsetDateTime, count: i64) -> Resul... method delete (line 120) | async fn delete(&self, h: History) -> Result<()>; method delete_rows (line 121) | async fn delete_rows(&self, ids: &[HistoryId]) -> Result<()>; method deleted (line 122) | async fn deleted(&self) -> Result>; method search (line 128) | async fn search( method query_history (line 137) | async fn query_history(&self, query: &str) -> Result>; method all_with_count (line 139) | async fn all_with_count(&self) -> Result>; method all_paged (line 141) | fn all_paged(&self, page_size: usize, include_deleted: bool, unique: b... method stats (line 143) | async fn stats(&self, h: &History) -> Result; method get_dups (line 145) | async fn get_dups(&self, before: i64, dupkeep: u32) -> Result Box; method save (line 273) | async fn save(&self, h: &History) -> Result<()> { method save_bulk (line 282) | async fn save_bulk(&self, h: &[History]) -> Result<()> { method load (line 296) | async fn load(&self, id: &str) -> Result> { method update (line 308) | async fn update(&self, h: &History) -> Result<()> { method list (line 334) | async fn list( method range (line 393) | async fn range(&self, from: OffsetDateTime, to: OffsetDateTime) -> Res... method last (line 408) | async fn last(&self) -> Result> { method before (line 419) | async fn before(&self, timestamp: OffsetDateTime, count: i64) -> Resul... method deleted (line 432) | async fn deleted(&self) -> Result> { method history_count (line 441) | async fn history_count(&self, include_deleted: bool) -> Result { method search (line 452) | async fn search( method query_history (line 610) | async fn query_history(&self, query: &str) -> Result> { method all_with_count (line 619) | async fn all_with_count(&self) -> Result> { method all_paged (line 657) | fn all_paged(&self, page_size: usize, include_deleted: bool, unique: b... method delete (line 663) | async fn delete(&self, mut h: History) -> Result<()> { method delete_rows (line 677) | async fn delete_rows(&self, ids: &[HistoryId]) -> Result<()> { method stats (line 689) | async fn stats(&self, h: &History) -> Result { method get_dups (line 806) | async fn get_dups(&self, before: i64, dupkeep: u32) -> Result Box { type Sqlite (line 153) | pub struct Sqlite { method new (line 158) | pub async fn new(path: impl AsRef, timeout: f64) -> Result { method sqlite_version (line 191) | pub async fn sqlite_version(&self) -> Result { method setup_db (line 197) | async fn setup_db(pool: &SqlitePool) -> Result<()> { method save_raw (line 205) | async fn save_raw(tx: &mut sqlx::Transaction<'_, sqlx::Sqlite>, h: &Hi... method delete_row_raw (line 227) | async fn delete_row_raw( method query_history (line 239) | fn query_history(row: SqliteRow) -> History { type Paged (line 831) | pub struct Paged { method new (line 840) | pub fn new( method next (line 855) | pub async fn next(&mut self) -> Result>> { type SqlBuilderExt (line 891) | trait SqlBuilderExt { method fuzzy_condition (line 892) | fn fuzzy_condition( method fuzzy_condition (line 904) | fn fuzzy_condition( function assert_search_eq (line 938) | async fn assert_search_eq( function assert_search_commands (line 975) | async fn assert_search_commands( function new_history_item (line 989) | async fn new_history_item(db: &mut impl Database, cmd: &str) -> Result<(... function test_search_prefix (line 1006) | async fn test_search_prefix() { function test_search_fulltext (line 1024) | async fn test_search_fulltext() { function test_search_fuzzy (line 1110) | async fn test_search_fuzzy() { function test_search_reordered_fuzzy (line 1213) | async fn test_search_reordered_fuzzy() { function test_paged_basic (line 1241) | async fn test_paged_basic() { function test_paged_empty (line 1277) | async fn test_paged_empty() { function test_paged_unique (line 1291) | async fn test_paged_unique() { function test_paged_include_deleted (line 1314) | async fn test_paged_include_deleted() { function test_search_bench_dupes (line 1361) | async fn test_search_bench_dupes() { type QueryTokenizer (line 1397) | pub struct QueryTokenizer<'a> { type QueryToken (line 1402) | pub enum QueryToken<'a> { function has_uppercase (line 1412) | pub fn has_uppercase(&self) -> bool { function is_inverse (line 1422) | pub fn is_inverse(&self) -> bool { function new (line 1434) | pub fn new(query: &'a str) -> Self { type Item (line 1440) | type Item = QueryToken<'a>; method next (line 1441) | fn next(&mut self) -> Option { FILE: crates/atuin-client/src/distro.rs function detect_linux_distribution (line 6) | pub fn detect_linux_distribution() -> String { function detect_from_os_release (line 19) | fn detect_from_os_release() -> Option { function detect_from_debian_version (line 29) | fn detect_from_debian_version() -> Option { function detect_from_centos_release (line 35) | fn detect_from_centos_release() -> Option { function detect_from_redhat_release (line 41) | fn detect_from_redhat_release() -> Option { function detect_from_fedora_release (line 47) | fn detect_from_fedora_release() -> Option { function detect_from_arch_release (line 53) | fn detect_from_arch_release() -> Option { function detect_from_alpine_release (line 60) | fn detect_from_alpine_release() -> Option { function detect_from_suse_release (line 66) | fn detect_from_suse_release() -> Option { function detect_from_lsb_release (line 72) | fn detect_from_lsb_release() -> Option { function linux_distro_from_lsb_release (line 83) | fn linux_distro_from_lsb_release(output: &str) -> Option { FILE: crates/atuin-client/src/encryption.rs type EncryptedHistory (line 28) | pub struct EncryptedHistory { function generate_encoded_key (line 33) | pub fn generate_encoded_key() -> Result<(Key, String)> { function new_key (line 40) | pub fn new_key(settings: &Settings) -> Result { function load_key (line 57) | pub fn load_key(settings: &Settings) -> Result { function encode_key (line 70) | pub fn encode_key(key: &Key) -> Result { function decode_key (line 83) | pub fn decode_key(key: String) -> Result { function encrypt (line 121) | pub fn encrypt(history: &History, key: &Key) -> Result { function decrypt (line 136) | pub fn decrypt(mut encrypted_history: EncryptedHistory, key: &Key) -> Re... function format_rfc3339 (line 151) | fn format_rfc3339(ts: OffsetDateTime) -> Result { function encode (line 173) | fn encode(h: &History) -> Result> { function decode (line 196) | fn decode(bytes: &[u8]) -> Result { function error_report (line 264) | fn error_report(err: E) -> eyre::Report { function test_encrypt_decrypt (line 279) | fn test_encrypt_decrypt() { function test_decode (line 316) | fn test_decode() { function test_decode_deleted (line 351) | fn test_decode_deleted() { function test_decode_old (line 372) | fn test_decode_old() { function key_encodings (line 404) | fn key_encodings() { FILE: crates/atuin-client/src/history.rs constant HISTORY_VERSION_V0 (line 21) | pub(crate) const HISTORY_VERSION_V0: &str = "v0"; constant HISTORY_VERSION_V1 (line 22) | pub(crate) const HISTORY_VERSION_V1: &str = "v1"; constant HISTORY_RECORD_VERSION_V0 (line 23) | const HISTORY_RECORD_VERSION_V0: u16 = 0; constant HISTORY_RECORD_VERSION_V1 (line 24) | const HISTORY_RECORD_VERSION_V1: u16 = 1; constant HISTORY_VERSION (line 25) | pub(crate) const HISTORY_VERSION: &str = HISTORY_VERSION_V1; constant HISTORY_TAG (line 26) | pub const HISTORY_TAG: &str = "history"; constant HISTORY_AUTHOR_ENV (line 27) | const HISTORY_AUTHOR_ENV: &str = "ATUIN_HISTORY_AUTHOR"; constant HISTORY_INTENT_ENV (line 28) | const HISTORY_INTENT_ENV: &str = "ATUIN_HISTORY_INTENT"; type HistoryId (line 31) | pub struct HistoryId(pub String); method from (line 40) | fn from(s: String) -> Self { method fmt (line 34) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { type History (line 59) | pub struct History { method author_from_hostname (line 107) | pub(crate) fn author_from_hostname(hostname: &str) -> String { method normalize_optional_field (line 113) | fn normalize_optional_field(field: Option) -> Option { method new (line 125) | fn new( method serialize (line 162) | pub fn serialize(&self) -> Result { method read_optional_string (line 197) | fn read_optional_string(bytes: &[u8]) -> Result<(Option, &[u8]... method deserialize_v0 (line 216) | fn deserialize_v0(bytes: &[u8]) -> Result { method deserialize_v1 (line 280) | fn deserialize_v1(bytes: &[u8]) -> Result { method deserialize (line 351) | pub fn deserialize(bytes: &[u8], version: &str) -> Result { method import (line 401) | pub fn import() -> builder::HistoryImportedBuilder { method capture (line 435) | pub fn capture() -> builder::HistoryCapturedBuilder { method daemon (line 477) | pub fn daemon() -> builder::HistoryDaemonCaptureBuilder { method from_db (line 503) | pub fn from_db() -> builder::HistoryFromDbBuilder { method success (line 507) | pub fn success(&self) -> bool { method should_save (line 511) | pub fn should_save(&self, settings: &Settings) -> bool { type HistoryStats (line 87) | pub struct HistoryStats { function privacy_test (line 531) | fn privacy_test() { function disable_secrets (line 589) | fn disable_secrets() { function test_serialize_deserialize (line 606) | fn test_serialize_deserialize() { function test_serialize_deserialize_deleted (line 634) | fn test_serialize_deserialize_deleted() { function test_serialize_deserialize_with_author_and_intent (line 658) | fn test_serialize_deserialize_with_author_and_intent() { function test_serialize_deserialize_version (line 681) | fn test_serialize_deserialize_version() { FILE: crates/atuin-client/src/history/builder.rs type HistoryImported (line 9) | pub struct HistoryImported { method from (line 30) | fn from(imported: HistoryImported) -> Self { type HistoryCaptured (line 52) | pub struct HistoryCaptured { method from (line 65) | fn from(captured: HistoryCaptured) -> Self { type HistoryFromDb (line 85) | pub struct HistoryFromDb { method from (line 100) | fn from(from_db: HistoryFromDb) -> Self { type HistoryDaemonCapture (line 123) | pub struct HistoryDaemonCapture { method from (line 140) | fn from(captured: HistoryDaemonCapture) -> Self { FILE: crates/atuin-client/src/history/store.rs type HistoryStore (line 16) | pub struct HistoryStore { method new (line 112) | pub fn new(store: SqliteStore, host_id: HostId, encryption_key: [u8; 3... method push_record (line 120) | async fn push_record(&self, record: HistoryRecord) -> Result<(RecordId... method push_batch (line 145) | async fn push_batch(&self, records: impl Iterator Result<(RecordId, RecordI... method push (line 183) | pub async fn push(&self, history: History) -> Result<(RecordId, Record... method history (line 191) | pub async fn history(&self) -> Result> { method build (line 214) | pub async fn build(&self, database: &dyn Database) -> Result<()> { method incremental_build (line 246) | pub async fn incremental_build(&self, database: &dyn Database, ids: &[... method history_ids (line 287) | pub async fn history_ids(&self) -> Result> { method init_store (line 298) | pub async fn init_store(&self, db: &impl Database) -> Result<()> { type HistoryRecord (line 23) | pub enum HistoryRecord { method serialize (line 41) | pub fn serialize(&self) -> Result { method deserialize (line 67) | pub fn deserialize(bytes: &DecryptedData, version: &str) -> Result Result { method poll (line 83) | pub async fn poll(&self) -> Result { method wait_for_completion (line 108) | pub async fn wait_for_completion( type HubAuthStatus (line 41) | pub enum HubAuthStatus { constant DEFAULT_POLL_INTERVAL (line 51) | pub const DEFAULT_POLL_INTERVAL: Duration = Duration::from_secs(2); constant DEFAULT_AUTH_TIMEOUT (line 54) | pub const DEFAULT_AUTH_TIMEOUT: Duration = Duration::from_secs(600); function save_session (line 138) | pub async fn save_session(token: &str) -> Result<()> { function delete_session (line 147) | pub async fn delete_session() -> Result<()> { function is_logged_in (line 159) | pub async fn is_logged_in() -> Result { function get_session_token (line 167) | pub async fn get_session_token() -> Result> { function link_account (line 186) | pub async fn link_account(hub_address: &str, cli_token: &str) -> Result<... function make_url (line 223) | fn make_url(address: &str, path: &str) -> Result { function handle_resp_error (line 240) | async fn handle_resp_error(resp: reqwest::Response) -> Result Result { function verify_code (line 286) | async fn verify_code(address: &str, code: &str) -> Result Result { constant NAME (line 27) | const NAME: &'static str = "bash"; method new (line 29) | async fn new() -> Result { method entries (line 34) | async fn entries(&mut self) -> Result { method load (line 42) | async fn load(self, h: &mut impl Loader) -> Result<()> { type LineType (line 96) | enum LineType<'a> { function from (line 107) | fn from(bytes: &'a [u8]) -> Self { function try_parse_line_as_timestamp (line 122) | fn try_parse_line_as_timestamp(line: &str) -> Option { function parse_no_timestamps (line 138) | async fn parse_no_timestamps() { function parse_with_timestamps (line 164) | async fn parse_with_timestamps() { function parse_with_partial_timestamps (line 191) | async fn parse_with_partial_timestamps() { function is_strictly_sorted (line 212) | fn is_strictly_sorted(iter: impl IntoIterator) -> bool FILE: crates/atuin-client/src/import/fish.rs type Fish (line 16) | pub struct Fish { function default_histpath (line 21) | fn default_histpath() -> Result { constant NAME (line 49) | const NAME: &'static str = "fish"; method new (line 51) | async fn new() -> Result { method entries (line 56) | async fn entries(&mut self) -> Result { method load (line 60) | async fn load(self, loader: &mut impl Loader) -> Result<()> { function parse_complex (line 118) | async fn parse_complex() { FILE: crates/atuin-client/src/import/mod.rs type Importer (line 24) | pub trait Importer: Sized { constant NAME (line 25) | const NAME: &'static str; method new (line 26) | async fn new() -> Result; method entries (line 27) | async fn entries(&mut self) -> Result; method load (line 28) | async fn load(self, loader: &mut impl Loader) -> Result<()>; type Loader (line 32) | pub trait Loader: Sync + Send { method push (line 33) | async fn push(&mut self, hist: History) -> eyre::Result<()>; method push (line 135) | async fn push(&mut self, hist: History) -> Result<()> { function unix_byte_lines (line 36) | fn unix_byte_lines(input: &[u8]) -> impl Iterator { type UnixByteLines (line 44) | struct UnixByteLines<'a> { type Item (line 51) | type Item = &'a [u8]; method next (line 53) | fn next(&mut self) -> Option { method count (line 60) | fn count(self) -> usize function count_lines (line 68) | fn count_lines(input: &[u8]) -> usize { function get_histpath (line 72) | fn get_histpath(def: D) -> Result function get_histfile_path (line 83) | fn get_histfile_path(def: D) -> Result function get_histdir_path (line 90) | fn get_histdir_path(def: D) -> Result function read_to_end (line 97) | fn read_to_end(path: PathBuf) -> Result> { function is_file (line 103) | fn is_file(p: PathBuf) -> Result { function is_dir (line 113) | fn is_dir(p: PathBuf) -> Result { type TestLoader (line 129) | pub struct TestLoader { FILE: crates/atuin-client/src/import/nu.rs type Nu (line 16) | pub struct Nu { function get_histpath (line 20) | fn get_histpath() -> Result { constant NAME (line 34) | const NAME: &'static str = "nu"; method new (line 36) | async fn new() -> Result { method entries (line 41) | async fn entries(&mut self) -> Result { method load (line 45) | async fn load(self, h: &mut impl Loader) -> Result<()> { FILE: crates/atuin-client/src/import/nu_histdb.rs type HistDbEntry (line 17) | pub struct HistDbEntry { method from (line 30) | fn from(histdb_item: HistDbEntry) -> Self { type NuHistDb (line 50) | pub struct NuHistDb { method histpath (line 75) | pub fn histpath() -> Result { function hist_from_db (line 55) | async fn hist_from_db(dbpath: PathBuf) -> Result> { function hist_from_db_conn (line 60) | async fn hist_from_db_conn(pool: Pool) -> Result Result { method entries (line 103) | async fn entries(&mut self) -> Result { method load (line 107) | async fn load(self, h: &mut impl Loader) -> Result<()> { FILE: crates/atuin-client/src/import/powershell.rs type PowerShell (line 12) | pub struct PowerShell { function get_history_path (line 17) | fn get_history_path() -> Result { constant NAME (line 60) | const NAME: &'static str = "PowerShell"; method new (line 62) | async fn new() -> Result { method entries (line 70) | async fn entries(&mut self) -> Result { method load (line 80) | async fn load(mut self, h: &mut impl Loader) -> Result<()> { function read_line (line 124) | fn read_line(s: &[u8]) -> Result<&str> { constant INPUT (line 139) | const INPUT: &str = r#"cargo install atuin constant EXPECTED (line 151) | const EXPECTED: &[&str] = &[ function test_import (line 161) | async fn test_import() { function test_crlf (line 171) | async fn test_crlf() { function test_timestamps (line 182) | async fn test_timestamps() { function import (line 192) | async fn import(input: &str) -> TestLoader { FILE: crates/atuin-client/src/import/replxx.rs type Replxx (line 13) | pub struct Replxx { function default_histpath (line 17) | fn default_histpath() -> Result { constant NAME (line 43) | const NAME: &'static str = "replxx"; method new (line 45) | async fn new() -> Result { method entries (line 50) | async fn entries(&mut self) -> Result { method load (line 54) | async fn load(self, h: &mut impl Loader) -> Result<()> { function try_parse_line_as_timestamp (line 75) | fn try_parse_line_as_timestamp(line: &str) -> Option { function parse_complex (line 95) | async fn parse_complex() { FILE: crates/atuin-client/src/import/resh.rs type ReshEntry (line 17) | pub struct ReshEntry { type Resh (line 72) | pub struct Resh { function default_histpath (line 76) | fn default_histpath() -> Result { constant NAME (line 85) | const NAME: &'static str = "resh"; method new (line 87) | async fn new() -> Result { method entries (line 92) | async fn entries(&mut self) -> Result { method load (line 96) | async fn load(self, h: &mut impl Loader) -> Result<()> { FILE: crates/atuin-client/src/import/xonsh.rs type HistoryFile (line 20) | struct HistoryFile { type HistoryData (line 25) | struct HistoryData { type HistoryCmd (line 31) | struct HistoryCmd { type Xonsh (line 39) | pub struct Xonsh { function xonsh_hist_dir (line 45) | fn xonsh_hist_dir(xonsh_data_dir: Option) -> Result { function load_sessions (line 64) | fn load_sessions(hist_dir: &Path) -> Result> { function load_session (line 79) | fn load_session(path: &Path) -> Result> { constant NAME (line 101) | const NAME: &'static str = "xonsh"; method new (line 103) | async fn new() -> Result { method entries (line 112) | async fn entries(&mut self) -> Result { method load (line 117) | async fn load(self, loader: &mut impl Loader) -> Result<()> { function test_hist_dir_xonsh (line 165) | fn test_hist_dir_xonsh() { function test_import (line 174) | async fn test_import() { function expected_hist_entries (line 194) | fn expected_hist_entries() -> [History; 4] { FILE: crates/atuin-client/src/import/xonsh_sqlite.rs type HistDbEntry (line 18) | struct HistDbEntry { method into_hist_with_hostname (line 28) | fn into_hist_with_hostname(self, hostname: String) -> History { function xonsh_db_path (line 61) | fn xonsh_db_path(xonsh_data_dir: Option) -> Result { type XonshSqlite (line 84) | pub struct XonshSqlite { constant NAME (line 91) | const NAME: &'static str = "xonsh_sqlite"; method new (line 93) | async fn new() -> Result { method entries (line 109) | async fn entries(&mut self) -> Result { method load (line 116) | async fn load(self, loader: &mut impl Loader) -> Result<()> { function test_db_path_xonsh (line 148) | fn test_db_path_xonsh() { function test_import (line 157) | async fn test_import() { function expected_hist_entries (line 177) | fn expected_hist_entries() -> [History; 4] { FILE: crates/atuin-client/src/import/zsh.rs type Zsh (line 17) | pub struct Zsh { function default_histpath (line 21) | fn default_histpath() -> Result { constant NAME (line 49) | const NAME: &'static str = "zsh"; method new (line 51) | async fn new() -> Result { method entries (line 56) | async fn entries(&mut self) -> Result { method load (line 60) | async fn load(self, h: &mut impl Loader) -> Result<()> { function parse_extended (line 99) | fn parse_extended(line: &str, counter: i64) -> History { function unmetafy (line 121) | fn unmetafy(line: &[u8]) -> Option> { function test_parse_extended_simple (line 150) | fn test_parse_extended_simple() { function test_parse_file (line 189) | async fn test_parse_file() { function test_parse_metafied (line 215) | async fn test_parse_metafied() { FILE: crates/atuin-client/src/import/zsh_histdb.rs type HistDbEntryCount (line 51) | pub struct HistDbEntryCount { type HistDbEntry (line 56) | pub struct HistDbEntry { type ZshHistDb (line 68) | pub struct ZshHistDb { method histpath_candidate (line 96) | pub fn histpath_candidate() -> PathBuf { method histpath (line 109) | pub fn histpath() -> Result { function hist_from_db (line 74) | async fn hist_from_db(dbpath: PathBuf) -> Result> { function hist_from_db_conn (line 79) | async fn hist_from_db_conn(pool: Pool) -> Result Result { method entries (line 137) | async fn entries(&mut self) -> Result { method load (line 141) | async fn load(self, h: &mut impl Loader) -> Result<()> { function test_env_vars (line 182) | async fn test_env_vars() { function test_import (line 197) | async fn test_import() { FILE: crates/atuin-client/src/login.rs function login (line 15) | pub async fn login( FILE: crates/atuin-client/src/logout.rs function logout (line 5) | pub async fn logout() -> Result<()> { FILE: crates/atuin-client/src/meta.rs constant LEGACY_HOST_ID_FILENAME (line 13) | const LEGACY_HOST_ID_FILENAME: &str = "host_id"; constant LEGACY_LAST_SYNC_FILENAME (line 14) | const LEGACY_LAST_SYNC_FILENAME: &str = "last_sync_time"; constant LEGACY_LAST_VERSION_CHECK_FILENAME (line 15) | const LEGACY_LAST_VERSION_CHECK_FILENAME: &str = "last_version_check_time"; constant LEGACY_LATEST_VERSION_FILENAME (line 16) | const LEGACY_LATEST_VERSION_FILENAME: &str = "latest_version"; constant LEGACY_SESSION_FILENAME (line 17) | const LEGACY_SESSION_FILENAME: &str = "session"; constant KEY_HOST_ID (line 19) | const KEY_HOST_ID: &str = "host_id"; constant KEY_LAST_SYNC (line 20) | const KEY_LAST_SYNC: &str = "last_sync_time"; constant KEY_LAST_VERSION_CHECK (line 21) | const KEY_LAST_VERSION_CHECK: &str = "last_version_check_time"; constant KEY_LATEST_VERSION (line 22) | const KEY_LATEST_VERSION: &str = "latest_version"; constant KEY_SESSION (line 23) | const KEY_SESSION: &str = "session"; constant KEY_HUB_SESSION (line 24) | const KEY_HUB_SESSION: &str = "hub_session"; constant KEY_FILES_MIGRATED (line 25) | const KEY_FILES_MIGRATED: &str = "files_migrated"; type MetaStore (line 27) | pub struct MetaStore { method new (line 33) | pub async fn new(path: impl AsRef, timeout: f64) -> Result { method get (line 87) | pub async fn get(&self, key: &str) -> Result> { method set (line 96) | pub async fn set(&self, key: &str, value: &str) -> Result<()> { method delete (line 109) | pub async fn delete(&self, key: &str) -> Result<()> { method host_id (line 120) | pub async fn host_id(&self) -> Result { method last_sync (line 139) | pub async fn last_sync(&self) -> Result { method save_sync_time (line 146) | pub async fn save_sync_time(&self) -> Result<()> { method last_version_check (line 154) | pub async fn last_version_check(&self) -> Result { method save_version_check_time (line 161) | pub async fn save_version_check_time(&self) -> Result<()> { method latest_version (line 169) | pub async fn latest_version(&self) -> Result> { method save_latest_version (line 173) | pub async fn save_latest_version(&self, version: &str) -> Result<()> { method session_token (line 177) | pub async fn session_token(&self) -> Result> { method save_session (line 181) | pub async fn save_session(&self, token: &str) -> Result<()> { method delete_session (line 185) | pub async fn delete_session(&self) -> Result<()> { method logged_in (line 189) | pub async fn logged_in(&self) -> Result { method hub_session_token (line 195) | pub async fn hub_session_token(&self) -> Result> { method save_hub_session (line 199) | pub async fn save_hub_session(&self, token: &str) -> Result<()> { method delete_hub_session (line 203) | pub async fn delete_hub_session(&self) -> Result<()> { method hub_logged_in (line 207) | pub async fn hub_logged_in(&self) -> Result { method migrate_files (line 214) | async fn migrate_files(&self) -> Result<()> { function new_test_store (line 300) | async fn new_test_store() -> MetaStore { function test_get_set_delete (line 305) | async fn test_get_set_delete() { function test_host_id_generation_and_stability (line 321) | async fn test_host_id_generation_and_stability() { function test_sync_time (line 331) | async fn test_sync_time() { function test_version_check_time (line 343) | async fn test_version_check_time() { function test_session_crud (line 355) | async fn test_session_crud() { function test_latest_version (line 373) | async fn test_latest_version() { FILE: crates/atuin-client/src/ordering.rs function reorder_fuzzy (line 5) | pub fn reorder_fuzzy(mode: SearchMode, query: &str, res: Vec) -... function reorder (line 12) | fn reorder(query: &str, f: F, res: Vec) -> Vec FILE: crates/atuin-client/src/plugin.rs type OfficialPlugin (line 4) | pub struct OfficialPlugin { method new (line 11) | pub fn new(name: &str, description: &str, install_message: &str) -> Se... type OfficialPluginRegistry (line 20) | pub struct OfficialPluginRegistry { method new (line 25) | pub fn new() -> Self { method register_official_plugins (line 36) | fn register_official_plugins(&mut self) { method get_plugin (line 50) | pub fn get_plugin(&self, name: &str) -> Option<&OfficialPlugin> { method is_official_plugin (line 54) | pub fn is_official_plugin(&self, name: &str) -> bool { method get_install_message (line 58) | pub fn get_install_message(&self, name: &str) -> Option<&str> { method default (line 66) | fn default() -> Self { function test_registry_creation (line 76) | fn test_registry_creation() { function test_get_plugin (line 83) | fn test_get_plugin() { function test_get_install_message (line 91) | fn test_get_install_message() { FILE: crates/atuin-client/src/record/encryption.rs type PASETO_V4 (line 14) | pub struct PASETO_V4; method decrypt_cek (line 117) | fn decrypt_cek(wrapped_cek: String, key: &[u8; 32]) -> Result, key: &[u8; 32]) -> String { method re_encrypt (line 55) | fn re_encrypt( method encrypt (line 66) | fn encrypt(data: DecryptedData, ad: AdditionalData, key: &[u8; 32]) -> E... method decrypt (line 94) | fn decrypt(data: EncryptedData, ad: AdditionalData, key: &[u8; 32]) -> R... type AtuinPayload (line 155) | struct AtuinPayload { type AtuinFooter (line 162) | struct AtuinFooter { type Assertions (line 172) | struct Assertions<'a> { function from (line 181) | fn from(ad: AdditionalData<'a>) -> Self { function encode (line 193) | fn encode(&self) -> String { function round_trip (line 208) | fn round_trip() { function same_entry_different_output (line 227) | fn same_entry_different_output() { function cannot_decrypt_different_key (line 250) | fn cannot_decrypt_different_key() { function cannot_decrypt_different_id (line 269) | fn cannot_decrypt_different_id() { function re_encrypt_round_trip (line 292) | fn re_encrypt_round_trip() { function full_record_round_trip (line 324) | fn full_record_round_trip() { function full_record_round_trip_fail (line 347) | fn full_record_round_trip_fail() { FILE: crates/atuin-client/src/record/sqlite_store.rs type SqliteStore (line 27) | pub struct SqliteStore { method new (line 32) | pub async fn new(path: impl AsRef, timeout: f64) -> Result { method setup_db (line 65) | async fn setup_db(pool: &SqlitePool) -> Result<()> { method save_raw (line 73) | async fn save_raw( method query_row (line 96) | fn query_row(row: SqliteRow) -> Record { method load_all (line 118) | async fn load_all(&self) -> Result>> { method push_batch (line 130) | async fn push_batch( method get (line 145) | async fn get(&self, id: RecordId) -> Result> { method delete (line 155) | async fn delete(&self, id: RecordId) -> Result<()> { method delete_all (line 164) | async fn delete_all(&self) -> Result<()> { method last (line 170) | async fn last(&self, host: HostId, tag: &str) -> Result Result Result { method len_tag (line 200) | async fn len_tag(&self, tag: &str) -> Result { method len (line 212) | async fn len(&self, host: HostId, tag: &str) -> Result { method next (line 222) | async fn next( method idx (line 243) | async fn idx( method status (line 264) | async fn status(&self) -> Result { method all_tagged (line 288) | async fn all_tagged(&self, tag: &str) -> Result Re... method verify (line 339) | async fn verify(&self, key: &[u8; 32]) -> Result<()> { method purge (line 351) | async fn purge(&self, key: &[u8; 32]) -> Result<()> { function test_record (line 387) | fn test_record() -> Record { function create_db (line 401) | async fn create_db() { function push_record (line 412) | async fn push_record() { function get_record (line 422) | async fn get_record() { function last (line 435) | async fn last() { function first (line 455) | async fn first() { function len (line 475) | async fn len() { function len_tag (line 491) | async fn len_tag() { function len_different_tags (line 507) | async fn len_different_tags() { function append_a_bunch (line 529) | async fn append_a_bunch() { function append_a_big_bunch (line 556) | async fn append_a_big_bunch() { function re_encrypt (line 581) | async fn re_encrypt() { FILE: crates/atuin-client/src/record/store.rs type Store (line 11) | pub trait Store { method push (line 13) | async fn push(&self, record: &Record) -> Result<()> { method push_batch (line 18) | async fn push_batch( method get (line 23) | async fn get(&self, id: RecordId) -> Result>; method delete (line 25) | async fn delete(&self, id: RecordId) -> Result<()>; method delete_all (line 26) | async fn delete_all(&self) -> Result<()>; method len_all (line 28) | async fn len_all(&self) -> Result; method len (line 29) | async fn len(&self, host: HostId, tag: &str) -> Result; method len_tag (line 30) | async fn len_tag(&self, tag: &str) -> Result; method last (line 32) | async fn last(&self, host: HostId, tag: &str) -> Result Result ... method verify (line 36) | async fn verify(&self, key: &[u8; 32]) -> Result<()>; method purge (line 37) | async fn purge(&self, key: &[u8; 32]) -> Result<()>; method next (line 40) | async fn next( method idx (line 49) | async fn idx( method status (line 56) | async fn status(&self) -> Result; method all_tagged (line 59) | async fn all_tagged(&self, tag: &str) -> Result Record { function build_test_diff (line 371) | async fn build_test_diff( function test_basic_diff (line 399) | async fn test_basic_diff() { function build_two_way_diff (line 423) | async fn build_two_way_diff() { function build_complex_diff (line 466) | async fn build_complex_diff() { FILE: crates/atuin-client/src/register.rs function register_classic (line 5) | pub async fn register_classic( FILE: crates/atuin-client/src/secrets.rs type TestValue (line 6) | pub enum TestValue<'a> { function test_secrets (line 147) | fn test_secrets() { FILE: crates/atuin-client/src/settings.rs constant HISTORY_PAGE_SIZE (line 19) | pub const HISTORY_PAGE_SIZE: i64 = 100; type HubEndpoint (line 32) | pub struct HubEndpoint(String); method as_ref (line 47) | fn as_ref(&self) -> &str { constant DEFAULT_SYNC_ADDRESS (line 35) | pub const DEFAULT_SYNC_ADDRESS: &str = "https://api.atuin.sh"; constant DEFAULT_HUB_ENDPOINT (line 38) | pub const DEFAULT_HUB_ENDPOINT: &str = "https://hub.atuin.sh"; method default (line 41) | fn default() -> Self { type SearchMode (line 53) | pub enum SearchMode { method as_str (line 73) | pub fn as_str(&self) -> &'static str { method next (line 82) | pub fn next(&self, settings: &Settings) -> Self { type FilterMode (line 99) | pub enum FilterMode { method as_str (line 120) | pub fn as_str(&self) -> &'static str { type ExitMode (line 133) | pub enum ExitMode { type Dialect (line 144) | pub enum Dialect { function from (line 153) | fn from(d: Dialect) -> interim::Dialect { type Timezone (line 168) | pub struct Timezone(pub UtcOffset); method fmt (line 170) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Err (line 179) | type Err = Error; method from_str (line 181) | fn from_str(s: &str) -> Result { type Style (line 212) | pub enum Style { type WordJumpMode (line 224) | pub enum WordJumpMode { type KeymapMode (line 233) | pub enum KeymapMode { method as_str (line 248) | pub fn as_str(&self) -> &'static str { type CursorStyle (line 264) | pub enum CursorStyle { method as_str (line 288) | pub fn as_str(&self) -> &'static str { type Stats (line 302) | pub struct Stats { method common_prefix_default (line 312) | fn common_prefix_default() -> Vec { method common_subcommands_default (line 316) | fn common_subcommands_default() -> Vec { method ignored_commands_default (line 345) | fn ignored_commands_default() -> Vec { method default (line 351) | fn default() -> Self { type Sync (line 361) | pub struct Sync { type SyncProtocol (line 376) | pub enum SyncProtocol { type Keys (line 387) | pub struct Keys { method standard_defaults (line 399) | pub fn standard_defaults() -> Self { method has_non_default_values (line 411) | pub fn has_non_default_values(&self) -> bool { type KeyRuleConfig (line 424) | pub struct KeyRuleConfig { type KeyBindingConfig (line 436) | pub enum KeyBindingConfig { type KeymapConfig (line 446) | pub struct KeymapConfig { method is_empty (line 461) | pub fn is_empty(&self) -> bool { type Preview (line 471) | pub struct Preview { type Theme (line 476) | pub struct Theme { type Daemon (line 488) | pub struct Daemon { type Search (line 514) | pub struct Search { type Tmux (line 532) | pub struct Tmux { type LogLevel (line 546) | pub enum LogLevel { method as_directive (line 557) | pub fn as_directive(&self) -> &'static str { type LogConfig (line 570) | pub struct LogConfig { type Logs (line 585) | pub struct Logs { method default_enabled (line 688) | fn default_enabled() -> bool { method default_retention (line 692) | fn default_retention() -> u64 { method search_enabled (line 698) | pub fn search_enabled(&self) -> bool { method daemon_enabled (line 704) | pub fn daemon_enabled(&self) -> bool { method ai_enabled (line 710) | pub fn ai_enabled(&self) -> bool { method search_level (line 716) | pub fn search_level(&self) -> LogLevel { method daemon_level (line 722) | pub fn daemon_level(&self) -> LogLevel { method ai_level (line 728) | pub fn ai_level(&self) -> LogLevel { method search_retention (line 734) | pub fn search_retention(&self) -> u64 { method daemon_retention (line 740) | pub fn daemon_retention(&self) -> u64 { method ai_retention (line 746) | pub fn ai_retention(&self) -> u64 { method search_path (line 751) | pub fn search_path(&self) -> PathBuf { method daemon_path (line 757) | pub fn daemon_path(&self) -> PathBuf { method ai_path (line 763) | pub fn ai_path(&self) -> PathBuf { type Ai (line 616) | pub struct Ai { method default (line 633) | fn default() -> Self { method default (line 641) | fn default() -> Self { method default (line 651) | fn default() -> Self { method default (line 665) | fn default() -> Self { method default (line 770) | fn default() -> Self { method default (line 789) | fn default() -> Self { type PreviewStrategy (line 800) | pub enum PreviewStrategy { type UiColumnType (line 817) | pub enum UiColumnType { method default_width (line 839) | pub fn default_width(&self) -> u16 { type UiColumn (line 862) | pub struct UiColumn { method new (line 870) | pub fn new(column_type: UiColumnType) -> Self { method with_width (line 878) | pub fn with_width(column_type: UiColumnType, width: u16) -> Self { method deserialize (line 890) | fn deserialize(deserializer: D) -> Result type Ui (line 958) | pub struct Ui { method default_columns (line 968) | fn default_columns() -> Vec { method validate (line 978) | pub fn validate(&self) -> Result<()> { method default (line 991) | fn default() -> Self { type Settings (line 999) | pub struct Settings { method utc (line 1112) | pub fn utc() -> Self { method effective_data_dir (line 1123) | pub(crate) fn effective_data_dir() -> PathBuf { method meta_store (line 1132) | pub async fn meta_store() -> Result<&'static crate::meta::MetaStore> { method host_id (line 1143) | pub async fn host_id() -> Result { method last_sync (line 1147) | pub async fn last_sync() -> Result { method save_sync_time (line 1151) | pub async fn save_sync_time() -> Result<()> { method last_version_check (line 1155) | pub async fn last_version_check() -> Result { method save_version_check_time (line 1159) | pub async fn save_version_check_time() -> Result<()> { method should_sync (line 1163) | pub async fn should_sync(&self) -> Result { method logged_in (line 1181) | pub async fn logged_in(&self) -> Result { method session_token (line 1185) | pub async fn session_token(&self) -> Result { method hub_session_token (line 1192) | pub async fn hub_session_token(&self) -> Result { method normalize_url (line 1200) | fn normalize_url(url: &str) -> &str { method is_official_address (line 1205) | fn is_official_address(url: &str) -> bool { method is_hub_sync (line 1217) | pub fn is_hub_sync(&self) -> bool { method active_hub_endpoint (line 1230) | pub fn active_hub_endpoint(&self) -> Option { method sync_auth_token (line 1254) | pub async fn sync_auth_token(&self) -> Result Result { method latest_version (line 1286) | async fn latest_version(&self) -> Result { method needs_update (line 1317) | pub async fn needs_update(&self) -> Option { method default_filter_mode (line 1340) | pub fn default_filter_mode(&self, git_root: bool) -> FilterMode { method needs_update (line 1358) | pub async fn needs_update(&self) -> Option { method builder (line 1362) | pub fn builder() -> Result> { method builder_with_data_dir (line 1366) | fn builder_with_data_dir(data_dir: &std::path::Path) -> Result Result { method new (line 1504) | pub fn new() -> Result { method expand_path (line 1590) | fn expand_path(path: String) -> Result { method example_config (line 1596) | pub fn example_config() -> &'static str { method paths_ok (line 1600) | pub fn paths_ok(&self) -> bool { method default (line 1612) | fn default() -> Self { function init_meta_config_for_testing (line 1634) | pub fn init_meta_config_for_testing(meta_db_path: impl Into, loc... function test_local_timeout (line 1639) | pub(crate) fn test_local_timeout() -> f64 { function can_parse_offset_timezone_spec (line 1657) | fn can_parse_offset_timezone_spec() -> Result<()> { function can_choose_workspace_filters_when_in_git_context (line 1687) | fn can_choose_workspace_filters_when_in_git_context() -> Result<()> { function wont_choose_workspace_filters_when_not_in_git_context (line 1707) | fn wont_choose_workspace_filters_when_not_in_git_context() -> Result<()> { function wont_choose_workspace_filters_when_workspaces_disabled (line 1724) | fn wont_choose_workspace_filters_when_workspaces_disabled() -> Result<()> { function builder_with_data_dir_uses_custom_paths (line 1741) | fn builder_with_data_dir_uses_custom_paths() -> Result<()> { function effective_data_dir_returns_default_when_not_set (line 1787) | fn effective_data_dir_returns_default_when_not_set() { function keymap_config_deserializes_simple_binding (line 1796) | fn keymap_config_deserializes_simple_binding() { function keymap_config_deserializes_conditional_binding (line 1807) | fn keymap_config_deserializes_conditional_binding() { function keymap_config_deserializes_vim_normal (line 1830) | fn keymap_config_deserializes_vim_normal() { function keymap_config_is_empty_when_default (line 1838) | fn keymap_config_is_empty_when_default() { function keymap_config_mixed_modes (line 1844) | fn keymap_config_mixed_modes() { FILE: crates/atuin-client/src/settings/dotfiles.rs type Settings (line 4) | pub struct Settings { FILE: crates/atuin-client/src/settings/kv.rs type Settings (line 4) | pub struct Settings { method default (line 9) | fn default() -> Self { FILE: crates/atuin-client/src/settings/meta.rs type Settings (line 4) | pub struct Settings { method default (line 9) | fn default() -> Self { FILE: crates/atuin-client/src/settings/scripts.rs type Settings (line 4) | pub struct Settings { method default (line 9) | fn default() -> Self { FILE: crates/atuin-client/src/settings/watcher.rs function global_settings_watcher (line 47) | pub fn global_settings_watcher() -> Result<&'static SettingsWatcher> { type SettingsWatcher (line 60) | pub struct SettingsWatcher { method new (line 72) | pub fn new() -> Result { method subscribe (line 92) | pub fn subscribe(&self) -> watch::Receiver> { method current (line 97) | pub fn current(&self) -> Arc { method config_path (line 102) | fn config_path() -> PathBuf { method create_watcher (line 112) | fn create_watcher( method debounce_loop (line 208) | fn debounce_loop( FILE: crates/atuin-client/src/sync.rs function hash_str (line 17) | pub fn hash_str(string: &str) -> String { function sync_download (line 35) | async fn sync_download( function sync_upload (line 129) | async fn sync_upload( function sync (line 194) | pub async fn sync(settings: &Settings, force: bool, db: &impl Database) ... FILE: crates/atuin-client/src/theme.rs type Meaning (line 24) | pub enum Meaning { type ThemeConfig (line 37) | pub struct ThemeConfig { type ThemeDefinitionConfigBlock (line 46) | pub struct ThemeDefinitionConfigBlock { type Theme (line 58) | pub struct Theme { method get_base (line 69) | pub fn get_base(&self) -> ContentStyle { method get_info (line 73) | pub fn get_info(&self) -> ContentStyle { method get_warning (line 77) | pub fn get_warning(&self) -> ContentStyle { method get_error (line 81) | pub fn get_error(&self) -> ContentStyle { method get_alert (line 87) | pub fn get_alert(&self, severity: log::Level) -> ContentStyle { method new (line 91) | pub fn new( method closest_meaning (line 103) | pub fn closest_meaning<'a>(&self, meaning: &'a Meaning) -> &'a Meaning { method as_style (line 114) | pub fn as_style(&self, meaning: Meaning) -> ContentStyle { method from_foreground_colors (line 123) | pub fn from_foreground_colors( method from_map (line 148) | fn from_map( function from_string (line 168) | fn from_string(name: &str) -> Result { type StyleFactory (line 209) | pub struct StyleFactory {} method from_fg_string (line 212) | fn from_fg_string(name: &str) -> Result { method known_fg_string (line 221) | fn known_fg_string(name: &str) -> ContentStyle { method from_fg_color (line 225) | fn from_fg_color(color: Color) -> ContentStyle { method from_fg_color_and_attributes (line 232) | fn from_fg_color_and_attributes(color: Color, attributes: Attributes) ... type ThemeManager (line 363) | pub struct ThemeManager { method new (line 371) | pub fn new(debug: Option, theme_dir: Option) -> Self { method load_theme_from_file (line 384) | pub fn load_theme_from_file( method load_theme_from_config (line 424) | pub fn load_theme_from_config( method load_theme (line 478) | pub fn load_theme(&mut self, name: &str, max_depth: Option) -> &Th... function test_can_load_builtin_theme (line 501) | fn test_can_load_builtin_theme() { function test_can_create_theme (line 511) | fn test_can_create_theme() { function test_can_fallback_when_meaning_missing (line 530) | fn test_can_fallback_when_meaning_missing() { function test_no_fallbacks_are_circular (line 604) | fn test_no_fallbacks_are_circular() { function test_can_get_colors_via_convenience_functions (line 612) | fn test_can_get_colors_via_convenience_functions() { function test_can_use_parent_theme_for_fallbacks (line 629) | fn test_can_use_parent_theme_for_fallbacks() { function test_can_debug_theme (line 735) | fn test_can_debug_theme() { function test_can_parse_color_strings_correctly (line 777) | fn test_can_parse_color_strings_correctly() { FILE: crates/atuin-client/src/utils.rs function get_hostname (line 1) | pub(crate) fn get_hostname() -> String { function get_username (line 6) | pub(crate) fn get_username() -> String { function get_host_user (line 12) | pub(crate) fn get_host_user() -> String { FILE: crates/atuin-common/src/api.rs type UserResponse (line 15) | pub struct UserResponse { type RegisterRequest (line 20) | pub struct RegisterRequest { type RegisterResponse (line 27) | pub struct RegisterResponse { type DeleteUserResponse (line 32) | pub struct DeleteUserResponse {} type ChangePasswordRequest (line 35) | pub struct ChangePasswordRequest { type ChangePasswordResponse (line 41) | pub struct ChangePasswordResponse {} type LoginRequest (line 44) | pub struct LoginRequest { type LoginResponse (line 50) | pub struct LoginResponse { type AddHistoryRequest (line 55) | pub struct AddHistoryRequest { type CountResponse (line 64) | pub struct CountResponse { type SyncHistoryRequest (line 69) | pub struct SyncHistoryRequest { type SyncHistoryResponse (line 78) | pub struct SyncHistoryResponse { type ErrorResponse (line 83) | pub struct ErrorResponse<'a> { type IndexResponse (line 88) | pub struct IndexResponse { type StatusResponse (line 94) | pub struct StatusResponse { type DeleteHistoryRequest (line 107) | pub struct DeleteHistoryRequest { type MessageResponse (line 112) | pub struct MessageResponse { type MeResponse (line 117) | pub struct MeResponse { type CliCodeResponse (line 125) | pub struct CliCodeResponse { type CliVerifyResponse (line 131) | pub struct CliVerifyResponse { FILE: crates/atuin-common/src/calendar.rs type TimePeriod (line 4) | pub enum TimePeriod { type TimePeriodInfo (line 11) | pub struct TimePeriodInfo { FILE: crates/atuin-common/src/record.rs type DecryptedData (line 9) | pub struct DecryptedData(pub Vec); type EncryptedData (line 12) | pub struct EncryptedData { type Diff (line 18) | pub struct Diff { type Host (line 26) | pub struct Host { method new (line 32) | pub fn new(id: HostId) -> Self { type RecordIdx (line 43) | pub type RecordIdx = u64; type Record (line 47) | pub struct Record { type AdditionalData (line 78) | pub struct AdditionalData<'a> { function append (line 87) | pub fn append(&self, data: Vec) -> Record { type RecordStatus (line 101) | pub struct RecordStatus { method extend (line 113) | fn extend>(&mut se... method new (line 121) | pub fn new() -> RecordStatus { method set (line 128) | pub fn set(&mut self, tail: Record) { method set_raw (line 132) | pub fn set_raw(&mut self, host: HostId, tag: String, tail_id: RecordId... method get (line 136) | pub fn get(&self, host: HostId, tag: String) -> Option { method diff (line 147) | pub fn diff(&self, other: &Self) -> Vec { method default (line 107) | fn default() -> Self { type Encryption (line 202) | pub trait Encryption { method re_encrypt (line 203) | fn re_encrypt( method encrypt (line 212) | fn encrypt(data: DecryptedData, ad: AdditionalData, key: &[u8; 32]) ->... method decrypt (line 213) | fn decrypt(data: EncryptedData, ad: AdditionalData, key: &[u8; 32]) ->... function encrypt (line 217) | pub fn encrypt(self, key: &[u8; 32]) -> Record(self, key: &[u8; 32]) -> Result( function test_record (line 288) | fn test_record() -> Record { function record_index (line 299) | fn record_index() { function record_index_overwrite (line 315) | fn record_index_overwrite() { function record_index_no_diff (line 333) | fn record_index_no_diff() { function record_index_single_diff (line 350) | fn record_index_single_diff() { function record_index_multi_diff (line 377) | fn record_index_multi_diff() { FILE: crates/atuin-common/src/shell.rs type Shell (line 8) | pub enum Shell { method fmt (line 21) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method current (line 48) | pub fn current() -> Shell { method from_env (line 65) | pub fn from_env() -> Shell { method config_file (line 71) | pub fn config_file(&self) -> Option { method default_shell (line 93) | pub fn default_shell() -> Result { method from_string (line 121) | pub fn from_string(name: String) -> Shell { method is_posixish (line 138) | pub fn is_posixish(&self) -> bool { method run_interactive (line 142) | pub fn run_interactive(&self, args: I) -> Result) -> String { FILE: crates/atuin-common/src/tls.rs function ensure_crypto_provider (line 9) | pub fn ensure_crypto_provider() { FILE: crates/atuin-common/src/utils.rs function crypto_random_bytes (line 12) | pub fn crypto_random_bytes() -> [u8; N] { function crypto_random_string (line 23) | pub fn crypto_random_string() -> String { function uuid_v7 (line 31) | pub fn uuid_v7() -> Uuid { function uuid_v4 (line 35) | pub fn uuid_v4() -> String { function has_git_dir (line 39) | pub fn has_git_dir(path: &str) -> bool { function in_git_repo (line 49) | pub fn in_git_repo(path: &str) -> Option { function home_dir (line 68) | pub fn home_dir() -> PathBuf { function config_dir (line 74) | pub fn config_dir() -> PathBuf { function data_dir (line 80) | pub fn data_dir() -> PathBuf { function runtime_dir (line 87) | pub fn runtime_dir() -> PathBuf { function logs_dir (line 91) | pub fn logs_dir() -> PathBuf { function dotfiles_cache_dir (line 95) | pub fn dotfiles_cache_dir() -> PathBuf { function get_current_dir (line 103) | pub fn get_current_dir() -> String { function broken_symlink (line 114) | pub fn broken_symlink>(path: P) -> bool { type Escapable (line 125) | pub trait Escapable: AsRef { method escape_control (line 126) | fn escape_control(&self) -> Cow<'_, str> { function unquote (line 149) | pub fn unquote(s: &str) -> Result { function test_dirs (line 186) | fn test_dirs() { function test_config_dir_xdg (line 195) | fn test_config_dir_xdg() { function test_config_dir (line 209) | fn test_config_dir() { function test_data_dir_xdg (line 222) | fn test_data_dir_xdg() { function test_data_dir (line 233) | fn test_data_dir() { function uuid_is_unique (line 244) | fn uuid_is_unique() { function escape_control_characters (line 260) | fn escape_control_characters() { function escape_no_control_characters (line 277) | fn escape_no_control_characters() { function dumb_random_test (line 290) | fn dumb_random_test() { FILE: crates/atuin-daemon/build.rs function main (line 5) | fn main() -> std::io::Result<()> { FILE: crates/atuin-daemon/src/client.rs type HistoryClient (line 33) | pub struct HistoryClient { method new (line 67) | pub async fn new(path: String) -> Result { method new (line 93) | pub async fn new(port: u64) -> Result { method start_history (line 114) | pub async fn start_history(&mut self, h: History) -> Result Result { method shutdown (line 143) | pub async fn shutdown(&mut self) -> Result { type DaemonClientErrorKind (line 38) | pub enum DaemonClientErrorKind { function classify_error (line 46) | pub fn classify_error(error: &eyre::Report) -> DaemonClientErrorKind { type SearchClient (line 149) | pub struct SearchClient { method new (line 155) | pub async fn new(path: String) -> Result { method new (line 179) | pub async fn new(port: u64) -> Result { method search (line 201) | pub async fn search( method from (line 224) | fn from(filter_mode: FilterMode) -> Self { method from (line 237) | fn from(context: Context) -> Self { type ControlClient (line 257) | pub struct ControlClient { method new (line 264) | pub async fn new(path: String) -> Result { method new (line 289) | pub async fn new(port: u64) -> Result { method from_settings (line 312) | pub async fn from_settings(settings: &Settings) -> Result { method from_settings (line 318) | pub async fn from_settings(settings: &Settings) -> Result { method send_event (line 323) | pub async fn send_event(&mut self, event: DaemonEvent) -> Result<()> { function daemon_event_to_proto (line 334) | fn daemon_event_to_proto(event: DaemonEvent) -> crate::control::send_eve... function emit_event (line 381) | pub async fn emit_event(event: DaemonEvent) -> Result<()> { function emit_event_with_settings (line 389) | pub async fn emit_event_with_settings( FILE: crates/atuin-daemon/src/components/history.rs constant DAEMON_PROTOCOL_VERSION (line 28) | const DAEMON_PROTOCOL_VERSION: u32 = 1; type HistoryComponent (line 37) | pub struct HistoryComponent { method new (line 54) | pub fn new() -> Self { method grpc_service (line 67) | pub fn grpc_service(&self) -> HistoryServer { type HistoryComponentInner (line 41) | struct HistoryComponentInner { method default (line 75) | fn default() -> Self { method name (line 82) | fn name(&self) -> &'static str { method start (line 86) | async fn start(&mut self, handle: DaemonHandle) -> Result<()> { method handle_event (line 99) | async fn handle_event(&mut self, _event: &DaemonEvent) -> Result<()> { method stop (line 104) | async fn stop(&mut self) -> Result<()> { type HistoryGrpcService (line 113) | pub struct HistoryGrpcService { method start_history (line 120) | async fn start_history( method end_history (line 161) | async fn end_history( method status (line 227) | async fn status( method shutdown (line 242) | async fn shutdown( FILE: crates/atuin-daemon/src/components/search.rs constant PAGE_SIZE (line 25) | const PAGE_SIZE: usize = 5000; constant RESULTS_LIMIT (line 26) | const RESULTS_LIMIT: u32 = 200; constant FRECENCY_REFRESH_INTERVAL_SECS (line 28) | const FRECENCY_REFRESH_INTERVAL_SECS: u64 = 60; type SearchComponent (line 37) | pub struct SearchComponent { method new (line 46) | pub fn new() -> Self { method grpc_service (line 56) | pub fn grpc_service(&self) -> SearchServer { method rebuild_index (line 63) | async fn rebuild_index(&self) -> Result<()> { method default (line 106) | fn default() -> Self { method name (line 113) | fn name(&self) -> &'static str { method start (line 117) | async fn start(&mut self, handle: DaemonHandle) -> Result<()> { method handle_event (line 182) | async fn handle_event(&mut self, event: &DaemonEvent) -> Result<()> { method stop (line 263) | async fn stop(&mut self) -> Result<()> { type SearchGrpcService (line 276) | pub struct SearchGrpcService { type SearchStream (line 282) | type SearchStream = Pin String { function with_trailing_slash (line 407) | pub fn with_trailing_slash(s: &str) -> String { FILE: crates/atuin-daemon/src/components/sync.rs type SyncCommand (line 21) | enum SyncCommand { type SyncState (line 30) | enum SyncState { type SyncComponent (line 45) | pub struct SyncComponent { method new (line 52) | pub fn new() -> Self { method default (line 61) | fn default() -> Self { method name (line 68) | fn name(&self) -> &'static str { method start (line 72) | async fn start(&mut self, handle: DaemonHandle) -> Result<()> { method handle_event (line 83) | async fn handle_event(&mut self, event: &DaemonEvent) -> Result<()> { method stop (line 93) | async fn stop(&mut self) -> Result<()> { function sync_loop (line 110) | async fn sync_loop(handle: DaemonHandle, mut cmd_rx: mpsc::Receiver Self { method into_server (line 32) | pub fn into_server(self) -> ControlServer { method send_event (line 40) | async fn send_event( function proto_event_to_daemon_event (line 60) | fn proto_event_to_daemon_event(event: Event) -> Result broadcast::Receiver { method shutdown (line 102) | pub fn shutdown(&self) { method settings (line 112) | pub async fn settings(&self) -> tokio::sync::RwLockReadGuard<'_, Setti... method reload_settings (line 120) | pub async fn reload_settings(&self) -> Result<()> { method apply_settings (line 130) | pub async fn apply_settings(&self, settings: Settings) { method encryption_key (line 137) | pub fn encryption_key(&self) -> &[u8; 32] { method history_db (line 144) | pub fn history_db(&self) -> &HistoryDatabase { method store (line 149) | pub fn store(&self) -> &SqliteStore { method fmt (line 155) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Component (line 216) | pub trait Component: Send + Sync { method name (line 218) | fn name(&self) -> &'static str; method start (line 225) | async fn start(&mut self, handle: DaemonHandle) -> Result<()>; method handle_event (line 232) | async fn handle_event(&mut self, event: &DaemonEvent) -> Result<()>; method stop (line 237) | async fn stop(&mut self) -> Result<()>; type Daemon (line 260) | pub struct Daemon { method builder (line 267) | pub fn builder(settings: Settings) -> DaemonBuilder { method handle (line 274) | pub fn handle(&self) -> DaemonHandle { method start_components (line 282) | pub async fn start_components(&mut self) -> Result<()> { method run_event_loop (line 297) | pub async fn run_event_loop(&mut self) -> Result<()> { method stop_components (line 327) | pub async fn stop_components(&mut self) { method run (line 345) | pub async fn run(mut self) -> Result<()> { method dispatch_event (line 353) | async fn dispatch_event(&mut self, event: &DaemonEvent) { type DaemonBuilder (line 386) | pub struct DaemonBuilder { method new (line 395) | pub fn new(settings: Settings) -> Self { method store (line 405) | pub fn store(mut self, store: SqliteStore) -> Self { method history_db (line 411) | pub fn history_db(mut self, db: HistoryDatabase) -> Self { method component (line 419) | pub fn component(mut self, component: impl Component + 'static) -> Self { method build (line 427) | pub async fn build(self) -> Result { FILE: crates/atuin-daemon/src/events.rs type DaemonEvent (line 18) | pub enum DaemonEvent { FILE: crates/atuin-daemon/src/lib.rs function boot (line 29) | pub async fn boot( function shutdown_signal (line 113) | async fn shutdown_signal() { function shutdown_signal (line 127) | async fn shutdown_signal() { FILE: crates/atuin-daemon/src/search/index.rs function parse_uuid_bytes (line 29) | fn parse_uuid_bytes(s: &str) -> Option<[u8; 16]> { function format_uuid_bytes (line 34) | fn format_uuid_bytes(bytes: &[u8; 16]) -> String { type FrecencyData (line 40) | pub struct FrecencyData { method record_use (line 49) | pub fn record_use(&mut self, timestamp: i64) { method compute (line 68) | pub fn compute(&self, now: i64, recency_mul: f64, frequency_mul: f64) ... type CommandData (line 101) | pub struct CommandData { method new (line 122) | pub fn new(history: &History, interner: &ThreadedRodeo) -> Option { method add_invocation (line 154) | pub fn add_invocation(&mut self, history: &History, interner: &Threade... method most_recent_id (line 183) | pub fn most_recent_id(&self) -> String { method has_invocation_in_dir (line 189) | pub fn has_invocation_in_dir(&self, dir: &str, interner: &ThreadedRode... method has_invocation_in_workspace (line 197) | pub fn has_invocation_in_workspace(&self, prefix: &str, interner: &Thr... method has_invocation_on_host (line 205) | pub fn has_invocation_on_host(&self, hostname: &str, interner: &Thread... method has_invocation_in_session (line 213) | pub fn has_invocation_in_session(&self, session: &str) -> bool { type IndexFilterMode (line 220) | pub enum IndexFilterMode { type QueryContext (line 235) | pub struct QueryContext { type FrecencyMap (line 244) | type FrecencyMap = Arc, u32>>; type SearchIndex (line 254) | pub struct SearchIndex { method new (line 271) | pub fn new() -> Self { method add_history (line 290) | pub fn add_history(&self, history: &History) { method add_histories (line 313) | pub fn add_histories(&self, histories: &[History]) { method command_count (line 320) | pub fn command_count(&self) -> usize { method nucleo_item_count (line 325) | pub async fn nucleo_item_count(&self) -> u32 { method search (line 334) | pub async fn search( method rebuild_frecency (line 396) | pub async fn rebuild_frecency(&self, search_settings: &Search) { method build_filter (line 420) | fn build_filter(&self, mode: &IndexFilterMode) -> Option) -> Option Self { function make_history (line 479) | fn make_history(command: &str, cwd: &str, timestamp: OffsetDateTime) -> ... function frecency_data_compute (line 489) | fn frecency_data_compute() { function frecency_data_compute_with_multipliers (line 516) | fn frecency_data_compute_with_multipliers() { function command_data_add_invocation (line 559) | fn command_data_add_invocation() { function command_data_filters (line 584) | fn command_data_filters() { function search_index_add_and_search (line 637) | async fn search_index_add_and_search() { FILE: crates/atuin-daemon/src/server.rs function run_grpc_server (line 17) | pub async fn run_grpc_server( function run_grpc_server (line 117) | pub async fn run_grpc_server( FILE: crates/atuin-daemon/tests/lifecycle.rs function start_test_daemon (line 23) | async fn start_test_daemon() -> (HistoryClient, DaemonHandle, TempDir) { function test_status (line 113) | async fn test_status() { function test_start_end_history (line 124) | async fn test_start_end_history() { function test_end_unknown_history_fails (line 149) | async fn test_end_unknown_history_fails() { function test_shutdown (line 159) | async fn test_shutdown() { FILE: crates/atuin-dotfiles/src/shell.rs type Alias (line 16) | pub struct Alias { type Var (line 22) | pub struct Var { method serialize (line 34) | pub fn serialize(&self, output: &mut Vec) -> Result<()> { method deserialize (line 44) | pub fn deserialize(bytes: &mut decode::Bytes) -> Result { function parse_alias (line 79) | pub fn parse_alias(line: &str) -> Option { function existing_aliases (line 116) | pub fn existing_aliases(shell: Option) -> Result, Shel... function import_aliases (line 140) | pub async fn import_aliases(store: &AliasStore) -> Result> { function test_parse_simple_alias (line 165) | fn test_parse_simple_alias() { function test_parse_quoted_alias (line 172) | fn test_parse_quoted_alias() { function test_parse_quoted_alias_equals (line 188) | fn test_parse_quoted_alias_equals() { function test_parse_fish (line 196) | fn test_parse_fish() { function test_parse_with_fortune (line 213) | fn test_parse_with_fortune() { FILE: crates/atuin-dotfiles/src/shell/bash.rs function cached_aliases (line 5) | async fn cached_aliases(path: PathBuf, store: &AliasStore) -> String { function cached_vars (line 19) | async fn cached_vars(path: PathBuf, store: &VarStore) -> String { function alias_config (line 40) | pub async fn alias_config(store: &AliasStore) -> String { function var_config (line 55) | pub async fn var_config(store: &VarStore) -> String { FILE: crates/atuin-dotfiles/src/shell/fish.rs function cached_aliases (line 6) | async fn cached_aliases(path: PathBuf, store: &AliasStore) -> String { function cached_vars (line 20) | async fn cached_vars(path: PathBuf, store: &VarStore) -> String { function alias_config (line 41) | pub async fn alias_config(store: &AliasStore) -> String { function var_config (line 56) | pub async fn var_config(store: &VarStore) -> String { FILE: crates/atuin-dotfiles/src/shell/powershell.rs function cached_aliases (line 5) | async fn cached_aliases(path: PathBuf, store: &AliasStore) -> String { function cached_vars (line 19) | async fn cached_vars(path: PathBuf, store: &VarStore) -> String { function alias_config (line 40) | pub async fn alias_config(store: &AliasStore) -> String { function var_config (line 55) | pub async fn var_config(store: &VarStore) -> String { function format_alias (line 70) | pub fn format_alias(alias: &Alias) -> String { function format_var (line 90) | pub fn format_var(var: &Var) -> String { function secure_command (line 101) | fn secure_command(command: &str) -> String { function aliases (line 113) | fn aliases() { function vars (line 142) | fn vars() { function invoke_expression (line 163) | fn invoke_expression() { FILE: crates/atuin-dotfiles/src/shell/xonsh.rs function cached_aliases (line 5) | async fn cached_aliases(path: PathBuf, store: &AliasStore) -> String { function cached_vars (line 19) | async fn cached_vars(path: PathBuf, store: &VarStore) -> String { function alias_config (line 40) | pub async fn alias_config(store: &AliasStore) -> String { function var_config (line 55) | pub async fn var_config(store: &VarStore) -> String { FILE: crates/atuin-dotfiles/src/shell/zsh.rs function cached_aliases (line 5) | async fn cached_aliases(path: PathBuf, store: &AliasStore) -> String { function cached_vars (line 19) | async fn cached_vars(path: PathBuf, store: &VarStore) -> String { function alias_config (line 40) | pub async fn alias_config(store: &AliasStore) -> String { function var_config (line 55) | pub async fn var_config(store: &VarStore) -> String { FILE: crates/atuin-dotfiles/src/store.rs constant CONFIG_SHELL_ALIAS_VERSION (line 17) | const CONFIG_SHELL_ALIAS_VERSION: &str = "v0"; constant CONFIG_SHELL_ALIAS_TAG (line 18) | const CONFIG_SHELL_ALIAS_TAG: &str = "config-shell-alias"; constant CONFIG_SHELL_ALIAS_FIELD_MAX_LEN (line 19) | const CONFIG_SHELL_ALIAS_FIELD_MAX_LEN: usize = 20000; type AliasRecord (line 25) | pub enum AliasRecord { method serialize (line 31) | pub fn serialize(&self) -> Result { method deserialize (line 55) | pub fn deserialize(data: &DecryptedData, version: &str) -> Result { type AliasStore (line 127) | pub struct AliasStore { method new (line 135) | pub fn new(store: SqliteStore, host_id: HostId, encryption_key: [u8; 3... method posix (line 143) | pub async fn posix(&self) -> Result { method xonsh (line 148) | pub async fn xonsh(&self) -> Result { method powershell (line 153) | pub async fn powershell(&self) -> Result { method format_posix (line 158) | fn format_posix(aliases: &[Alias]) -> String { method format_xonsh (line 172) | fn format_xonsh(aliases: &[Alias]) -> String { method format_powershell (line 182) | fn format_powershell(aliases: &[Alias]) -> String { method build (line 192) | pub async fn build(&self) -> Result<()> { method set (line 221) | pub async fn set(&self, name: &str, value: &str) -> Result<()> { method delete (line 260) | pub async fn delete(&self, name: &str) -> Result<()> { method aliases (line 296) | pub async fn aliases(&self) -> Result> { function test_local_timeout (line 327) | pub(crate) fn test_local_timeout() -> f64 { function encode_decode (line 348) | fn encode_decode() { function build_aliases (line 365) | async fn build_aliases() { FILE: crates/atuin-dotfiles/src/store/var.rs constant DOTFILES_VAR_VERSION (line 16) | const DOTFILES_VAR_VERSION: &str = "v0"; constant DOTFILES_VAR_TAG (line 17) | const DOTFILES_VAR_TAG: &str = "dotfiles-var"; constant DOTFILES_VAR_LEN (line 18) | const DOTFILES_VAR_LEN: usize = 20000; type VarRecord (line 21) | pub enum VarRecord { method serialize (line 27) | pub fn serialize(&self) -> Result { method deserialize (line 49) | pub fn deserialize(data: &DecryptedData, version: &str) -> Result { type VarStore (line 102) | pub struct VarStore { method new (line 110) | pub fn new(store: SqliteStore, host_id: HostId, encryption_key: [u8; 3... method escape_posix_value (line 120) | fn escape_posix_value(value: &str) -> String { method escape_fish_value (line 142) | fn escape_fish_value(value: &str) -> String { method escape_xonsh_value (line 157) | fn escape_xonsh_value(value: &str) -> String { method xonsh (line 170) | pub async fn xonsh(&self) -> Result { method fish (line 175) | pub async fn fish(&self) -> Result { method posix (line 180) | pub async fn posix(&self) -> Result { method powershell (line 185) | pub async fn powershell(&self) -> Result { method format_xonsh (line 190) | fn format_xonsh(env: &[Var]) -> String { method format_fish (line 201) | fn format_fish(env: &[Var]) -> String { method format_posix (line 212) | fn format_posix(env: &[Var]) -> String { method format_powershell (line 227) | fn format_powershell(env: &[Var]) -> String { method build (line 237) | pub async fn build(&self) -> Result<()> { method set (line 267) | pub async fn set(&self, name: &str, value: &str, export: bool) -> Resu... method delete (line 307) | pub async fn delete(&self, name: &str) -> Result<()> { method vars (line 343) | pub async fn vars(&self) -> Result> { function encode_decode (line 385) | fn encode_decode() { function test_escape_posix_value (line 405) | fn test_escape_posix_value() { function test_escape_fish_value (line 441) | fn test_escape_fish_value() { function test_escape_xonsh_value (line 455) | fn test_escape_xonsh_value() { function build_vars (line 479) | async fn build_vars() { function test_var_generation_with_spaces (line 517) | async fn test_var_generation_with_spaces() { FILE: crates/atuin-hex/src/lib.rs type Cmd (line 6) | pub enum Cmd { type Init (line 12) | pub struct Init { method run (line 41) | fn run(self) -> Result<(), String> { type Shell (line 21) | enum Shell { method as_str (line 31) | fn as_str(self) -> &'static str { function run (line 49) | pub fn run(cmd: Option) { function detect_shell (line 61) | fn detect_shell(cli_shell: Option) -> Result { function shell_from_name (line 84) | fn shell_from_name(name: &str) -> Option { function init_command (line 101) | fn init_command(shell: Shell) -> String { function render_init (line 105) | fn render_init(shell: Shell) -> String { function main (line 157) | pub(crate) fn main() { type ParserMsg (line 172) | enum ParserMsg { function main (line 178) | pub(crate) fn main() { function socket_path (line 186) | fn socket_path() -> std::path::PathBuf { function encode_screen (line 203) | fn encode_screen(parser: &vt100::Parser) -> Vec { function handle_parser_msg (line 223) | fn handle_parser_msg(parser: &mut vt100::Parser, msg: ParserMsg) { function run (line 233) | fn run() -> eyre::Result<()> { function process_exit_code (line 412) | fn process_exit_code(code: u32) -> i32 { function process_exit_code_preserves_valid_values (line 421) | fn process_exit_code_preserves_valid_values() { function process_exit_code_defaults_when_out_of_range (line 428) | fn process_exit_code_defaults_when_out_of_range() { function shell_from_name_handles_paths (line 439) | fn shell_from_name_handles_paths() { function init_command_is_bootstrap_only (line 446) | fn init_command_is_bootstrap_only() { function posix_init_uses_exec_and_tmux_guard (line 452) | fn posix_init_uses_exec_and_tmux_guard() { function fish_init_uses_source (line 460) | fn fish_init_uses_source() { FILE: crates/atuin-hex/src/osc133.rs type Event (line 27) | pub enum Event { type Zone (line 44) | pub enum Zone { constant ESC (line 60) | const ESC: u8 = 0x1B; constant BEL (line 61) | const BEL: u8 = 0x07; constant BACKSLASH (line 62) | const BACKSLASH: u8 = b'\\'; constant RIGHT_BRACKET (line 63) | const RIGHT_BRACKET: u8 = b']'; constant PARAM_BUF_CAP (line 69) | const PARAM_BUF_CAP: usize = 32; type State (line 76) | enum State { type Parser (line 94) | pub struct Parser { method new (line 110) | pub fn new() -> Self { method zone (line 122) | pub fn zone(&self) -> Zone { method push (line 132) | pub fn push(&mut self, data: &[u8], mut on_event: impl FnMut(Event)) { method dispatch (line 177) | fn dispatch(&mut self, on_event: &mut impl FnMut(Event)) { method default (line 102) | fn default() -> Self { function parse_events (line 226) | fn parse_events(data: &[u8]) -> Vec { function detect_prompt_start_bel (line 236) | fn detect_prompt_start_bel() { function detect_prompt_start_st (line 242) | fn detect_prompt_start_st() { function detect_command_start_bel (line 248) | fn detect_command_start_bel() { function detect_command_start_st (line 254) | fn detect_command_start_st() { function detect_command_executed_bel (line 260) | fn detect_command_executed_bel() { function detect_command_executed_st (line 266) | fn detect_command_executed_st() { function detect_command_finished_no_exit_code (line 272) | fn detect_command_finished_no_exit_code() { function detect_command_finished_exit_zero (line 281) | fn detect_command_finished_exit_zero() { function detect_command_finished_exit_nonzero (line 290) | fn detect_command_finished_exit_nonzero() { function detect_command_finished_negative_exit_code (line 301) | fn detect_command_finished_negative_exit_code() { function detect_command_finished_exit_code_st (line 312) | fn detect_command_finished_exit_code_st() { function invalid_exit_code_yields_none (line 323) | fn invalid_exit_code_yields_none() { function zone_starts_unknown (line 334) | fn zone_starts_unknown() { function full_zone_cycle (line 340) | fn full_zone_cycle() { function multiple_events_single_push (line 370) | fn multiple_events_single_push() { function split_esc_and_bracket (line 387) | fn split_esc_and_bracket() { function split_mid_param (line 399) | fn split_mid_param() { function split_before_terminator (line 416) | fn split_before_terminator() { function split_esc_backslash_terminator (line 428) | fn split_esc_backslash_terminator() { function normal_text_before_and_after (line 442) | fn normal_text_before_and_after() { function non_133_osc_ignored (line 451) | fn non_133_osc_ignored() { function osc_7_ignored (line 458) | fn osc_7_ignored() { function unknown_command_ignored (line 466) | fn unknown_command_ignored() { function esc_followed_by_non_bracket (line 474) | fn esc_followed_by_non_bracket() { function lone_esc_at_end_of_chunk (line 481) | fn lone_esc_at_end_of_chunk() { function truncated_133_prefix (line 494) | fn truncated_133_prefix() { function empty_osc (line 501) | fn empty_osc() { function very_long_osc_does_not_panic (line 509) | fn very_long_osc_does_not_panic() { function empty_input (line 521) | fn empty_input() { function only_normal_text (line 526) | fn only_normal_text() { function repeated_prompt_cycle (line 534) | fn repeated_prompt_cycle() { function byte_at_a_time (line 558) | fn byte_at_a_time() { function mixed_bel_and_st_terminators (line 578) | fn mixed_bel_and_st_terminators() { function parser_default (line 595) | fn parser_default() { function zone_default (line 601) | fn zone_default() { function d_with_semicolon_but_empty_code (line 608) | fn d_with_semicolon_but_empty_code() { function back_to_back_osc_no_gap (line 620) | fn back_to_back_osc_no_gap() { function csi_sequences_ignored (line 629) | fn csi_sequences_ignored() { function large_exit_code (line 639) | fn large_exit_code() { function overflow_exit_code_yields_none (line 650) | fn overflow_exit_code_yields_none() { FILE: crates/atuin-history/benches/smart_sort.rs function main (line 6) | fn main() { function smart_sort (line 13) | fn smart_sort(lines: usize) { FILE: crates/atuin-history/src/sort.rs type ScoredHistory (line 3) | type ScoredHistory = (f64, History); function sort (line 9) | pub fn sort(query: &str, input: Vec) -> Vec { FILE: crates/atuin-history/src/stats.rs type Stats (line 10) | pub struct Stats { function first_non_whitespace (line 16) | fn first_non_whitespace(s: &str) -> Option { function first_whitespace (line 24) | fn first_whitespace(s: &str) -> usize { function interesting_command (line 32) | fn interesting_command<'a>(settings: &Settings, mut command: &'a str) ->... function split_at_pipe (line 73) | fn split_at_pipe(command: &str) -> Vec<&str> { function strip_leading_env_vars (line 112) | fn strip_leading_env_vars(command: &str) -> &str { function pretty_print (line 171) | pub fn pretty_print(stats: Stats, ngram_size: usize, theme: &Theme) { function compute (line 248) | pub fn compute( function ignored_env_vars (line 316) | fn ignored_env_vars() { function ignored_commands (line 331) | fn ignored_commands() { function interesting_commands (line 354) | fn interesting_commands() { function interesting_commands_spaces (line 371) | fn interesting_commands_spaces() { function interesting_commands_spaces_subcommand (line 396) | fn interesting_commands_spaces_subcommand() { function interesting_commands_spaces_both (line 426) | fn interesting_commands_spaces_both() { function split_simple (line 453) | fn split_simple() { function split_multi (line 458) | fn split_multi() { function split_simple_quoted (line 466) | fn split_simple_quoted() { function split_multi_quoted (line 474) | fn split_multi_quoted() { function escaped_pipes (line 482) | fn escaped_pipes() { function emoji (line 490) | fn emoji() { function starts_with_pipe (line 498) | fn starts_with_pipe() { function starts_with_spaces_and_pipe (line 506) | fn starts_with_spaces_and_pipe() { function strip_leading_env_vars_simple (line 514) | fn strip_leading_env_vars_simple() { function strip_leading_env_vars_quoted_single (line 522) | fn strip_leading_env_vars_quoted_single() { function strip_leading_env_vars_quoted_double (line 527) | fn strip_leading_env_vars_quoted_double() { function strip_leading_env_vars_quoted_single_and_double (line 535) | fn strip_leading_env_vars_quoted_single_and_double() { function strip_leading_env_vars_emojis (line 543) | fn strip_leading_env_vars_emojis() { function strip_leading_env_vars_name_same_as_command (line 551) | fn strip_leading_env_vars_name_same_as_command() { FILE: crates/atuin-kv/migrations/20250501160746_create_kv_db.up.sql type kv (line 2) | CREATE TABLE type idx_kv_namespace (line 10) | CREATE INDEX idx_kv_namespace ON kv (namespace) type idx_kv (line 12) | CREATE UNIQUE INDEX idx_kv ON kv (namespace, key) FILE: crates/atuin-kv/src/database.rs type Database (line 17) | pub struct Database { method new (line 22) | pub async fn new(path: impl AsRef, timeout: f64) -> Result { method sqlite_version (line 56) | pub async fn sqlite_version(&self) -> Result { method setup_db (line 62) | async fn setup_db(pool: &SqlitePool) -> Result<()> { method save_raw (line 70) | async fn save_raw(tx: &mut sqlx::Transaction<'_, sqlx::Sqlite>, e: &Kv... method delete_raw (line 88) | async fn delete_raw( method save (line 101) | pub async fn save(&self, e: &KvEntry) -> Result<()> { method delete (line 110) | pub async fn delete(&self, namespace: &str, key: &str) -> Result<()> { method query_kv_entry (line 120) | fn query_kv_entry(row: SqliteRow) -> KvEntry { method load (line 132) | pub async fn load(&self, namespace: &str, key: &str) -> Result) -> Result Re... method get (line 59) | pub async fn get(&self, namespace: &str, key: &str) -> Result Result... method list (line 79) | pub async fn list(&self, namespace: Option<&str>) -> Result Result<(RecordId, Rec... method build (line 110) | pub async fn build(&self) -> Result<()> { function setup (line 170) | async fn setup() -> Result { function test_kv_store (line 179) | async fn test_kv_store() -> Result<()> { FILE: crates/atuin-kv/src/store/entry.rs type KvEntry (line 4) | pub struct KvEntry { FILE: crates/atuin-kv/src/store/record.rs constant KV_VERSION (line 5) | pub const KV_VERSION: &str = "v1"; constant KV_TAG (line 6) | pub const KV_TAG: &str = "kv"; constant KV_VAL_MAX_LEN (line 7) | pub const KV_VAL_MAX_LEN: usize = 100 * 1024; type KvRecord (line 10) | pub struct KvRecord { method serialize (line 17) | pub fn serialize(&self) -> Result { method deserialize (line 36) | pub fn deserialize(data: &DecryptedData, version: &str) -> Result { function encode_decode_some (line 110) | fn encode_decode_some() { function encode_decode_none (line 128) | fn encode_decode_none() { function decode_v0 (line 144) | fn decode_v0() { FILE: crates/atuin-nucleo/bench/src/main.rs function bench_dir (line 9) | fn bench_dir() -> PathBuf { function checkout_linux_if_needed (line 15) | fn checkout_linux_if_needed() { function main (line 35) | fn main() { FILE: crates/atuin-nucleo/matcher/fuzz/fuzz_targets/fuzz_target_1.rs type Input (line 8) | pub struct Input<'a> { FILE: crates/atuin-nucleo/matcher/src/chars.rs type Char (line 17) | pub(crate) trait Char: Copy + Eq + Ord + fmt::Display { constant ASCII (line 18) | const ASCII: bool; method char_class (line 19) | fn char_class(self, config: &Config) -> CharClass; method char_class_and_normalize (line 20) | fn char_class_and_normalize(self, config: &Config) -> (Self, CharClass); method normalize (line 21) | fn normalize(self, config: &Config) -> Self; constant ASCII (line 48) | const ASCII: bool = true; method char_class (line 50) | fn char_class(self, config: &Config) -> CharClass { method char_class_and_normalize (line 69) | fn char_class_and_normalize(mut self, config: &Config) -> (Self, CharC... method normalize (line 78) | fn normalize(mut self, config: &Config) -> Self { constant ASCII (line 101) | const ASCII: bool = false; method char_class (line 103) | fn char_class(self, config: &Config) -> CharClass { method char_class_and_normalize (line 111) | fn char_class_and_normalize(mut self, config: &Config) -> (Self, CharC... method normalize (line 134) | fn normalize(mut self, config: &Config) -> Self { type AsciiChar (line 27) | pub(crate) struct AsciiChar(pub u8); method cast (line 30) | pub fn cast(bytes: &[u8]) -> &[AsciiChar] { method fmt (line 36) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function eq (line 42) | fn eq(&self, other: &AsciiChar) -> bool { function char_class_non_ascii (line 85) | fn char_class_non_ascii(c: char) -> CharClass { function to_lower_case (line 155) | pub fn to_lower_case(c: char) -> char { function is_upper_case (line 164) | pub fn is_upper_case(c: char) -> bool { type CharClass (line 175) | pub(crate) enum CharClass { function graphemes (line 189) | pub fn graphemes(text: &str) -> impl Iterator + '_ { FILE: crates/atuin-nucleo/matcher/src/chars/case_fold.rs constant CASE_FOLDING_SIMPLE (line 9) | pub const CASE_FOLDING_SIMPLE: &'static [(char, char)] = &[ FILE: crates/atuin-nucleo/matcher/src/chars/normalize.rs function normalize (line 27) | pub fn normalize(c: char) -> char { function check_conversions (line 899) | fn check_conversions(pairs: &[(char, char)]) { function general (line 907) | fn general() { function invisible_chars (line 935) | fn invisible_chars() { function boundary_cases (line 941) | fn boundary_cases() { function unchanged_outside_blocks (line 962) | fn unchanged_outside_blocks() { FILE: crates/atuin-nucleo/matcher/src/config.rs type Config (line 7) | pub struct Config { constant DEFAULT (line 34) | pub const DEFAULT: Self = { method set_match_paths (line 49) | pub fn set_match_paths(&mut self) { method match_paths (line 60) | pub const fn match_paths(mut self) -> Self { FILE: crates/atuin-nucleo/matcher/src/debug.rs method fmt (line 5) | fn fmt(&self, f: &mut Formatter<'_>) -> Result { method fmt (line 11) | fn fmt(&self, f: &mut Formatter<'_>) -> Result { FILE: crates/atuin-nucleo/matcher/src/exact.rs method substring_match_1_ascii (line 9) | pub(crate) fn substring_match_1_ascii( method substring_match_ascii_with_prefilter (line 64) | pub(crate) fn substring_match_ascii_with_prefilter( method substring_match_ascii (line 99) | pub(crate) fn substring_match_ascii( method substring_match_1_non_ascii (line 185) | pub(crate) fn substring_match_1_non_ascii( method substring_match_non_ascii (line 222) | pub(crate) fn substring_match_non_ascii( FILE: crates/atuin-nucleo/matcher/src/fuzzy_greedy.rs method fuzzy_match_greedy_ (line 7) | pub(crate) fn fuzzy_match_greedy_ ScoreCell { function p_score (line 100) | fn p_score(prev_p_score: u16, prev_m_score: u16) -> (u16, bool) { function setup (line 111) | fn setup( function score_row (line 183) | fn score_row( function populate_matrix (line 269) | fn populate_matrix(&mut self, needle: &[N]... function reconstruct_optimal_path (line 300) | fn reconstruct_optimal_path( FILE: crates/atuin-nucleo/matcher/src/lib.rs type Matcher (line 154) | pub struct Matcher { method fmt (line 171) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method new (line 191) | pub fn new(config: Config) -> Self { method fuzzy_match (line 206) | pub fn fuzzy_match(&mut self, haystack: Utf32Str<'_>, needle: Utf32Str... method fuzzy_indices (line 220) | pub fn fuzzy_indices( method fuzzy_matcher_impl (line 230) | fn fuzzy_matcher_impl( method fuzzy_match_greedy (line 340) | pub fn fuzzy_match_greedy( method fuzzy_indices_greedy (line 356) | pub fn fuzzy_indices_greedy( method fuzzy_match_greedy_impl (line 366) | fn fuzzy_match_greedy_impl( method substring_match (line 440) | pub fn substring_match( method substring_indices (line 456) | pub fn substring_indices( method substring_match_impl (line 465) | fn substring_match_impl( method exact_match (line 533) | pub fn exact_match(&mut self, haystack: Utf32Str<'_>, needle: Utf32Str... method exact_indices (line 563) | pub fn exact_indices( method prefix_match (line 598) | pub fn prefix_match(&mut self, haystack: Utf32Str<'_>, needle: Utf32St... method prefix_indices (line 624) | pub fn prefix_indices( method postfix_match (line 655) | pub fn postfix_match(&mut self, haystack: Utf32Str<'_>, needle: Utf32S... method postfix_indices (line 681) | pub fn postfix_indices( method exact_match_impl (line 707) | fn exact_match_impl( method clone (line 162) | fn clone(&self) -> Self { method default (line 179) | fn default() -> Self { FILE: crates/atuin-nucleo/matcher/src/matrix.rs constant MAX_MATRIX_SIZE (line 9) | const MAX_MATRIX_SIZE: usize = 100 * 1024; constant MAX_HAYSTACK_LEN (line 12) | const MAX_HAYSTACK_LEN: usize = 2048; constant MAX_NEEDLE_LEN (line 13) | const MAX_NEEDLE_LEN: usize = 2048; type MatrixLayout (line 15) | struct MatrixLayout { function new (line 27) | fn new(haystack_len: usize, needle_len: usize) -> MatrixLayout { function fieds_from_ptr (line 64) | unsafe fn fieds_from_ptr( constant _SIZE_CHECK (line 92) | const _SIZE_CHECK: () = { type ScoreCell (line 101) | pub(crate) struct ScoreCell { type MatcherDataView (line 107) | pub(crate) struct MatcherDataView<'a, C: Char> { type MatrixCell (line 117) | pub struct MatrixCell(pub(crate) u8); method set (line 120) | pub fn set(&mut self, p_match: bool, m_match: bool) { method get (line 124) | pub fn get(&self, m_matrix: bool) -> bool { type MatcherData (line 132) | struct MatcherData { type MatrixSlab (line 140) | pub(crate) struct MatrixSlab(NonNull); method new (line 147) | pub fn new() -> Self { method alloc (line 157) | pub(crate) fn alloc( method drop (line 195) | fn drop(&mut self) { FILE: crates/atuin-nucleo/matcher/src/pattern.rs type CaseMatching (line 15) | pub enum CaseMatching { type Normalization (line 32) | pub enum Normalization { type AtomKind (line 46) | pub enum AtomKind { type Atom (line 82) | pub struct Atom { method new (line 98) | pub fn new( method new_inner (line 108) | fn new_inner( method parse (line 242) | pub fn parse(raw: &str, case: CaseMatching, normalize: Normalization) ... method score (line 304) | pub fn score(&self, haystack: Utf32Str<'_>, matcher: &mut Matcher) -> ... method indices (line 333) | pub fn indices( method needle_text (line 370) | pub fn needle_text(&self) -> Utf32Str<'_> { method match_list (line 381) | pub fn match_list>( function pattern_atoms (line 402) | fn pattern_atoms(pattern: &str) -> impl Iterator + '_ { type Pattern (line 417) | pub struct Pattern { method new (line 427) | pub fn new( method parse (line 445) | pub fn parse(pattern: &str, case_matching: CaseMatching, normalize: No... method match_list (line 463) | pub fn match_list>( method score (line 489) | pub fn score(&self, haystack: Utf32Str<'_>, matcher: &mut Matcher) -> ... method indices (line 519) | pub fn indices( method reparse (line 538) | pub fn reparse( method clone (line 557) | fn clone(&self) -> Self { method clone_from (line 563) | fn clone_from(&mut self, source: &Self) { FILE: crates/atuin-nucleo/matcher/src/pattern/tests.rs function negative (line 4) | fn negative() { function pattern_kinds (line 24) | fn pattern_kinds() { function case_matching (line 48) | fn case_matching() { function escape (line 87) | fn escape() { function pattern_atoms (line 117) | fn pattern_atoms() { FILE: crates/atuin-nucleo/matcher/src/prefilter.rs function find_ascii_ignore_case (line 8) | fn find_ascii_ignore_case(c: u8, haystack: &[u8]) -> Option { function find_ascii_ignore_case_rev (line 17) | fn find_ascii_ignore_case_rev(c: u8, haystack: &[u8]) -> Option { method prefilter_ascii (line 26) | pub(crate) fn prefilter_ascii( method prefilter_non_ascii (line 69) | pub(crate) fn prefilter_non_ascii( FILE: crates/atuin-nucleo/matcher/src/score.rs constant SCORE_MATCH (line 6) | pub(crate) const SCORE_MATCH: u16 = 16; constant PENALTY_GAP_START (line 7) | pub(crate) const PENALTY_GAP_START: u16 = 3; constant PENALTY_GAP_EXTENSION (line 8) | pub(crate) const PENALTY_GAP_EXTENSION: u16 = 1; constant PREFIX_BONUS_SCALE (line 11) | pub(crate) const PREFIX_BONUS_SCALE: u16 = 2; constant MAX_PREFIX_BONUS (line 12) | pub(crate) const MAX_PREFIX_BONUS: u16 = BONUS_BOUNDARY; constant BONUS_BOUNDARY (line 20) | pub(crate) const BONUS_BOUNDARY: u16 = SCORE_MATCH / 2; constant BONUS_CAMEL123 (line 31) | pub(crate) const BONUS_CAMEL123: u16 = BONUS_BOUNDARY - PENALTY_GAP_START; constant BONUS_NON_WORD (line 36) | pub(crate) const BONUS_NON_WORD: u16 = BONUS_BOUNDARY; constant BONUS_CONSECUTIVE (line 41) | pub(crate) const BONUS_CONSECUTIVE: u16 = PENALTY_GAP_START + PENALTY_GA... constant BONUS_FIRST_CHAR_MULTIPLIER (line 48) | pub(crate) const BONUS_FIRST_CHAR_MULTIPLIER: u16 = 2; method bonus_for (line 52) | pub(crate) fn bonus_for(&self, prev_class: CharClass, class: CharClass) ... method bonus_for (line 78) | pub(crate) fn bonus_for(&self, prev_class: CharClass, class: CharClass) ... method calculate_score (line 82) | pub(crate) fn calculate_score bool { type Utf32Str (line 96) | pub enum Utf32Str<'a> { function new (line 106) | pub fn new(str: &'a str, buf: &'a mut Vec) -> Self { function len (line 118) | pub fn len(self) -> usize { function is_empty (line 127) | pub fn is_empty(self) -> bool { function slice (line 137) | pub fn slice(self, range: impl RangeBounds) -> Utf32Str<'a> { function leading_white_space (line 156) | pub(crate) fn leading_white_space(self) -> usize { function trailing_white_space (line 171) | pub(crate) fn trailing_white_space(self) -> usize { function slice_u32 (line 189) | pub fn slice_u32(self, range: impl RangeBounds) -> Utf32Str<'a> { function is_ascii (line 211) | pub fn is_ascii(self) -> bool { function get (line 216) | pub fn get(self, n: u32) -> char { function last (line 226) | pub(crate) fn last(self) -> char { function first (line 236) | pub(crate) fn first(self) -> char { function chars (line 244) | pub fn chars(self) -> Chars<'a> { function fmt (line 253) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function fmt (line 265) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Chars (line 273) | pub enum Chars<'a> { type Item (line 279) | type Item = char; method next (line 281) | fn next(&mut self) -> Option { method next_back (line 290) | fn next_back(&mut self) -> Option { type Utf32String (line 302) | pub enum Utf32String { method len (line 319) | pub fn len(&self) -> usize { method is_empty (line 328) | pub fn is_empty(&self) -> bool { method slice (line 338) | pub fn slice(&self, range: impl RangeBounds) -> Utf32Str { method slice_u32 (line 358) | pub fn slice_u32(&self, range: impl RangeBounds) -> Utf32Str { method from (line 382) | fn from(value: &str) -> Self { method from (line 392) | fn from(value: Box) -> Self { method from (line 403) | fn from(value: String) -> Self { method from (line 410) | fn from(value: Cow<'a, str>) -> Self { method fmt (line 419) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 425) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method default (line 311) | fn default() -> Self { FILE: crates/atuin-nucleo/matcher/src/utf32_str/tests.rs function test_utf32str_ascii (line 4) | fn test_utf32str_ascii() { function test_grapheme_truncation (line 30) | fn test_grapheme_truncation() { FILE: crates/atuin-nucleo/src/boxcar.rs constant BUCKETS (line 33) | const BUCKETS: u32 = u32::BITS - SKIP_BUCKET; constant MAX_ENTRIES (line 34) | const MAX_ENTRIES: u32 = u32::MAX - SKIP; type Vec (line 37) | pub(crate) struct Vec { function with_capacity (line 53) | pub fn with_capacity(capacity: u32, columns: u32) -> Vec { function columns (line 74) | pub fn columns(&self) -> u32 { function count (line 80) | pub fn count(&self) -> u32 { function get_unchecked (line 92) | pub unsafe fn get_unchecked(&self, index: u32) -> Item<'_, T> { function get (line 113) | pub fn get(&self, index: u32) -> Option> { function push (line 141) | pub fn push(&self, value: T, fill_columns: impl FnOnce(&T, &mut [Utf32St... function extend (line 187) | pub fn extend(&self, values: I, fill_columns: impl Fn(&T, &mut [Utf32... function get_or_alloc (line 275) | fn get_or_alloc(bucket: &Bucket, len: u32, cols: u32) -> *mut Entry { function snapshot (line 294) | pub unsafe fn snapshot(&self, start: u32) -> Iter<'_, T> { function par_snapshot (line 311) | pub unsafe fn par_snapshot(&self, start: u32) -> ParIter<'_, T> { method drop (line 327) | fn drop(&mut self) { type SnapshotItem (line 341) | type SnapshotItem<'v, T> = (u32, Option>); type Iter (line 343) | pub struct Iter<'v, T> { function end (line 350) | pub fn end(&self) -> u32 { type Item (line 356) | type Item = SnapshotItem<'v, T>; method size_hint (line 357) | fn size_hint(&self) -> (usize, Option) { method next (line 364) | fn next(&mut self) -> Option> { method next_back (line 415) | fn next_back(&mut self) -> Option { type ParIter (line 420) | pub struct ParIter<'v, T> { function end (line 426) | pub fn end(&self) -> u32 { type Item (line 432) | type Item = SnapshotItem<'v, T>; function drive_unindexed (line 434) | fn drive_unindexed(self, consumer: C) -> C::Result function opt_len (line 441) | fn opt_len(&self) -> Option { function len (line 447) | fn len(&self) -> usize { function drive (line 451) | fn drive>(self, consumer:... function with_producer (line 455) | fn with_producer(self, callback: CB) -> CB::Output type ParIterProducer (line 467) | struct ParIterProducer<'v, T: Send> { type Item (line 474) | type Item = SnapshotItem<'v, T>; type IntoIter (line 475) | type IntoIter = Iter<'v, T>; function into_iter (line 477) | fn into_iter(self) -> Self::IntoIter { function split_at (line 487) | fn split_at(self, index: usize) -> (Self, Self) { type Bucket (line 505) | struct Bucket { function layout (line 510) | fn layout(len: u32, layout: Layout) -> Layout { function alloc (line 515) | unsafe fn alloc(len: u32, cols: u32) -> *mut Entry { function dealloc (line 530) | unsafe fn dealloc(entries: *mut Entry, len: u32, cols: u32) { function get (line 545) | unsafe fn get(entries: *mut Entry, idx: u32, cols: u32) -> *mut Entry... function new (line 551) | fn new(entries: *mut Entry) -> Bucket { type Entry (line 559) | struct Entry { function layout (line 566) | fn layout(cols: u32) -> Layout { function matcher_cols_raw (line 575) | unsafe fn matcher_cols_raw<'a>( function matcher_cols_mut (line 588) | unsafe fn matcher_cols_mut<'a>(ptr: *mut Entry, cols: u32) -> &'a mut... function read (line 600) | unsafe fn read<'a>(ptr: *mut Entry, cols: u32) -> Item<'a, T> { type Location (line 617) | struct Location { method of (line 632) | fn of(index: u32) -> Location { method bucket_len (line 646) | fn bucket_len(bucket: u32) -> u32 { method alloc_next_bucket_entry (line 651) | fn alloc_next_bucket_entry(&self) -> u32 { constant SKIP (line 628) | const SKIP: u32 = 32; constant SKIP_BUCKET (line 629) | const SKIP_BUCKET: u32 = (u32::BITS - SKIP.leading_zeros()) - 1; function location (line 661) | fn location() { function extend_unique_bucket (line 693) | fn extend_unique_bucket() { function extend_over_two_buckets (line 704) | fn extend_over_two_buckets() { function extend_over_more_than_two_buckets (line 715) | fn extend_over_more_than_two_buckets() { function extend_with_incorrect_reported_len_is_caught (line 727) | fn extend_with_incorrect_reported_len_is_caught() { function extend_over_max_capacity (line 780) | fn extend_over_max_capacity() { FILE: crates/atuin-nucleo/src/lib.rs type Filter (line 36) | pub type Filter = Arc bool + Send + Sync>; type Scorer (line 41) | pub type Scorer = Arc u32 + Send + Sync>; type Item (line 59) | pub struct Item<'a, T> { type Injector (line 68) | pub struct Injector { method clone (line 74) | fn clone(&self) -> Self { function push (line 85) | pub fn push(&self, value: T, fill_columns: impl FnOnce(&T, &mut [Utf32St... function extend (line 100) | pub fn extend(&self, values: I, fill_columns: impl Fn(&T, &mut [Utf32... function injected_items (line 111) | pub fn injected_items(&self) -> u32 { function get_unchecked (line 123) | pub unsafe fn get_unchecked(&self, index: u32) -> Item<'_, T> { function get (line 128) | pub fn get(&self, index: u32) -> Option> { type Match (line 135) | pub struct Match { type Status (line 148) | pub struct Status { type Snapshot (line 157) | pub struct Snapshot { function clear (line 165) | fn clear(&mut self, new_items: Arc>) { function update (line 171) | fn update(&mut self, worker: &Worker) { function item_count (line 181) | pub fn item_count(&self) -> u32 { function pattern (line 186) | pub fn pattern(&self) -> &MultiPattern { function matched_item_count (line 191) | pub fn matched_item_count(&self) -> u32 { function matched_items (line 201) | pub fn matched_items( function get_item_unchecked (line 230) | pub unsafe fn get_item_unchecked(&self, index: u32) -> Item<'_, T> { function get_item (line 241) | pub fn get_item(&self, index: u32) -> Option> { function matches (line 247) | pub fn matches(&self) -> &[Match] { function get_matched_item (line 256) | pub fn get_matched_item(&self, n: u32) -> Option> { type State (line 265) | enum State { method matcher_item_refs (line 274) | fn matcher_item_refs(self) -> usize { method canceled (line 281) | fn canceled(self) -> bool { method cleared (line 285) | fn cleared(self) -> bool { type Nucleo (line 292) | pub struct Nucleo { function new (line 330) | pub fn new( function active_injectors (line 359) | pub fn active_injectors(&self) -> usize { function snapshot (line 366) | pub fn snapshot(&self) -> &Snapshot { function injector (line 371) | pub fn injector(&self) -> Injector { function restart (line 389) | pub fn restart(&mut self, clear_snapshot: bool) { function update_config (line 399) | pub fn update_config(&mut self, config: Config) { function sort_results (line 405) | pub fn sort_results(&mut self, sort_results: bool) { function reverse_items (line 411) | pub fn reverse_items(&mut self, reverse_items: bool) { function set_filter (line 422) | pub fn set_filter(&mut self, filter: Option>) { function set_scorer (line 436) | pub fn set_scorer(&mut self, scorer: Option>) { function tick (line 445) | pub fn tick(&mut self, timeout: u64) -> Status { function tick_inner (line 467) | fn tick_inner(&mut self, timeout: u64, canceled: bool, status: pattern::... method drop (line 513) | fn drop(&mut self) { FILE: crates/atuin-nucleo/src/par_sort.rs type CopyOnDrop (line 40) | struct CopyOnDrop { method drop (line 46) | fn drop(&mut self) { function shift_head (line 57) | fn shift_head(v: &mut [T], is_less: &F) function shift_tail (line 106) | fn shift_tail(v: &mut [T], is_less: &F) function partial_insertion_sort (line 158) | fn partial_insertion_sort(v: &mut [T], is_less: &F) -> bool function insertion_sort (line 204) | fn insertion_sort(v: &mut [T], is_less: &F) function heapsort (line 215) | fn heapsort(v: &mut [T], is_less: &F) function partition_in_blocks (line 265) | fn partition_in_blocks(v: &mut [T], pivot: &T, is_less: &F) -> usize function partition (line 526) | fn partition(v: &mut [T], pivot: usize, is_less: &F) -> (usize, bool) function partition_equal (line 587) | fn partition_equal(v: &mut [T], pivot: usize, is_less: &F) -> usize function break_patterns (line 648) | fn break_patterns(v: &mut [T]) { function choose_pivot (line 693) | fn choose_pivot(v: &mut [T], is_less: &F) -> (usize, bool) function recurse (line 769) | fn recurse<'a, T, F>( function par_quicksort (line 878) | pub(crate) fn par_quicksort(v: &mut [T], is_less: F, canceled: &At... FILE: crates/atuin-nucleo/src/pattern.rs type Status (line 8) | pub(crate) enum Status { type MultiPattern (line 16) | pub struct MultiPattern { method new (line 34) | pub fn new(columns: usize) -> Self { method reparse (line 44) | pub fn reparse( method column_pattern (line 70) | pub fn column_pattern(&self, column: usize) -> &Pattern { method status (line 74) | pub(crate) fn status(&self) -> Status { method reset_status (line 82) | pub(crate) fn reset_status(&mut self) { method score (line 88) | pub fn score(&self, haystack: &[Utf32String], matcher: &mut Matcher) -... method is_empty (line 97) | pub fn is_empty(&self) -> bool { method clone (line 21) | fn clone(&self) -> Self { method clone_from (line 27) | fn clone_from(&mut self, source: &Self) { FILE: crates/atuin-nucleo/src/pattern/tests.rs function append (line 6) | fn append() { FILE: crates/atuin-nucleo/src/tests.rs function active_injector_count (line 8) | fn active_injector_count() { type TestItem (line 30) | struct TestItem { function filter_excludes_items (line 37) | fn filter_excludes_items() { function scorer_affects_sort_order (line 102) | fn scorer_affects_sort_order() { function filter_and_scorer_combined (line 168) | fn filter_and_scorer_combined() { function scorer_combines_with_fuzzy_score (line 222) | fn scorer_combines_with_fuzzy_score() { FILE: crates/atuin-nucleo/src/worker.rs type Matchers (line 14) | struct Matchers(Box<[UnsafeCell]>); method get (line 19) | unsafe fn get(&self) -> &mut atuin_nucleo_matcher::Matcher { type Worker (line 27) | pub(crate) struct Worker { function item_count (line 46) | pub(crate) fn item_count(&self) -> u32 { function update_config (line 49) | pub(crate) fn update_config(&mut self, config: Config) { function sort_results (line 54) | pub(crate) fn sort_results(&mut self, sort_results: bool) { function reverse_items (line 57) | pub(crate) fn reverse_items(&mut self, reverse_items: bool) { function set_filter (line 61) | pub(crate) fn set_filter(&mut self, filter: Option>) { function set_scorer (line 65) | pub(crate) fn set_scorer(&mut self, scorer: Option>) { function new (line 69) | pub(crate) fn new( function process_new_items (line 106) | unsafe fn process_new_items(&mut self, unmatched: &AtomicU32) { function remove_in_flight_matches (line 188) | fn remove_in_flight_matches(&mut self) { function process_new_items_trivial (line 200) | unsafe fn process_new_items_trivial(&mut self) { function run (line 228) | pub(crate) unsafe fn run(&mut self, pattern_status: pattern::Status, cle... function sort_matches (line 310) | unsafe fn sort_matches(&mut self) -> bool { function reset_matches (line 373) | fn reset_matches(&mut self) { FILE: crates/atuin-scripts/migrations/20250326160051_create_scripts.up.sql type scripts (line 2) | CREATE TABLE scripts ( type script_tags (line 11) | CREATE TABLE script_tags ( type idx_script_tags (line 17) | CREATE UNIQUE INDEX idx_script_tags ON script_tags (script_id, tag) FILE: crates/atuin-scripts/migrations/20250402170430_unique_names.up.sql type name_uniq_idx (line 2) | create unique index name_uniq_idx ON scripts(name) FILE: crates/atuin-scripts/src/database.rs type Database (line 18) | pub struct Database { method new (line 23) | pub async fn new(path: impl AsRef, timeout: f64) -> Result { method sqlite_version (line 57) | pub async fn sqlite_version(&self) -> Result { method setup_db (line 63) | async fn setup_db(pool: &SqlitePool) -> Result<()> { method save_raw (line 71) | async fn save_raw(tx: &mut sqlx::Transaction<'_, sqlx::Sqlite>, s: &Sc... method save (line 98) | pub async fn save(&self, s: &Script) -> Result<()> { method save_bulk (line 107) | pub async fn save_bulk(&self, s: &[Script]) -> Result<()> { method query_script (line 121) | fn query_script(row: SqliteRow) -> Script { method query_script_tags (line 140) | fn query_script_tags(row: SqliteRow) -> String { method load (line 145) | async fn load(&self, id: &str) -> Result> { method list (line 169) | pub async fn list(&self) -> Result> { method clear (line 191) | pub async fn clear(&self) -> Result<()> { method delete (line 204) | pub async fn delete(&self, id: &str) -> Result<()> { method update (line 221) | pub async fn update(&self, s: &Script) -> Result<()> { method get_by_name (line 259) | pub async fn get_by_name(&self, name: &str) -> Result> { function test_list (line 288) | async fn test_list() { function test_save_load (line 308) | async fn test_save_load() { function test_save_bulk (line 326) | async fn test_save_bulk() { function test_delete (line 353) | async fn test_delete() { FILE: crates/atuin-scripts/src/execution.rs function build_executable_script (line 12) | pub fn build_executable_script(script: String, shebang: String) -> String { type ScriptSession (line 24) | pub struct ScriptSession { method send_input (line 33) | pub async fn send_input(&self, input: String) -> Result<(), mpsc::erro... method wait_for_exit (line 38) | pub async fn wait_for_exit(&mut self) -> Option { function setup_template (line 43) | fn setup_template(script: &Script) -> Result> { function template_script (line 52) | pub fn template_script( function template_variables (line 64) | pub fn template_variables(script: &Script) -> Result> { function execute_script_interactive (line 72) | pub async fn execute_script_interactive( FILE: crates/atuin-scripts/src/store.rs type ScriptStore (line 15) | pub struct ScriptStore { method new (line 22) | pub fn new(store: SqliteStore, host_id: HostId, encryption_key: [u8; 3... method push_record (line 30) | async fn push_record(&self, record: ScriptRecord) -> Result<(RecordId,... method create (line 55) | pub async fn create(&self, script: Script) -> Result<()> { method update (line 61) | pub async fn update(&self, script: Script) -> Result<()> { method delete (line 67) | pub async fn delete(&self, script_id: uuid::Uuid) -> Result<()> { method scripts (line 73) | pub async fn scripts(&self) -> Result> { method build (line 93) | pub async fn build(&self, database: Database) -> Result<()> { FILE: crates/atuin-scripts/src/store/record.rs type ScriptRecord (line 10) | pub enum ScriptRecord { method serialize (line 17) | pub fn serialize(&self) -> Result { method deserialize (line 49) | pub fn deserialize(data: &DecryptedData, version: &str) -> Result { function test_serialize_create (line 99) | fn test_serialize_create() { function test_serialize_delete (line 125) | fn test_serialize_delete() { function test_serialize_update (line 142) | fn test_serialize_update() { function test_serialize_deserialize_create (line 169) | fn test_serialize_deserialize_create() { function test_serialize_deserialize_delete (line 187) | fn test_serialize_deserialize_delete() { function test_serialize_deserialize_update (line 199) | fn test_serialize_deserialize_update() { FILE: crates/atuin-scripts/src/store/script.rs constant SCRIPT_VERSION (line 11) | pub const SCRIPT_VERSION: &str = "v0"; constant SCRIPT_TAG (line 12) | pub const SCRIPT_TAG: &str = "script"; constant SCRIPT_LEN (line 13) | pub const SCRIPT_LEN: usize = 20000; type Script (line 17) | pub struct Script { method serialize (line 42) | pub fn serialize(&self) -> Result { method deserialize (line 65) | pub fn deserialize(bytes: &[u8]) -> Result { function test_serialize (line 112) | fn test_serialize() { function test_serialize_deserialize (line 135) | fn test_serialize_deserialize() { FILE: crates/atuin-server-database/src/calendar.rs type TimePeriod (line 6) | pub enum TimePeriod { type TimePeriodInfo (line 13) | pub struct TimePeriodInfo { FILE: crates/atuin-server-database/src/lib.rs type DbError (line 23) | pub enum DbError { method from (line 35) | fn from(value: T) -> Self { method fmt (line 29) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type DbResult (line 42) | pub type DbResult = Result; type DbType (line 45) | pub enum DbType { type DbSettings (line 52) | pub struct DbSettings { method db_type (line 59) | pub fn db_type(&self) -> DbType { function redact_db_uri (line 70) | fn redact_db_uri(uri: &str) -> String { method fmt (line 81) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Database (line 99) | pub trait Database: Sized + Clone + Send + Sync + 'static { method new (line 100) | async fn new(settings: &DbSettings) -> DbResult; method get_session (line 102) | async fn get_session(&self, token: &str) -> DbResult; method get_session_user (line 103) | async fn get_session_user(&self, token: &str) -> DbResult; method add_session (line 104) | async fn add_session(&self, session: &NewSession) -> DbResult<()>; method get_user (line 106) | async fn get_user(&self, username: &str) -> DbResult; method get_user_session (line 107) | async fn get_user_session(&self, u: &User) -> DbResult; method add_user (line 108) | async fn add_user(&self, user: &NewUser) -> DbResult; method update_user_password (line 110) | async fn update_user_password(&self, u: &User) -> DbResult<()>; method count_history (line 112) | async fn count_history(&self, user: &User) -> DbResult; method count_history_cached (line 113) | async fn count_history_cached(&self, user: &User) -> DbResult; method delete_user (line 115) | async fn delete_user(&self, u: &User) -> DbResult<()>; method delete_history (line 116) | async fn delete_history(&self, user: &User, id: String) -> DbResult<()>; method deleted_history (line 117) | async fn deleted_history(&self, user: &User) -> DbResult>; method delete_store (line 118) | async fn delete_store(&self, user: &User) -> DbResult<()>; method add_records (line 120) | async fn add_records(&self, user: &User, record: &[Record DbResult; method count_history_range (line 133) | async fn count_history_range(&self, user: &User, range: Range DbResult<()>; method oldest_history (line 147) | async fn oldest_history(&self, user: &User) -> DbResult; method calendar (line 150) | async fn calendar( FILE: crates/atuin-server-database/src/models.rs type History (line 3) | pub struct History { type NewHistory (line 18) | pub struct NewHistory { type User (line 30) | pub struct User { type Session (line 37) | pub struct Session { type NewUser (line 43) | pub struct NewUser { type NewSession (line 49) | pub struct NewSession { FILE: crates/atuin-server-postgres/build.rs function main (line 2) | fn main() { FILE: crates/atuin-server-postgres/migrations/20210425153745_create_history.sql type history (line 1) | create table history ( FILE: crates/atuin-server-postgres/migrations/20210425153757_create_users.sql type users (line 1) | create table users ( type email_unique_idx (line 9) | CREATE UNIQUE INDEX email_unique_idx on users (LOWER(email)) type username_unique_idx (line 10) | CREATE UNIQUE INDEX username_unique_idx on users (LOWER(username)) FILE: crates/atuin-server-postgres/migrations/20210425153800_create_sessions.sql type sessions (line 2) | create table sessions ( FILE: crates/atuin-server-postgres/migrations/20220419082412_add_count_trigger.sql type total_history_count_user (line 9) | create table total_history_count_user( function user_history_count (line 15) | create or replace function user_history_count() FILE: crates/atuin-server-postgres/migrations/20220421073605_fix_count_trigger_delete.sql function user_history_count (line 4) | create or replace function user_history_count() FILE: crates/atuin-server-postgres/migrations/20220505082442_create-events.sql type events (line 3) | create table events ( FILE: crates/atuin-server-postgres/migrations/20230315224203_create-deleted.sql type history_deleted_index (line 5) | create index if not exists history_deleted_index on history(client_id, u... FILE: crates/atuin-server-postgres/migrations/20230515221038_trigger-delete-only.sql function user_history_count (line 5) | create or replace function user_history_count() FILE: crates/atuin-server-postgres/migrations/20230623070418_records.sql type records (line 2) | create table records ( FILE: crates/atuin-server-postgres/migrations/20231202170508_create-store.sql type store (line 2) | create table store ( FILE: crates/atuin-server-postgres/migrations/20231203124112_create-store-idx.sql type record_uniq (line 2) | create unique index record_uniq ON store(user_id, host, tag, idx) FILE: crates/atuin-server-postgres/migrations/20240614104159_idx-cache.sql type store_idx_cache (line 1) | create table store_idx_cache( FILE: crates/atuin-server-postgres/migrations/20240621110731_user-verified.sql type user_verification_token (line 3) | create table user_verification_token( FILE: crates/atuin-server-postgres/migrations/20240702094825_idx_cache_index.sql type store_idx_cache_uniq (line 1) | create unique index store_idx_cache_uniq on store_idx_cache(user_id, hos... FILE: crates/atuin-server-postgres/src/lib.rs constant MIN_PG_VERSION (line 21) | const MIN_PG_VERSION: u32 = 14; type Postgres (line 24) | pub struct Postgres { method read_pool (line 33) | fn read_pool(&self) -> &sqlx::Pool { function fix_error (line 38) | fn fix_error(error: sqlx::Error) -> DbError { method new (line 47) | async fn new(settings: &DbSettings) -> DbResult { method get_session (line 112) | async fn get_session(&self, token: &str) -> DbResult { method get_user (line 122) | async fn get_user(&self, username: &str) -> DbResult { method get_session_user (line 132) | async fn get_session_user(&self, token: &str) -> DbResult { method count_history (line 147) | async fn count_history(&self, user: &User) -> DbResult { method count_history_cached (line 165) | async fn count_history_cached(&self, user: &User) -> DbResult { method delete_store (line 178) | async fn delete_store(&self, user: &User) -> DbResult<()> { method delete_history (line 204) | async fn delete_history(&self, user: &User, id: String) -> DbResult<()> { method deleted_history (line 223) | async fn deleted_history(&self, user: &User) -> DbResult> { method count_history_range (line 247) | async fn count_history_range( method list_history (line 269) | async fn list_history( method add_history (line 301) | async fn add_history(&self, history: &[NewHistory]) -> DbResult<()> { method delete_user (line 332) | async fn delete_user(&self, u: &User) -> DbResult<()> { method update_user_password (line 367) | async fn update_user_password(&self, user: &User) -> DbResult<()> { method add_user (line 383) | async fn add_user(&self, user: &NewUser) -> DbResult { method add_session (line 405) | async fn add_session(&self, session: &NewSession) -> DbResult<()> { method get_user_session (line 423) | async fn get_user_session(&self, u: &User) -> DbResult { method oldest_history (line 433) | async fn oldest_history(&self, user: &User) -> DbResult { method add_records (line 448) | async fn add_records(&self, user: &User, records: &[Record DbResult { function into_utc (line 614) | fn into_utc(x: OffsetDateTime) -> PrimitiveDateTime { function utc (line 626) | fn utc() { FILE: crates/atuin-server-postgres/src/wrappers.rs type DbUser (line 7) | pub struct DbUser(pub User); method from_row (line 13) | fn from_row(row: &'a PgRow) -> Result { type DbSession (line 8) | pub struct DbSession(pub Session); method from_row (line 24) | fn from_row(row: &'a PgRow) -> ::sqlx::Result { type DbHistory (line 9) | pub struct DbHistory(pub History); method from_row (line 34) | fn from_row(row: &'a PgRow) -> ::sqlx::Result { type DbRecord (line 10) | pub struct DbRecord(pub Record); method from_row (line 52) | fn from_row(row: &'a PgRow) -> ::sqlx::Result { function from (line 74) | fn from(other: DbRecord) -> Record { FILE: crates/atuin-server-sqlite/build.rs function main (line 2) | fn main() { FILE: crates/atuin-server-sqlite/migrations/20231203124112_create-store.sql type store (line 1) | create table store ( type record_uniq (line 16) | create unique index record_uniq ON store(user_id, host, tag, idx) FILE: crates/atuin-server-sqlite/migrations/20240108124830_create-history.sql type history (line 1) | create table history ( type history_deleted_index (line 14) | create unique index history_deleted_index on history(client_id, user_id,... FILE: crates/atuin-server-sqlite/migrations/20240108124831_create-sessions.sql type sessions (line 1) | create table sessions ( FILE: crates/atuin-server-sqlite/migrations/20240621110730_create-users.sql type users (line 1) | create table users ( type email_unique_idx (line 11) | CREATE UNIQUE INDEX email_unique_idx on users (LOWER(email)) type username_unique_idx (line 12) | CREATE UNIQUE INDEX username_unique_idx on users (LOWER(username)) FILE: crates/atuin-server-sqlite/migrations/20240621110731_create-user-verification-token.sql type user_verification_token (line 1) | create table user_verification_token( FILE: crates/atuin-server-sqlite/migrations/20240702094825_create-store-idx-cache.sql type store_idx_cache (line 1) | create table store_idx_cache( type store_idx_cache_uniq (line 10) | create unique index store_idx_cache_uniq on store_idx_cache(user_id, hos... FILE: crates/atuin-server-sqlite/src/lib.rs type Sqlite (line 22) | pub struct Sqlite { function fix_error (line 26) | fn fix_error(error: sqlx::Error) -> DbError { method new (line 35) | async fn new(settings: &DbSettings) -> DbResult { method get_session (line 55) | async fn get_session(&self, token: &str) -> DbResult { method get_session_user (line 65) | async fn get_session_user(&self, token: &str) -> DbResult { method add_session (line 80) | async fn add_session(&self, session: &NewSession) -> DbResult<()> { method get_user (line 98) | async fn get_user(&self, username: &str) -> DbResult { method get_user_session (line 108) | async fn get_user_session(&self, u: &User) -> DbResult { method add_user (line 118) | async fn add_user(&self, user: &NewUser) -> DbResult { method update_user_password (line 140) | async fn update_user_password(&self, user: &User) -> DbResult<()> { method count_history (line 156) | async fn count_history(&self, user: &User) -> DbResult { method count_history_cached (line 174) | async fn count_history_cached(&self, _user: &User) -> DbResult { method delete_user (line 179) | async fn delete_user(&self, u: &User) -> DbResult<()> { method delete_history (line 201) | async fn delete_history(&self, user: &User, id: String) -> DbResult<()> { method deleted_history (line 220) | async fn deleted_history(&self, user: &User) -> DbResult> { method delete_store (line 240) | async fn delete_store(&self, user: &User) -> DbResult<()> { method add_records (line 254) | async fn add_records(&self, user: &User, records: &[Record DbResult { method count_history_range (line 359) | async fn count_history_range( method list_history (line 381) | async fn list_history( method add_history (line 413) | async fn add_history(&self, history: &[NewHistory]) -> DbResult<()> { method oldest_history (line 444) | async fn oldest_history(&self, user: &User) -> DbResult { function into_utc (line 459) | fn into_utc(x: OffsetDateTime) -> PrimitiveDateTime { FILE: crates/atuin-server-sqlite/src/wrappers.rs type DbUser (line 6) | pub struct DbUser(pub User); method from_row (line 12) | fn from_row(row: &'a SqliteRow) -> Result { type DbSession (line 7) | pub struct DbSession(pub Session); method from_row (line 23) | fn from_row(row: &'a SqliteRow) -> ::sqlx::Result { type DbHistory (line 8) | pub struct DbHistory(pub History); method from_row (line 33) | fn from_row(row: &'a SqliteRow) -> ::sqlx::Result { type DbRecord (line 9) | pub struct DbRecord(pub Record); method from_row (line 47) | fn from_row(row: &'a SqliteRow) -> ::sqlx::Result { function from (line 69) | fn from(other: DbRecord) -> Record { FILE: crates/atuin-server/src/bin/main.rs type Cmd (line 21) | enum Cmd { function main (line 38) | async fn main() -> Result<()> { FILE: crates/atuin-server/src/handlers/health.rs type HealthResponse (line 6) | pub struct HealthResponse { function health_check (line 10) | pub async fn health_check() -> impl IntoResponse { FILE: crates/atuin-server/src/handlers/history.rs function count (line 26) | pub async fn count( function list (line 46) | pub async fn list( function delete (line 104) | pub async fn delete( function add (line 126) | pub async fn add( type CalendarQuery (line 177) | pub struct CalendarQuery { function zero (line 190) | pub fn zero() -> i32 { function one (line 194) | pub fn one() -> u8 { function utc (line 198) | pub fn utc() -> UtcOffset { function calendar (line 204) | pub async fn calendar( FILE: crates/atuin-server/src/handlers/mod.rs constant VERSION (line 14) | const VERSION: &str = env!("CARGO_PKG_VERSION"); function index (line 16) | pub async fn index(state: State>) -> Json axum::response::Response { type ErrorResponseStatus (line 37) | pub struct ErrorResponseStatus<'a> { type RespExt (line 42) | pub trait RespExt<'a> { method with_status (line 43) | fn with_status(self, status: http::StatusCode) -> ErrorResponseStatus<... method reply (line 44) | fn reply(reason: &'a str) -> Self; function with_status (line 48) | fn with_status(self, status: http::StatusCode) -> ErrorResponseStatus<'a> { function reply (line 55) | fn reply(reason: &'a str) -> ErrorResponse<'a> { FILE: crates/atuin-server/src/handlers/record.rs function post (line 11) | pub async fn post(UserAuth(user): UserAuth) -> Result<(), ErrorResponseS... function index (line 27) | pub async fn index(UserAuth(user): UserAuth) -> axum::response::Response { function next (line 36) | pub async fn next( FILE: crates/atuin-server/src/handlers/status.rs constant VERSION (line 10) | const VERSION: &str = env!("CARGO_PKG_VERSION"); function status (line 13) | pub async fn status( FILE: crates/atuin-server/src/handlers/user.rs function verify_str (line 32) | pub fn verify_str(hash: &str, password: &str) -> bool { function send_register_hook (line 42) | async fn send_register_hook(url: &str, username: String, registered: Str... function get (line 66) | pub async fn get( function register (line 90) | pub async fn register( function delete (line 163) | pub async fn delete( function change_password (line 183) | pub async fn change_password( function login (line 213) | pub async fn login( function hash_secret (line 260) | fn hash_secret(password: &str) -> String { FILE: crates/atuin-server/src/handlers/v0/me.rs function get (line 10) | pub async fn get( FILE: crates/atuin-server/src/handlers/v0/record.rs function post (line 15) | pub async fn post( function index (line 54) | pub async fn index( type NextParams (line 79) | pub struct NextParams { function next (line 87) | pub async fn next( FILE: crates/atuin-server/src/handlers/v0/store.rs type DeleteParams (line 13) | pub struct DeleteParams {} function delete (line 16) | pub async fn delete( FILE: crates/atuin-server/src/lib.rs function shutdown_signal (line 24) | async fn shutdown_signal() { function shutdown_signal (line 38) | async fn shutdown_signal() { function launch (line 46) | pub async fn launch(settings: Settings, addr: SocketAddr) ... function launch_with_tcp_listener (line 57) | pub async fn launch_with_tcp_listener( function launch_metrics_server (line 73) | pub async fn launch_metrics_server(host: String, port: u16) -> Result<()> { function make_router (line 92) | async fn make_router(settings: Settings) -> Result PrometheusHandle { function track_metrics (line 28) | pub async fn track_metrics(req: Request, next: Next) -> impl IntoResponse { FILE: crates/atuin-server/src/router.rs type UserAuth (line 22) | pub struct UserAuth(pub User); type Rejection (line 28) | type Rejection = ErrorResponseStatus<'static>; method from_request_parts (line 30) | async fn from_request_parts( function teapot (line 75) | async fn teapot() -> impl IntoResponse { function clacks_overhead (line 81) | async fn clacks_overhead(request: Request, next: Next) -> Response { function semver (line 94) | async fn semver(request: Request, next: Next) -> Response { type AppState (line 104) | pub struct AppState { function router (line 109) | pub fn router(database: DB, settings: Settings) -> Router { FILE: crates/atuin-server/src/settings.rs type Metrics (line 12) | pub struct Metrics { method default (line 20) | fn default() -> Self { type Settings (line 30) | pub struct Settings { method new (line 58) | pub fn new() -> Result { function example_config (line 111) | pub fn example_config() -> &'static str { FILE: crates/atuin-server/src/utils.rs function client_version_min (line 4) | pub fn client_version_min(user_agent: &str, req: &str) -> Result { FILE: crates/atuin/build.rs function main (line 2) | fn main() { FILE: crates/atuin/src/command/client.rs function cleanup_old_logs (line 15) | fn cleanup_old_logs(log_dir: &Path, prefix: &str, retention_days: u64) { type Cmd (line 69) | pub enum Cmd { method run (line 143) | pub fn run(self) -> Result<()> { method run_inner (line 168) | async fn run_inner( FILE: crates/atuin/src/command/client/account.rs type Cmd (line 15) | pub struct Cmd { method run (line 42) | pub async fn run(self, settings: Settings, store: SqliteStore) -> Resu... type Commands (line 21) | pub enum Commands { FILE: crates/atuin/src/command/client/account/change_password.rs type Cmd (line 11) | pub struct Cmd { method run (line 24) | pub async fn run(&self, settings: &Settings) -> Result<()> { FILE: crates/atuin/src/command/client/account/delete.rs type Cmd (line 11) | pub struct Cmd { method run (line 21) | pub async fn run(&self, settings: &Settings) -> Result<()> { FILE: crates/atuin/src/command/client/account/link.rs function run (line 5) | pub async fn run(settings: &Settings) -> Result<()> { FILE: crates/atuin/src/command/client/account/login.rs type Cmd (line 17) | pub struct Cmd { method run (line 43) | pub async fn run(&self, settings: &Settings, store: &SqliteStore) -> R... method run_hub_login (line 63) | async fn run_hub_login(&self, settings: &Settings, store: &SqliteStore... method run_legacy_login (line 116) | async fn run_legacy_login(&self, settings: &Settings, store: &SqliteSt... method ensure_hub_session (line 139) | async fn ensure_hub_session(&self, _settings: &Settings, hub_address: ... method prompt_and_store_key (line 160) | async fn prompt_and_store_key(&self, settings: &Settings, store: &Sqli... function get_input (line 36) | fn get_input() -> Result { function or_user_input (line 254) | pub(super) fn or_user_input(value: Option, name: &'static str) -... function read_user_password (line 258) | pub(super) fn read_user_password() -> String { function read_user_input (line 263) | fn read_user_input(name: &'static str) -> String { function mnemonic_round_trip (line 273) | fn mnemonic_round_trip() { FILE: crates/atuin/src/command/client/account/logout.rs function run (line 3) | pub async fn run() -> Result<()> { FILE: crates/atuin/src/command/client/account/register.rs type Cmd (line 12) | pub struct Cmd { method run (line 24) | pub async fn run(&self, settings: &Settings, store: &SqliteStore) -> R... FILE: crates/atuin/src/command/client/daemon.rs type Cmd (line 21) | pub struct Cmd { method should_daemonize (line 65) | pub fn should_daemonize(&self) -> bool { method show_logs (line 74) | pub fn show_logs(&self) -> bool { method run (line 82) | pub async fn run( type SubCmd (line 36) | pub enum SubCmd { constant DAEMON_VERSION (line 101) | const DAEMON_VERSION: &str = env!("CARGO_PKG_VERSION"); constant DAEMON_PROTOCOL_VERSION (line 102) | const DAEMON_PROTOCOL_VERSION: u32 = 1; constant STARTUP_POLL (line 103) | const STARTUP_POLL: Duration = Duration::from_millis(40); constant LOCK_POLL (line 104) | const LOCK_POLL: Duration = Duration::from_millis(20); constant LEGACY_DAEMON_RESTART_MESSAGE (line 105) | const LEGACY_DAEMON_RESTART_MESSAGE: &str = "legacy daemon detected; res... type PidfileGuard (line 107) | struct PidfileGuard { method acquire (line 112) | fn acquire(path: &Path) -> Result { method drop (line 133) | fn drop(&mut self) { type Probe (line 138) | enum Probe { function daemon_matches_expected (line 144) | fn daemon_matches_expected(version: &str, protocol: u32) -> bool { function daemon_mismatch_message (line 148) | fn daemon_mismatch_message(version: &str, protocol: u32) -> String { function is_legacy_daemon_error (line 156) | fn is_legacy_daemon_error(err: &eyre::Report) -> bool { function should_retry_after_error (line 160) | fn should_retry_after_error(err: &eyre::Report) -> bool { function daemon_startup_lock_path (line 169) | fn daemon_startup_lock_path(pidfile_path: &Path) -> PathBuf { function open_lock_file (line 175) | fn open_lock_file(path: &Path) -> Result { function wait_for_lock (line 190) | async fn wait_for_lock(path: &Path, timeout: Duration) -> Result { function wait_for_pidfile_available (line 211) | async fn wait_for_pidfile_available(path: &Path, timeout: Duration) -> R... function connect_client (line 218) | async fn connect_client(settings: &Settings) -> Result { function probe (line 228) | async fn probe(settings: &Settings) -> Probe { function request_shutdown (line 246) | async fn request_shutdown(settings: &Settings) { function spawn_daemon_process (line 252) | fn spawn_daemon_process() -> Result<()> { function startup_timeout (line 270) | fn startup_timeout(settings: &Settings) -> Duration { function remove_stale_socket_if_present (line 275) | fn remove_stale_socket_if_present(settings: &Settings) -> Result<()> { function wait_until_ready (line 304) | async fn wait_until_ready(settings: &Settings, timeout: Duration) -> Res... function ensure_autostart_supported (line 333) | fn ensure_autostart_supported(settings: &Settings) -> Result<()> { function restart_daemon (line 346) | async fn restart_daemon(settings: &Settings) -> Result { function ensure_reply_compatible (line 382) | fn ensure_reply_compatible(settings: &Settings, version: &str, protocol:... function start_history (line 395) | pub async fn start_history(settings: &Settings, history: History) -> Res... function end_history (line 429) | pub async fn end_history(settings: &Settings, id: String, duration: u64,... function status_cmd (line 468) | async fn status_cmd(settings: &Settings) -> Result<()> { function stop_cmd (line 494) | async fn stop_cmd(settings: &Settings) -> Result<()> { function restart_cmd (line 518) | async fn restart_cmd(settings: &Settings) -> Result<()> { function daemonize_current_process (line 556) | pub fn daemonize_current_process() -> Result<()> { function run (line 568) | async fn run( function force_cleanup (line 587) | fn force_cleanup(settings: &Settings) { function kill_process (line 624) | fn kill_process(pid: u32) { function kill_process (line 635) | fn kill_process(pid: u32) { function test_version_matches (line 649) | fn test_version_matches() { function test_version_mismatch (line 657) | fn test_version_mismatch() { function test_mismatch_message_version (line 664) | fn test_mismatch_message_version() { function test_mismatch_message_protocol (line 672) | fn test_mismatch_message_protocol() { function test_startup_lock_path (line 678) | fn test_startup_lock_path() { function test_pidfile_guard_acquire_and_drop (line 685) | fn test_pidfile_guard_acquire_and_drop() { function test_pidfile_guard_prevents_double_acquire (line 706) | fn test_pidfile_guard_prevents_double_acquire() { FILE: crates/atuin/src/command/client/default_config.rs function run (line 3) | pub fn run() { FILE: crates/atuin/src/command/client/doctor.rs type ShellInfo (line 15) | struct ShellInfo { method shellvar_exists (line 36) | fn shellvar_exists(shell: &str, var: &str) -> bool { method detect_preexec_framework (line 51) | fn detect_preexec_framework(shell: &str) -> Option { method validate_plugin_blesh (line 76) | fn validate_plugin_blesh( method plugins (line 89) | pub fn plugins(shell: &str, shell_process: &sysinfo::Process) -> Vec Self { type DiskInfo (line 201) | struct DiskInfo { type SystemInfo (line 207) | struct SystemInfo { method new (line 217) | pub fn new() -> Self { type SyncInfo (line 238) | struct SyncInfo { method new (line 249) | pub async fn new(settings: &Settings) -> Self { type SettingPaths (line 262) | struct SettingPaths { method new (line 269) | pub fn new(settings: &Settings) -> Self { method verify (line 277) | pub fn verify(&self) { type AtuinInfo (line 295) | struct AtuinInfo { method new (line 310) | pub async fn new(settings: &Settings) -> Self { type DoctorDump (line 338) | struct DoctorDump { method new (line 345) | pub async fn new(settings: &Settings) -> Self { function checks (line 354) | fn checks(info: &DoctorDump) { function run (line 388) | pub async fn run(settings: &Settings) -> Result<()> { FILE: crates/atuin/src/command/client/dotfiles.rs type Cmd (line 11) | pub enum Cmd { method run (line 22) | pub async fn run(self, settings: &Settings, store: SqliteStore) -> Res... FILE: crates/atuin/src/command/client/dotfiles/alias.rs type SortBy (line 9) | pub enum SortBy { type Cmd (line 19) | pub enum Cmd { method set (line 52) | async fn set(&self, store: &AliasStore, name: String, value: String) -... method list (line 75) | async fn list( method clear (line 117) | async fn clear(&self, store: &AliasStore) -> Result<()> { method delete (line 127) | async fn delete(&self, store: &AliasStore, name: String) -> Result<()> { method run (line 150) | pub async fn run(&self, settings: &Settings, store: SqliteStore) -> Re... FILE: crates/atuin/src/command/client/dotfiles/var.rs type SortBy (line 9) | pub enum SortBy { type Cmd (line 19) | pub enum Cmd { method set (line 61) | async fn set(&self, store: VarStore, name: String, value: String, expo... method list (line 81) | async fn list( method delete (line 137) | async fn delete(&self, store: VarStore, name: String) -> Result<()> { method run (line 150) | pub async fn run(&self, settings: &Settings, store: SqliteStore) -> Re... FILE: crates/atuin/src/command/client/history.rs type Cmd (line 39) | pub enum Cmd { method apply_start_metadata (line 368) | fn apply_start_metadata(history: &mut History, author: Option<&str>, i... method handle_start (line 381) | async fn handle_start( method handle_daemon_start (line 418) | async fn handle_daemon_start( method handle_end (line 458) | async fn handle_end( method handle_daemon_end (line 525) | async fn handle_daemon_end( method handle_list (line 538) | async fn handle_list( method handle_prune (line 580) | async fn handle_prune( method handle_dedup (line 637) | async fn handle_dedup( method run (line 698) | pub async fn run(self, settings: &Settings) -> Result<()> { method get_start_command (line 809) | fn get_start_command(&self) -> Option { method get_start_metadata (line 821) | fn get_start_metadata(&self) -> Option<(Option<&str>, Option<&str>)> { type ListMode (line 156) | pub enum ListMode { method from_flags (line 163) | pub const fn from_flags(human: bool, cmd_only: bool) -> Self { function print_list (line 175) | pub fn print_list( function check_for_write_errors (line 260) | fn check_for_write_errors(write: Result<(), io::Error>) { type FmtHistory (line 272) | struct FmtHistory<'a> { type CmdFormat (line 279) | enum CmdFormat { method for_output (line 284) | fn for_output(out: &O) -> Self { method fmt (line 299) | fn fmt(&self, key: &str, f: &mut fmt::Formatter<'_>) -> Result<(), Forma... function parse_fmt (line 346) | fn parse_fmt(format: &str) -> ParsedFmt<'_> { function test_format_string_no_panic (line 834) | fn test_format_string_no_panic() { function test_valid_formats_still_work (line 844) | fn test_valid_formats_still_work() { FILE: crates/atuin/src/command/client/import.rs type Cmd (line 20) | pub enum Cmd { method run (line 52) | pub async fn run(&self, db: &DB) -> Result<()> { constant BATCH_SIZE (line 48) | const BATCH_SIZE: usize = 100; type HistoryImporter (line 138) | pub struct HistoryImporter<'db, DB: Database> { function new (line 145) | fn new(db: &'db DB, len: usize) -> Self { function flush (line 153) | async fn flush(self) -> Result<()> { method push (line 164) | async fn push(&mut self, hist: History) -> Result<()> { function import (line 175) | async fn import(db: &DB) -> Result<()> { FILE: crates/atuin/src/command/client/info.rs function run (line 5) | pub fn run(settings: &Settings) { FILE: crates/atuin/src/command/client/init.rs type Cmd (line 19) | pub struct Cmd { method init_nu (line 54) | fn init_nu(&self, _tmux: &Tmux) { method static_init (line 101) | fn static_init(&self, tmux: &Tmux) { method dotfiles_init (line 139) | async fn dotfiles_init(&self, settings: &Settings) -> Result<()> { method run (line 211) | pub async fn run(self, settings: &Settings) -> Result<()> { type Shell (line 38) | pub enum Shell { FILE: crates/atuin/src/command/client/init/bash.rs function print_tmux_config (line 5) | fn print_tmux_config(tmux: &Tmux) { function init_static (line 14) | pub fn init_static(disable_up_arrow: bool, disable_ctrl_r: bool, disable... function init (line 35) | pub async fn init( FILE: crates/atuin/src/command/client/init/fish.rs function print_tmux_config (line 5) | fn print_tmux_config(tmux: &Tmux) { function print_bindings (line 14) | fn print_bindings( function init_static (line 40) | pub fn init_static(disable_up_arrow: bool, disable_ctrl_r: bool, disable... function init (line 96) | pub async fn init( FILE: crates/atuin/src/command/client/init/powershell.rs function init_static (line 4) | pub fn init_static(disable_up_arrow: bool, disable_ctrl_r: bool, _tmux: ... function init (line 22) | pub async fn init( function ps_bool (line 40) | fn ps_bool(value: bool) -> &'static str { FILE: crates/atuin/src/command/client/init/xonsh.rs function init_static (line 5) | pub fn init_static(disable_up_arrow: bool, disable_ctrl_r: bool, _tmux: ... function init (line 26) | pub async fn init( FILE: crates/atuin/src/command/client/init/zsh.rs function print_tmux_config (line 5) | fn print_tmux_config(tmux: &Tmux) { function init_static (line 14) | pub fn init_static(disable_up_arrow: bool, disable_ctrl_r: bool, disable... function init (line 49) | pub async fn init( FILE: crates/atuin/src/command/client/kv.rs type Cmd (line 11) | pub enum Cmd { method run (line 65) | pub async fn run(&self, settings: &Settings, store: &SqliteStore) -> R... FILE: crates/atuin/src/command/client/scripts.rs type NewScript (line 21) | pub struct NewScript { type Run (line 48) | pub struct Run { type List (line 58) | pub struct List {} type Get (line 61) | pub struct Get { type Edit (line 70) | pub struct Edit { type Delete (line 101) | pub struct Delete { type Cmd (line 110) | pub enum Cmd { method open_editor (line 124) | fn open_editor(initial_content: Option<&str>) -> Result { method execute_script (line 157) | async fn execute_script(script_content: String, shebang: String) -> Re... method handle_new_script (line 219) | async fn handle_new_script( method handle_run (line 290) | async fn handle_run( method handle_list (line 366) | async fn handle_list( method handle_get (line 394) | async fn handle_get( method handle_edit (line 450) | async fn handle_edit( method handle_delete (line 524) | async fn handle_delete( method run (line 563) | pub async fn run( FILE: crates/atuin/src/command/client/search.rs type Cmd (line 32) | pub struct Cmd { method is_interactive (line 145) | pub fn is_interactive(&self) -> bool { method run (line 153) | pub async fn run( function run_non_interactive (line 306) | async fn run_non_interactive( function search_for_triple_dash (line 346) | fn search_for_triple_dash() { function search_for_double_dash_value (line 355) | fn search_for_double_dash_value() { FILE: crates/atuin/src/command/client/search/cursor.rs type Cursor (line 3) | pub struct Cursor { method from (line 9) | fn from(source: String) -> Self { method as_str (line 96) | pub fn as_str(&self) -> &str { method into_inner (line 100) | pub fn into_inner(self) -> String { method substring (line 105) | pub fn substring(&self) -> &str { method char (line 110) | pub fn char(&self) -> Option { method right (line 114) | pub fn right(&mut self) { method left (line 125) | pub fn left(&mut self) -> bool { method next_word (line 138) | pub fn next_word(&mut self, word_chars: &str, word_jump_mode: WordJump... method prev_word (line 146) | pub fn prev_word(&mut self, word_chars: &str, word_jump_mode: WordJump... method word_end (line 159) | pub fn word_end(&mut self, word_chars: &str) { method insert (line 216) | pub fn insert(&mut self, c: char) { method remove (line 221) | pub fn remove(&mut self) -> Option { method remove_next_word (line 229) | pub fn remove_next_word(&mut self, word_chars: &str, word_jump_mode: W... method remove_prev_word (line 238) | pub fn remove_prev_word(&mut self, word_chars: &str, word_jump_mode: W... method back (line 248) | pub fn back(&mut self) -> Option { method clear (line 252) | pub fn clear(&mut self) { method clear_to_start (line 257) | pub fn clear_to_start(&mut self) { method clear_to_end (line 262) | pub fn clear_to_end(&mut self) { method end (line 267) | pub fn end(&mut self) { method start (line 271) | pub fn start(&mut self) { method position (line 275) | pub fn position(&self) -> usize { type WordJumper (line 14) | pub struct WordJumper<'a> { function is_word_boundary (line 20) | fn is_word_boundary(&self, c: char, next_c: char) -> bool { function emacs_get_next_word_pos (line 27) | fn emacs_get_next_word_pos(&self, source: &str, index: usize) -> usize { function emacs_get_prev_word_pos (line 36) | fn emacs_get_prev_word_pos(&self, source: &str, index: usize) -> usize { function subl_get_next_word_pos (line 47) | fn subl_get_next_word_pos(&self, source: &str, index: usize) -> usize { function subl_get_prev_word_pos (line 62) | fn subl_get_prev_word_pos(&self, source: &str, index: usize) -> usize { function get_next_word_pos (line 80) | fn get_next_word_pos(&self, source: &str, index: usize) -> usize { function get_prev_word_pos (line 87) | fn get_prev_word_pos(&self, source: &str, index: usize) -> usize { function right (line 296) | fn right() { function left (line 307) | fn left() { function test_emacs_get_next_word_pos (line 319) | fn test_emacs_get_next_word_pos() { function test_emacs_get_prev_word_pos (line 329) | fn test_emacs_get_prev_word_pos() { function test_subl_get_next_word_pos (line 339) | fn test_subl_get_next_word_pos() { function test_subl_get_prev_word_pos (line 349) | fn test_subl_get_prev_word_pos() { function pop (line 359) | fn pop() { function back (line 375) | fn back() { function insert (line 391) | fn insert() { FILE: crates/atuin/src/command/client/search/duration.rs function format_duration_into (line 5) | pub fn format_duration_into(dur: Duration, f: &mut fmt::Formatter<'_>) -... function format_duration (line 57) | pub fn format_duration(f: Duration) -> String { FILE: crates/atuin/src/command/client/search/engines.rs function engine (line 17) | pub fn engine(search_mode: SearchMode, settings: &Settings) -> Box ... FILE: crates/atuin/src/command/client/search/engines/daemon.rs type Search (line 18) | pub struct Search { method new (line 27) | pub fn new(settings: &Settings) -> Self { method get_client (line 38) | async fn get_client(&mut self) -> Result<&mut SearchClient> { method next_query_id (line 51) | fn next_query_id(&mut self) -> u64 { method contains_regex_pattern (line 58) | fn contains_regex_pattern(query: &str) -> bool { method fallback_to_db_search (line 63) | async fn fallback_to_db_search( method hydrate_from_db (line 85) | async fn hydrate_from_db(&self, db: &dyn Database, ids: &[String]) -> ... method full_query (line 98) | async fn full_query( method get_highlight_indices (line 188) | fn get_highlight_indices(&self, command: &str, search_input: &str) -> Ve... FILE: crates/atuin/src/command/client/search/engines/db.rs type Search (line 16) | pub struct Search(pub SearchMode); method full_query (line 21) | async fn full_query( method get_highlight_indices (line 44) | fn get_highlight_indices(&self, command: &str, search_input: &str) -> Ve... function get_highlight_indices_fulltext (line 62) | pub fn get_highlight_indices_fulltext(command: &str, search_input: &str)... FILE: crates/atuin/src/command/client/search/engines/skim.rs type Search (line 15) | pub struct Search { method new (line 21) | pub fn new() -> Self { method full_query (line 32) | async fn full_query( method get_highlight_indices (line 45) | fn get_highlight_indices(&self, command: &str, search_input: &str) -> Ve... function load_all_history (line 55) | async fn load_all_history(db: &dyn Database) -> Vec<(History, i32)> { function fuzzy_search (line 61) | async fn fuzzy_search( function path_dist (line 209) | fn path_dist(a: &Path, b: &Path) -> usize { FILE: crates/atuin/src/command/client/search/history_list.rs type HistoryHighlighter (line 22) | pub struct HistoryHighlighter<'a> { function get_highlight_indices (line 28) | pub fn get_highlight_indices(&self, command: &str) -> Vec { type HistoryList (line 34) | pub struct HistoryList<'a> { type ListState (line 50) | pub struct ListState { method selected (line 57) | pub fn selected(&self) -> usize { method max_entries (line 61) | pub fn max_entries(&self) -> usize { method offset (line 65) | pub fn offset(&self) -> usize { method select (line 69) | pub fn select(&mut self, index: usize) { type State (line 75) | type State = ListState; method render (line 77) | fn render(mut self, area: Rect, buf: &mut Buffer, state: &mut Self::Stat... function new (line 121) | pub fn new( function block (line 146) | pub fn block(mut self, block: Block<'a>) -> Self { function get_items_bounds (line 151) | fn get_items_bounds(&self, selected: usize, offset: usize, height: usize... type DrawState (line 166) | struct DrawState<'a> { function render_row (line 188) | fn render_row(&mut self, h: &History) { function index (line 230) | fn index(&mut self) { function duration (line 253) | fn duration(&mut self, h: &History, width: u16) { function time (line 267) | fn time(&mut self, h: &History, width: u16) { function command (line 286) | fn command(&mut self, h: &History) { function datetime (line 334) | fn datetime(&mut self, h: &History, width: u16) { function directory (line 350) | fn directory(&mut self, h: &History, width: u16) { function host (line 367) | fn host(&mut self, h: &History, width: u16) { function user (line 384) | fn user(&mut self, h: &History, width: u16) { function exit_code (line 401) | fn exit_code(&mut self, h: &History, width: u16) { function draw (line 412) | fn draw(&mut self, s: &str, mut style: Style) { FILE: crates/atuin/src/command/client/search/inspector.rs function u64_or_zero (line 24) | fn u64_or_zero(num: i64) -> u64 { function draw_commands (line 28) | pub fn draw_commands( function draw_stats_table (line 116) | pub fn draw_stats_table( function num_to_day (line 159) | fn num_to_day(num: &str) -> String { function sort_duration_over_time (line 172) | fn sort_duration_over_time(durations: &[(String, i64)]) -> Vec<(String, ... function draw_stats_charts (line 199) | fn draw_stats_charts(f: &mut Frame<'_>, parent: Rect, stats: &HistorySta... function draw (line 288) | pub fn draw( function draw_ultracompact (line 305) | pub fn draw_ultracompact( function draw_full (line 315) | pub fn draw_full( function mock_history_stats (line 348) | fn mock_history_stats() -> (History, HistoryStats) { function test_output_looks_correct_for_ultracompact (line 401) | fn test_output_looks_correct_for_ultracompact() { FILE: crates/atuin/src/command/client/search/interactive.rs constant TAB_TITLES (line 55) | const TAB_TITLES: [&str; 2] = ["Search", "Inspect"]; type InputAction (line 57) | pub enum InputAction { type InspectingState (line 70) | pub struct InspectingState { method move_to_previous (line 77) | pub fn move_to_previous(&mut self) { method move_to_next (line 83) | pub fn move_to_next(&mut self) { method reset (line 89) | pub fn reset(&mut self) { function to_compactness (line 96) | pub fn to_compactness(f: &Frame, settings: &Settings) -> Compactness { type State (line 114) | pub struct State { method query_results (line 152) | async fn query_results( method handle_input (line 177) | fn handle_input(&mut self, settings: &Settings, input: &Event) -> Inpu... method handle_mouse_input (line 186) | fn handle_mouse_input(&mut self, input: MouseEvent) -> InputAction { method handle_paste_input (line 199) | fn handle_paste_input(&mut self, input: &str) -> InputAction { method cast_cursor_style (line 206) | fn cast_cursor_style(style: CursorStyle) -> SetCursorStyle { method set_keymap_cursor (line 218) | fn set_keymap_cursor(&mut self, settings: &Settings, keymap_name: &str) { method initialize_keymap_cursor (line 234) | pub fn initialize_keymap_cursor(&mut self, settings: &Settings) { method finalize_keymap_cursor (line 243) | pub fn finalize_keymap_cursor(&mut self, settings: &Settings) { method handle_key_exit (line 252) | fn handle_key_exit(settings: &Settings) -> InputAction { method mode_keymap (line 260) | fn mode_keymap(&self) -> &super::keybindings::Keymap { method is_insert_mode (line 273) | fn is_insert_mode(&self) -> bool { method handle_key_input (line 280) | fn handle_key_input(&mut self, settings: &Settings, input: &KeyEvent) ... method scroll_down (line 387) | fn scroll_down(&mut self, scroll_len: usize) { method scroll_up (line 393) | fn scroll_up(&mut self, scroll_len: usize) { method execute_action (line 410) | pub(crate) fn execute_action( method calc_preview_height (line 727) | fn calc_preview_height( method draw (line 802) | fn draw( method draw_inner (line 822) | fn draw_inner( method draw_preview (line 1054) | fn draw_preview( method build_title (line 1082) | fn build_title(&self, theme: &Theme) -> Paragraph<'_> { method build_help (line 1100) | fn build_help(&self, settings: &Settings, theme: &Theme) -> Paragraph<... method build_stats (line 1138) | fn build_stats(&self, theme: &Theme) -> Paragraph<'_> { method build_results_list (line 1148) | fn build_results_list<'a>( method build_input (line 1192) | fn build_input(&self, style: StyleState, prefix_width: u16) -> Paragra... method build_preview (line 1227) | fn build_preview( type Compactness (line 138) | pub enum Compactness { type StyleState (line 145) | struct StyleState { type TerminalWriter (line 1267) | enum TerminalWriter { method write (line 1274) | fn write(&mut self, buf: &[u8]) -> std::io::Result { method flush (line 1282) | fn flush(&mut self) -> std::io::Result<()> { type SavedScreen (line 1293) | struct SavedScreen { function fetch_screen_state (line 1314) | fn fetch_screen_state(socket_path: &str) -> Option { function restore_popup_area (line 1365) | fn restore_popup_area(saved: &SavedScreen, popup_rect: Rect, scroll_offs... type Stdout (line 1403) | struct Stdout { method new (line 1409) | pub fn new(inline_mode: bool, stdout_is_terminal: bool) -> std::io::Re... method drop (line 1464) | fn drop(&mut self) { method write (line 1483) | fn write(&mut self, buf: &[u8]) -> std::io::Result { method flush (line 1487) | fn flush(&mut self) -> std::io::Result<()> { function compute_popup_placement (line 1500) | fn compute_popup_placement( function history (line 1533) | pub async fn history( function set_clipboard (line 1957) | fn set_clipboard(s: String) { function set_clipboard (line 1968) | fn set_clipboard(_s: String) {} function calc_preview_height_test (line 1986) | fn calc_preview_height_test() { function state_scroll_up_underflow (line 2140) | fn state_scroll_up_underflow() { function test_accept_keybindings (line 2183) | fn test_accept_keybindings() { function test_vim_gg_multikey_sequence (line 2311) | fn test_vim_gg_multikey_sequence() { function test_vim_g_key_clears_on_other_input (line 2370) | fn test_vim_g_key_clears_on_other_input() { function test_vim_big_g_jump_to_bottom (line 2425) | fn test_vim_big_g_jump_to_bottom() { function test_vim_ctrl_u_d_half_page_scroll (line 2476) | fn test_vim_ctrl_u_d_half_page_scroll() { function test_vim_ctrl_f_b_full_page_scroll (line 2536) | fn test_vim_ctrl_f_b_full_page_scroll() { function make_executor_state (line 2600) | fn make_executor_state(results_len: usize, selected: usize) -> State { function execute_select_next_no_invert (line 2642) | fn execute_select_next_no_invert() { function execute_select_next_with_invert (line 2654) | fn execute_select_next_with_invert() { function execute_select_previous_no_invert (line 2667) | fn execute_select_previous_no_invert() { function execute_vim_enter_normal (line 2679) | fn execute_vim_enter_normal() { function execute_vim_enter_insert (line 2690) | fn execute_vim_enter_insert() { function execute_accept_sets_accept_flag (line 2702) | fn execute_accept_sets_accept_flag() { function execute_return_selection_does_not_set_accept (line 2714) | fn execute_return_selection_does_not_set_accept() { function execute_accept_nth (line 2725) | fn execute_accept_nth() { function execute_scroll_to_top_no_invert (line 2735) | fn execute_scroll_to_top_no_invert() { function execute_scroll_to_top_with_invert (line 2747) | fn execute_scroll_to_top_with_invert() { function execute_scroll_to_bottom_no_invert (line 2760) | fn execute_scroll_to_bottom_no_invert() { function execute_toggle_tab (line 2772) | fn execute_toggle_tab() { function execute_enter_prefix_mode (line 2785) | fn execute_enter_prefix_mode() { function execute_exit_returns_based_on_exit_mode (line 2796) | fn execute_exit_returns_based_on_exit_mode() { function execute_return_original (line 2813) | fn execute_return_original() { function execute_copy (line 2823) | fn execute_copy() { function execute_delete (line 2833) | fn execute_delete() { function execute_switch_context (line 2843) | fn execute_switch_context() { function execute_clear_context (line 2853) | fn execute_clear_context() { function execute_noop (line 2863) | fn execute_noop() { function execute_accept_in_inspector_tab (line 2874) | fn execute_accept_in_inspector_tab() { function execute_cycle_search_mode (line 2885) | fn execute_cycle_search_mode() { function execute_vim_search_insert (line 2898) | fn execute_vim_search_insert() { function execute_cursor_movement (line 2914) | fn execute_cursor_movement() { function execute_editing (line 2946) | fn execute_editing() { function keymap_config_return_query (line 2969) | fn keymap_config_return_query() { FILE: crates/atuin/src/command/client/search/keybindings/actions.rs type Action (line 7) | pub enum Action { method from_str (line 79) | pub fn from_str(s: &str) -> Result { method as_str (line 157) | pub fn as_str(&self) -> String { method fmt (line 222) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method deserialize (line 234) | fn deserialize>(deserializer: D) -> Result(&self, serializer: S) -> Result bool { method from_str (line 80) | pub fn from_str(s: &str) -> Result { method as_str (line 96) | pub fn as_str(&self) -> &'static str { method fmt (line 112) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type ConditionExpr (line 31) | pub enum ConditionExpr { method evaluate (line 123) | pub fn evaluate(&self, ctx: &EvalContext) -> bool { method from (line 138) | fn from(atom: ConditionAtom) -> Self { method not (line 146) | pub fn not(self) -> Self { method and (line 151) | pub fn and(self, other: ConditionExpr) -> Self { method or (line 156) | pub fn or(self, other: ConditionExpr) -> Self { method parse (line 289) | pub fn parse(s: &str) -> Result { method prec (line 309) | fn prec(&self) -> Prec { method fmt_with_prec (line 318) | fn fmt_with_prec(&self, f: &mut fmt::Formatter<'_>, parent_prec: Prec)... method fmt (line 348) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method deserialize (line 364) | fn deserialize>(deserializer: D) -> Result { function new (line 182) | fn new(input: &'a str) -> Self { function skip_whitespace (line 186) | fn skip_whitespace(&mut self) { function starts_with (line 192) | fn starts_with(&mut self, s: &str) -> bool { function consume (line 197) | fn consume(&mut self, s: &str) -> bool { function parse (line 208) | fn parse(mut self) -> Result { function parse_or (line 222) | fn parse_or(&mut self) -> Result { function parse_and (line 233) | fn parse_and(&mut self) -> Result { function parse_unary (line 244) | fn parse_unary(&mut self) -> Result { function parse_primary (line 254) | fn parse_primary(&mut self) -> Result { function parse_atom (line 267) | fn parse_atom(&mut self) -> Result { type Prec (line 301) | enum Prec { method serialize (line 358) | fn serialize(&self, serializer: S) -> Result KeyInput { type KeymapSet (line 52) | pub struct KeymapSet { method defaults (line 478) | pub fn defaults(settings: &Settings) -> Self { method from_settings (line 496) | pub fn from_settings(settings: &Settings) -> Self { method apply_config (line 513) | fn apply_config(&mut self, settings: &Settings) { function add_common_bindings (line 69) | fn add_common_bindings(km: &mut Keymap) { function accept_action (line 79) | fn accept_action(settings: &Settings) -> Action { function default_emacs_keymap (line 104) | pub fn default_emacs_keymap(settings: &Settings) -> Keymap { function default_vim_normal_keymap (line 255) | pub fn default_vim_normal_keymap(settings: &Settings) -> Keymap { function default_vim_insert_keymap (line 336) | pub fn default_vim_insert_keymap(settings: &Settings) -> Keymap { function default_inspector_keymap (line 356) | pub fn default_inspector_keymap(settings: &Settings) -> Keymap { function default_prefix_keymap (line 403) | pub fn default_prefix_keymap() -> Keymap { function parse_binding_config (line 429) | fn parse_binding_config(config: &KeyBindingConfig) -> Result... function default_settings (line 544) | fn default_settings() -> Settings { function emacs_ctrl_c_returns_original (line 551) | fn emacs_ctrl_c_returns_original() { function emacs_esc_exits (line 561) | fn emacs_esc_exits() { function emacs_tab_returns_selection (line 568) | fn emacs_tab_returns_selection() { function emacs_enter_returns_selection (line 576) | fn emacs_enter_returns_selection() { function emacs_enter_accept_true_uses_accept (line 587) | fn emacs_enter_accept_true_uses_accept() { function emacs_right_at_end_returns_selection (line 597) | fn emacs_right_at_end_returns_selection() { function emacs_right_not_at_end_moves (line 608) | fn emacs_right_not_at_end_moves() { function emacs_left_at_start_exits (line 615) | fn emacs_left_at_start_exits() { function emacs_left_not_at_start_moves (line 622) | fn emacs_left_not_at_start_moves() { function emacs_down_at_start_exits (line 629) | fn emacs_down_at_start_exits() { function emacs_down_not_at_start_selects_next (line 637) | fn emacs_down_not_at_start_selects_next() { function emacs_up_selects_previous (line 645) | fn emacs_up_selects_previous() { function emacs_ctrl_d_empty_returns_original (line 653) | fn emacs_ctrl_d_empty_returns_original() { function emacs_ctrl_d_nonempty_deletes (line 664) | fn emacs_ctrl_d_nonempty_deletes() { function emacs_ctrl_n_selects_next_no_exit_condition (line 674) | fn emacs_ctrl_n_selects_next_no_exit_condition() { function emacs_prefix_key_enters_prefix (line 682) | fn emacs_prefix_key_enters_prefix() { function emacs_home_cursor_start (line 692) | fn emacs_home_cursor_start() { function vim_normal_j_at_start_exits (line 701) | fn vim_normal_j_at_start_exits() { function vim_normal_j_not_at_start_selects_next (line 709) | fn vim_normal_j_not_at_start_selects_next() { function vim_normal_k_selects_previous (line 716) | fn vim_normal_k_selects_previous() { function vim_normal_i_enters_insert (line 724) | fn vim_normal_i_enters_insert() { function vim_normal_slash_search_insert (line 731) | fn vim_normal_slash_search_insert() { function vim_normal_gg_scroll_to_top (line 738) | fn vim_normal_gg_scroll_to_top() { function vim_normal_big_g_scroll_to_bottom (line 745) | fn vim_normal_big_g_scroll_to_bottom() { function vim_normal_numeric_returns_selection (line 752) | fn vim_normal_numeric_returns_selection() { function vim_normal_ctrl_u_half_page_up (line 762) | fn vim_normal_ctrl_u_half_page_up() { function vim_normal_screen_jumps (line 772) | fn vim_normal_screen_jumps() { function vim_normal_enter_returns_selection (line 787) | fn vim_normal_enter_returns_selection() { function vim_normal_enter_accept_true_uses_accept (line 798) | fn vim_normal_enter_accept_true_uses_accept() { function vim_insert_inherits_emacs_enter (line 809) | fn vim_insert_inherits_emacs_enter() { function vim_insert_esc_enters_normal (line 820) | fn vim_insert_esc_enters_normal() { function vim_insert_ctrl_bracket_enters_normal (line 827) | fn vim_insert_ctrl_bracket_enters_normal() { function vim_insert_inherits_emacs_ctrl_d (line 837) | fn vim_insert_inherits_emacs_ctrl_d() { function inspector_ctrl_d_deletes (line 850) | fn inspector_ctrl_d_deletes() { function inspector_up_inspects_previous (line 857) | fn inspector_up_inspects_previous() { function inspector_down_inspects_next (line 864) | fn inspector_down_inspects_next() { function inspector_esc_exits (line 871) | fn inspector_esc_exits() { function inspector_tab_returns_selection (line 878) | fn inspector_tab_returns_selection() { function prefix_d_deletes (line 888) | fn prefix_d_deletes() { function prefix_a_cursor_start (line 895) | fn prefix_a_cursor_start() { function prefix_unknown_key_returns_none (line 902) | fn prefix_unknown_key_returns_none() { function keymap_set_defaults_builds (line 911) | fn keymap_set_defaults_builds() { function custom_prefix_char (line 927) | fn custom_prefix_char() { function ctrl_n_shortcuts_changes_numeric_modifier (line 943) | fn ctrl_n_shortcuts_changes_numeric_modifier() { function default_alt_numeric_shortcuts (line 959) | fn default_alt_numeric_shortcuts() { function parse_simple_binding_config (line 976) | fn parse_simple_binding_config() { function parse_conditional_binding_config (line 986) | fn parse_conditional_binding_config() { function parse_binding_config_invalid_action (line 1007) | fn parse_binding_config_invalid_action() { function parse_binding_config_invalid_condition (line 1014) | fn parse_binding_config_invalid_condition() { function config_override_replaces_key (line 1024) | fn config_override_replaces_key() { function config_override_preserves_unoverridden_keys (line 1049) | fn config_override_preserves_unoverridden_keys() { function config_conditional_override (line 1073) | fn config_conditional_override() { function from_settings_with_empty_config_equals_defaults (line 1108) | fn from_settings_with_empty_config_equals_defaults() { function keymap_overrides_ignore_keys_section (line 1132) | fn keymap_overrides_ignore_keys_section() { function keymap_present_resets_to_standard_keys_defaults (line 1173) | fn keymap_present_resets_to_standard_keys_defaults() { function keys_has_non_default_values_detection (line 1215) | fn keys_has_non_default_values_detection() { function original_input_empty_condition_in_config (line 1231) | fn original_input_empty_condition_in_config() { FILE: crates/atuin/src/command/client/search/keybindings/key.rs type SingleKey (line 9) | pub struct SingleKey { method from_event (line 49) | pub fn from_event(event: &KeyEvent) -> Option { method parse (line 115) | pub fn parse(s: &str) -> Result { method fmt (line 214) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type KeyCodeValue (line 19) | pub enum KeyCodeValue { type KeyInput (line 42) | pub enum KeyInput { method parse (line 267) | pub fn parse(s: &str) -> Result { method fmt (line 283) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method deserialize (line 306) | fn deserialize>(deserializer: D) -> Result(&self, serializer: S) -> Result Self { method when (line 39) | pub fn when(condition: impl Into, action: Action) -> Se... type KeyBinding (line 18) | pub struct KeyBinding { method simple (line 49) | pub fn simple(action: Action) -> Self { method conditional (line 56) | pub fn conditional(rules: Vec) -> Self { type Keymap (line 24) | pub struct Keymap { method new (line 63) | pub fn new() -> Self { method bind (line 70) | pub fn bind(&mut self, key: KeyInput, action: Action) { method bind_conditional (line 75) | pub fn bind_conditional(&mut self, key: KeyInput, rules: Vec) { method resolve (line 81) | pub fn resolve(&self, key: &KeyInput, ctx: &EvalContext) -> Option bool { method merge (line 104) | pub fn merge(&mut self, other: &Keymap) { method default (line 112) | fn default() -> Self { function make_ctx (line 122) | fn make_ctx(cursor: usize, width: usize, selected: usize, len: usize) ->... function simple_binding_resolves (line 135) | fn simple_binding_resolves() { function conditional_first_match_wins (line 145) | fn conditional_first_match_wins() { function no_match_returns_none (line 166) | fn no_match_returns_none() { function conditional_no_condition_matches_returns_none (line 174) | fn conditional_no_condition_matches_returns_none() { function has_sequence_starting_with (line 189) | fn has_sequence_starting_with() { function merge_overrides (line 202) | fn merge_overrides() { function merge_preserves_unoverridden (line 217) | fn merge_preserves_unoverridden() { FILE: crates/atuin/src/command/client/setup.rs function run (line 8) | pub async fn run(_settings: &Settings) -> Result<()> { function prompt (line 63) | pub fn prompt(feature: &str, description: &str, note: Option<&str>) -> R... FILE: crates/atuin/src/command/client/stats.rs function parse_ngram_size (line 14) | fn parse_ngram_size(s: &str) -> Result { type Cmd (line 28) | pub struct Cmd { method run (line 42) | pub async fn run(&self, db: &impl Database, settings: &Settings, theme... FILE: crates/atuin/src/command/client/store.rs type Cmd (line 25) | pub enum Cmd { method run (line 51) | pub async fn run( method status (line 72) | pub async fn status(&self, store: SqliteStore) -> Result<()> { FILE: crates/atuin/src/command/client/store/pull.rs type Pull (line 13) | pub struct Pull { method run (line 30) | pub async fn run( FILE: crates/atuin/src/command/client/store/purge.rs type Purge (line 11) | pub struct Purge {} method run (line 14) | pub async fn run(&self, settings: &Settings, store: SqliteStore) -> Re... FILE: crates/atuin/src/command/client/store/push.rs type Push (line 14) | pub struct Push { method run (line 36) | pub async fn run(&self, settings: &Settings, store: SqliteStore) -> Re... FILE: crates/atuin/src/command/client/store/rebuild.rs type Rebuild (line 15) | pub struct Rebuild { method run (line 20) | pub async fn run( method rebuild_history (line 50) | async fn rebuild_history( method rebuild_dotfiles (line 69) | async fn rebuild_dotfiles(&self, settings: &Settings, store: SqliteSto... method rebuild_scripts (line 83) | async fn rebuild_scripts(&self, settings: &Settings, store: SqliteStor... FILE: crates/atuin/src/command/client/store/rekey.rs type Rekey (line 13) | pub struct Rekey { method run (line 19) | pub async fn run(&self, settings: &Settings, store: SqliteStore) -> Re... FILE: crates/atuin/src/command/client/store/verify.rs type Verify (line 11) | pub struct Verify {} method run (line 14) | pub async fn run(&self, settings: &Settings, store: SqliteStore) -> Re... FILE: crates/atuin/src/command/client/sync.rs type Cmd (line 18) | pub enum Cmd { method run (line 47) | pub async fn run( function run (line 77) | async fn run( FILE: crates/atuin/src/command/client/sync/status.rs function run (line 6) | pub async fn run(settings: &Settings, db: &impl Database) -> Result<()> { FILE: crates/atuin/src/command/client/wrapped.rs type WrappedStats (line 15) | struct WrappedStats { method new (line 27) | fn new( function print_wrapped_header (line 186) | pub fn print_wrapped_header(year: i32) { function print_fun_facts (line 198) | fn print_fun_facts(wrapped_stats: &WrappedStats, stats: &Stats, year: i3... function run (line 289) | pub async fn run( FILE: crates/atuin/src/command/contributors.rs function run (line 3) | pub fn run() { FILE: crates/atuin/src/command/external.rs function run (line 13) | pub fn run(args: &[String]) -> Result<()> { function render_not_found (line 46) | fn render_not_found(subcommand: &str, bin: &str) -> StyledStr { FILE: crates/atuin/src/command/gen_completions.rs type GenShell (line 12) | pub enum GenShell { method file_name (line 22) | fn file_name(&self, name: &str) -> String { method generate (line 36) | fn generate(&self, cmd: &clap::Command, buf: &mut dyn std::io::prelude::... type Cmd (line 52) | pub struct Cmd { method run (line 63) | pub fn run(self) -> Result<()> { FILE: crates/atuin/src/command/mod.rs type AtuinCmd (line 19) | pub enum AtuinCmd { method run (line 44) | pub fn run(self) -> Result<()> { FILE: crates/atuin/src/main.rs constant VERSION (line 16) | const VERSION: &str = env!("CARGO_PKG_VERSION"); constant SHA (line 17) | const SHA: &str = env!("GIT_HASH"); constant LONG_VERSION (line 19) | const LONG_VERSION: &str = concat!(env!("CARGO_PKG_VERSION"), " (", env!... constant STYLES (line 31) | const STYLES: Styles = Styles::styled() type Atuin (line 46) | struct Atuin { method run (line 52) | fn run(self) -> Result<()> { function main (line 57) | fn main() -> Result<()> { FILE: crates/atuin/src/sync.rs function build (line 18) | pub async fn build( FILE: crates/atuin/tests/common/mod.rs function start_server (line 13) | pub async fn start_server(path: &str) -> (String, oneshot::Sender<()>, J... function register_inner (line 72) | pub async fn register_inner<'a>( function login (line 94) | pub async fn login(address: &str, username: String, password: String) ->... function register (line 113) | pub async fn register(address: &str) -> api_client::Client<'_> { FILE: crates/atuin/tests/sync.rs function sync (line 7) | async fn sync() { FILE: crates/atuin/tests/users.rs function registration (line 6) | async fn registration() { function change_password (line 34) | async fn change_password() { function multi_user_test (line 72) | async fn multi_user_test() { FILE: scripts/span-table.ts type SpanEvent (line 15) | interface SpanEvent { type SpanStats (line 31) | interface SpanStats { function parseDuration (line 40) | function parseDuration(duration: string): number { function formatDuration (line 63) | function formatDuration(us: number): string { function percentile (line 75) | function percentile(arr: number[], p: number): number { function parseJsonLines (line 82) | function parseJsonLines(content: string): SpanEvent[] { function main (line 95) | function main() {