MCPcopy Create free account

hub / github.com/atomicdotdev/atomic / functions

Functions14,282 in github.com/atomicdotdev/atomic

↓ 4 callersMethodwith_timeout
Builder: set the timeout in seconds.
atomic-cli/src/commands/pull/command.rs:231
↓ 4 callersMethodwith_untracked
Set whether to include untracked files.
atomic-repository/src/status.rs:708
↓ 4 callersFunctionword_diff_with_config
Compute word-level diff with custom configuration. # Arguments `old` - The original content `new` - The modified content `config` - Configuration op
atomic-core/src/diff/word.rs:578
↓ 4 callersFunctionwrite_change_to_graph
Write a change to the graph and add it to a view's change log. This function handles two cases: 1. **New change**: The change hasn't been applied to
atomic-repository/src/apply/mod.rs:229
↓ 4 callersFunctionwrite_manifest
(dir: &Path, install_path: &Path, version: &str, schema_version: u32)
atomic-cli/src/commands/update.rs:635
↓ 3 callersMethodadd
( &mut self, node: GraphNode<NodeId>, flags: EdgeFlags, dest_change: u64,
atomic-core/src/pristine/traits/tests/graph_tests.rs:21
↓ 3 callersMethodadd_change
Updates statistics with a line change.
atomic-core/src/record/workflow/crdt/line_ops/analyzer.rs:51
↓ 3 callersMethodadd_connected_by
Add a change that connected to this span.
atomic-core/src/apply/conflict.rs:137
↓ 3 callersMethodadd_content_bytes
(&mut self, bytes: u64)
atomic-core/src/crdt/apply/context.rs:197
↓ 3 callersMethodadd_deleted_by
Add a change that deleted this span.
atomic-core/src/apply/conflict.rs:130
↓ 3 callersMethodadd_dependency
Add a dependency. # Arguments `hash` - The dependency hash
atomic-core/src/record/workflow/assembly/mod.rs:195
↓ 3 callersMethodadd_error
Add an error message.
atomic-core/src/record/workflow/detect/types.rs:324
↓ 3 callersMethodadd_extra_child
Add an extra child to a span. Extra children are stored directly on the span rather than in the shared array. This is useful when edges are discovere
atomic-core/src/output/alive/graph.rs:330
↓ 3 callersMethodadd_flags
(&mut self, flags: VertexFlags)
atomic-core/src/output/alive/vertex.rs:333
↓ 3 callersFunctionadd_hook_to_matcher
Add a hook command to a matcher list, creating the matcher if needed.
atomic-agent/src/hooks/gemini_cli.rs:774
↓ 3 callersMethodadd_leaf_replaced
(&mut self)
atomic-core/src/crdt/apply/context.rs:183
↓ 3 callersMethodadd_pending
Add a pending change, potentially combining with existing ones.
atomic-core/src/record/workflow/graph_op/builder.rs:257
↓ 3 callersFunctionadd_spinner
Add a spinner to a multi-progress container. # Arguments `mp` - The multi-progress container `message` - The spinner message
atomic-cli/src/output/progress.rs:182
↓ 3 callersMethodadd_trunk_deleted
(&mut self)
atomic-core/src/crdt/apply/context.rs:131
↓ 3 callersMethodadd_zombie
Add a zombie conflict.
atomic-core/src/apply/conflict.rs:309
↓ 3 callersMethodadd_zombie_vertex
Record a zombie span by its span.
atomic-core/src/apply/workspace.rs:619
↓ 3 callersMethodadjust_offsets
Adjust all operation offsets by adding to the positions. This is used after stripping common prefixes to restore correct positions.
atomic-core/src/diff/ops.rs:505
↓ 3 callersMethodadvance
(&mut self)
atomic-core/src/pristine/inode_graph/types.rs:200
↓ 3 callersMethodagent_vendor
Set the AI vendor identifier.
atomic-core/src/change/provenance_graph/builder.rs:80
↓ 3 callersMethodalgorithm
(mut self, algorithm: Algorithm)
atomic-core/src/record/workflow/record/options.rs:117
↓ 3 callersMethodalloc_branch
Allocate a new branch ID.
atomic-core/src/diff/semantic_to_crdt.rs:254
↓ 3 callersMethodalloc_branch_id
Allocates a new branch ID.
atomic-core/src/record/workflow/crdt/builder/mod.rs:307
↓ 3 callersMethodalloc_leaf_id
Allocates a new leaf ID.
atomic-core/src/record/workflow/crdt/convert/converter.rs:97
↓ 3 callersMethodalloc_leaf_id
Allocates a new leaf ID.
atomic-core/src/record/workflow/crdt/builder/mod.rs:315
↓ 3 callersMethodallow_conflict
Set whether to allow conflicts.
atomic-repository/src/apply/types.rs:191
↓ 3 callersMethodallow_conflicts
Set whether to allow conflicts.
atomic-repository/src/apply/cross_view.rs:90
↓ 3 callersFunctionanthropic_messages
Convert [`ToolMessage`] list into Anthropic's messages array.
atomic-repository/src/ai/tools.rs:415
↓ 3 callersFunctionappend_agent_trace
Append a [`TraceRecord`] as a single JSON line to `{root}/.agent-trace/traces.jsonl`. Creates the directory and file if they don't exist. All errors
atomic-agent/src/export.rs:227
↓ 3 callersMethodapply_deps
Set whether to insert dependencies automatically.
atomic-repository/src/apply/types.rs:185
↓ 3 callersFunctionapply_file_ops_batched
Apply FileOps using CRDT table handles opened once for the full pass. This is a specialized fast path for insert-only workloads such as large initial
atomic-core/src/apply/file_ops.rs:184
↓ 3 callersMethodas_dry_run
Mark as a dry run result.
atomic-repository/src/unrecord.rs:281
↓ 3 callersFunctionassemble_change
Assemble a change from recorded files. This is the main entry point for creating a Change from recording results. It globalizes all hunks, collects d
atomic-core/src/record/workflow/assembly/mod.rs:343
↓ 3 callersFunctionattach_identity
Attach a Bearer JWT auth header to the remote config. `identity_override` — if provided, this identity name is used directly, bypassing URL-based inf
atomic-cli/src/commands/auth.rs:165
↓ 3 callersMethodattest_path
Get the filesystem path for an attestation with the given hash. Attestations use the same two-level directory structure as changes but with the `.att
atomic-repository/src/changestore/attestation.rs:28
↓ 3 callersMethodbegin_conflict
Begin a conflict region (order conflict). # Arguments `id` - Unique ID for this conflict `changes` - Optional change hashes for the first side
atomic-core/src/output/traits.rs:479
↓ 3 callersMethodbegin_cyclic_conflict
(&mut self, id: usize)
atomic-core/src/output/repo/writer.rs:436
↓ 3 callersMethodbegin_zombie_conflict
( &mut self, id: usize, changes: Option<&[Hash]>, )
atomic-core/src/output/repo/writer.rs:426
↓ 3 callersMethodbootstrap_vault_from_working_copy
Bootstrap vault tables from an existing `.vault/` working copy. Called after pull/clone when `.vault/` files exist on disk (materialized from the gra
atomic-repository/src/repository/vault.rs:102
↓ 3 callersFunctionbuild_content_index
Build (or rebuild) the content search index for the repository. Indexes all files in the working copy, respecting `.gitignore` and `.atomicignore` pa
atomic-repository/src/content_search.rs:16
↓ 3 callersFunctionbuild_crdt_ops_from_git_diff
Build CRDT FileOps directly from git diff lines. This is the authoritative path for git import: instead of re-running our Myers diff algorithm (which
atomic-core/src/record/workflow/record/mod.rs:628
↓ 3 callersFunctionbuild_deletion_edges
Create [`NewEdge`] deletion entries for each vertex. For every content vertex we: 1. Find its predecessor via PARENT edges. 2. Create a `BLOCK | DELE
atomic-core/src/record/workflow/globalize/hunk.rs:1378
↓ 3 callersFunctionbuild_file_change_summary
Build a human-readable summary of file changes from the repository status. Groups changes by kind and lists filenames (not full paths) to keep the me
atomic-agent/src/record/message.rs:289
↓ 3 callersFunctionbuild_graph_first_file_ops_for_added_file
( path: &str, content_lines: &[Vec<u8>], ranges: &[(ChangePosition, ChangePosition)], encoding
atomic-cli/src/commands/git/parallel.rs:1006
↓ 3 callersFunctionbuild_header
Build a ChangeHeader from options and explicit header. The explicit header takes precedence, but the options message can override an empty header mes
atomic-repository/src/record/assemble.rs:389
↓ 3 callersFunctionbuild_hunks_from_diff
( diff_result: &DiffResult, old_lines: &[&[u8]], new_lines: &[&[u8]], context: usize, )
atomic-cli/src/commands/diff/output.rs:58
↓ 3 callersFunctionbuild_turn_header
Build a `ChangeHeader` for an agent turn. The message is built from the file changes and prompt context: - Good prompt: `"Fix the authentication bug
atomic-agent/src/record/mod.rs:92
↓ 3 callersFunctionclassify_commit
Classify an imported commit as normal, merge, or squash.
atomic-cli/src/commands/git/parallel.rs:3451
↓ 3 callersMethodclear_context
Clear context positions (up and down).
atomic-core/src/apply/workspace.rs:487
↓ 3 callersMethodclose_file
(&mut self, writer: Self::Writer)
atomic-repository/src/archive.rs:760
↓ 3 callersFunctioncollect_files_for_tracking_with_rules
Collect all files in a directory for tracking, with optional ignore rules. This is the full version that accepts optional [`IgnoreRules`] for pattern
atomic-repository/src/tracking/helpers.rs:199
↓ 3 callersFunctioncollect_sorted_content_vertices_cached
( ctx: &mut GlobalizeContext<'_, T>, inode: Inode, inode_pos: Position<NodeId>, )
atomic-core/src/record/workflow/globalize/hunk.rs:704
↓ 3 callersFunctioncollect_tree
Collect children from the tree under a given path. This function traverses the TREE table to find all files and directories under the specified paren
atomic-core/src/output/repo/tree.rs:783
↓ 3 callersFunctioncollect_working_paths
Collect working copy state for a specific set of paths. This is more efficient than full collection when you already know which paths to check (e.g.,
atomic-core/src/record/workflow/collect.rs:489
↓ 3 callersMethodcompact_atom
Convert an `Atom<Option<Hash>>` to a [`CompactAtom`].
atomic-core/src/change/format_v3/compact/compactor.rs:149
↓ 3 callersMethodcompact_edge_update
Convert an `EdgeUpdate<Option<Hash>>` to a [`CompactEdgeUpdate`].
atomic-core/src/change/format_v3/compact/compactor.rs:134
↓ 3 callersMethodcompact_new_edge
Convert a `NewEdge<Option<Hash>>` to a [`CompactNewEdge`].
atomic-core/src/change/format_v3/compact/compactor.rs:119
↓ 3 callersMethodcompute_stats
Update statistics based on hunks.
atomic-cli/src/commands/diff/types.rs:617
↓ 3 callersMethodconcat
Concatenate another EdgeUpdate's edges into this one. Note: The inode must match (this is the caller's responsibility).
atomic-core/src/change/atom.rs:353
↓ 3 callersFunctioncondense_transcript
Condense a transcript from raw bytes, auto-detecting format. Currently supports Claude Code JSONL. Future: Gemini JSON, other formats.
atomic-agent/src/transcript/condense.rs:79
↓ 3 callersMethodconfig_path
(&self)
atomic-repository/src/repository/mod.rs:588
↓ 3 callersMethodconflicted
Iterate over conflicted files.
atomic-repository/src/status.rs:566
↓ 3 callersMethodcontent_len
(&self)
atomic-core/src/crdt/leaf.rs:193
↓ 3 callersMethodcontent_range
(&self)
atomic-core/src/change/ops.rs:555
↓ 3 callersMethodcopy_content_span
Copy a content span from a change without cloning the full `Change`. Graph output calls this for every vertex it materializes. Using `load_change()`
atomic-repository/src/changestore/mod.rs:412
↓ 3 callersMethodcost_usd
Set cost in USD.
atomic-core/src/change/provenance/builder.rs:125
↓ 3 callersFunctioncreate_content_vertices_per_line
Create a chain of per-line content vertices. Splits `content` on newline boundaries and creates one [`Insertion`] per line, chained via predecessor/s
atomic-core/src/record/workflow/globalize/vertex.rs:189
↓ 3 callersFunctioncreate_deletion_tokens
Create token changes for a line that was entirely deleted.
atomic-core/src/diff/semantic/diff_impl.rs:254
↓ 3 callersMethodcreate_file
( &mut self, path: &str, _size: u64, _mode: u32, _mtime: u64, )
atomic-repository/src/archive.rs:727
↓ 3 callersFunctioncreate_opts_with_session
Helper to build IntentCreateOptions for a specific session/turn.
atomic-repository/src/repository/vault_intent.rs:780
↓ 3 callersFunctioncreate_temp_dir
Create a temporary directory for testing.
atomic-repository/src/changestore/tests.rs:11
↓ 3 callersMethodcreate_trunk
Creates a new trunk (file). Allocates an inode and stores the trunk. # Arguments `id` - The trunk ID `path` - The file path `encoding` - Optional t
atomic-core/src/crdt/apply/traits.rs:379
↓ 3 callersFunctioncreate_watcher
Create a [`FileWatcher`] using the best available backend. Attempts to connect to Watchman first. If Watchman is not running or the connection fails,
atomic-agent/src/watcher/mod.rs:292
↓ 3 callersFunctiondecode_leaf_id
(bytes: &[u8; 12])
atomic-core/src/crdt/tables.rs:319
↓ 3 callersFunctiondecode_session_event_key
(key: &[u8; 16])
atomic-core/src/change/session.rs:202
↓ 3 callersFunctiondecode_vertex_position
(bytes: &[u8; 24])
atomic-core/src/crdt/tables.rs:351
↓ 3 callersFunctiondecode_view_seq
(key: &[u8; 16])
atomic-core/src/pristine/tables.rs:849
↓ 3 callersMethoddefault_encoding
(mut self, encoding: Encoding)
atomic-core/src/record/workflow/record/options.rs:138
↓ 3 callersMethoddel_view
(&mut self, view: &ViewState)
atomic-core/src/pristine/txn/write/mod.rs:800
↓ 3 callersMethoddelete_change
Delete a change from disk and the cache. # Arguments `hash` - The hash of the change to delete # Returns `true` if the change was deleted, `false`
atomic-repository/src/changestore/mod.rs:484
↓ 3 callersMethoddelete_file
Marks a file for deletion.
atomic-core/src/record/workflow/crdt/builder/trunk.rs:224
↓ 3 callersMethoddeleted_files
Get only deleted files.
atomic-repository/src/repository/status.rs:524
↓ 3 callersMethoddescription
Returns a short description of this conflict kind.
atomic-core/src/crdt/apply/conflict.rs:140
↓ 3 callersMethoddetails
Get additional details about the status.
atomic-repository/src/status.rs:358
↓ 3 callersMethoddetect
Detect which registered agents are present in the given repository. Calls `detect_presence()` on each registered agent and returns the names of agent
atomic-agent/src/hooks/mod.rs:392
↓ 3 callersFunctiondetect_fork_conflicts
Detect fork conflicts in the alive graph. A fork is a vertex with ≥2 children that reside in different SCCs (i.e. there is no ordering between them).
atomic-core/src/output/repo/fork.rs:50
↓ 3 callersFunctiondetect_recipe
Pick the best recipe for `ctx`. Walks the `RULES` table top-to-bottom; the first rule whose predicate matches selects its recipe. Falls back to [`Re
atomic-core/src/record/workflow/recipes/detector.rs:97
↓ 3 callersMethoddisable
Disable cleanup. Call this when the operation succeeds and you don't want the directory to be removed. # Example ```rust use atomic::commands::clon
atomic-cli/src/commands/clone/helpers.rs:282
↓ 3 callersMethoddry_run
Create a dry-run push outcome.
atomic-cli/src/commands/push/types.rs:285
↓ 3 callersFunctiondump_filtered_alive_graph_for_test
(repo: &Repository, path: &str)
atomic-repository/src/repository/tests/integration_tests.rs:886
↓ 3 callersMethodduration_api_ms
Set the API processing duration in milliseconds.
atomic-core/src/change/attestation.rs:588
↓ 3 callersMethodduration_wall_ms
Set the wall clock duration in milliseconds.
atomic-core/src/change/attestation.rs:594
↓ 3 callersFunctionemphasis
Format emphasized text in bold. Use this to emphasize important text. # Arguments `text` - The text to emphasize # Returns A styled object that d
atomic-cli/src/output/colors.rs:469
↓ 3 callersFunctionencode_edge_key
(from_id: &str, to_id: &str, kind: &str)
atomic-core/src/pristine/tables.rs:611
↓ 3 callersFunctionencoding_to_u8
Convert Encoding to u8 for storage.
atomic-core/src/apply/file_ops.rs:830
↓ 3 callersMethodend_conflict
End a conflict region. # Arguments `id` - The conflict ID (must match the begin call)
atomic-core/src/output/traits.rs:520
← previousnext →1,301–1,400 of 14,282, ranked by callers