MCPcopy Create free account

hub / github.com/atomicdotdev/atomic / functions

Functions14,266 in github.com/atomicdotdev/atomic

↓ 11 callersMethodsemantic_section_count
Set the number of SEMANTIC sections (one per modified file). Automatically sets the `HAS_SEMANTIC` flag if count > 0.
atomic-core/src/change/format_v3/types/builder.rs:76
↓ 11 callersMethodset
(mut self, k: &str, v: &str)
atomic-cli/src/commands/update.rs:595
↓ 11 callersMethodset_agent
Set the agent identity for sessions created by this orchestrator. Called by the CLI hook handler after construction, before dispatching events. This
atomic-agent/src/turn/orchestrator/mod.rs:300
↓ 11 callersFunctiontest_change_id
()
atomic-core/src/diff/semantic_to_crdt.rs:612
↓ 11 callersFunctiontest_hash
()
atomic-core/src/apply/change.rs:241
↓ 11 callersMethodturn_duration_ms
(mut self, ms: u64)
atomic-agent/src/envelope.rs:502
↓ 11 callersMethodwith_detail
Set the detail field.
atomic-agent/src/provenance/types.rs:305
↓ 11 callersMethodwith_files
Builder: set files to restore.
atomic-cli/src/commands/restore.rs:131
↓ 11 callersMethodwith_metadata
Set custom metadata.
atomic-core/src/output/mod.rs:385
↓ 11 callersMethodwith_summary
Builder: set summary.
atomic-core/src/pristine/vault.rs:332
↓ 11 callersMethodwith_tool_use_id
(mut self, id: impl Into<String>)
atomic-agent/src/event.rs:364
↓ 11 callersMethodwith_transcript_path
(mut self, path: impl Into<PathBuf>)
atomic-agent/src/event.rs:343
↓ 10 callersMethodadd_hunk
Add a graph_op to this diff.
atomic-cli/src/commands/diff/types.rs:612
↓ 10 callersMethodadd_hunk
Add a graph_op to the recorded actions. # Arguments `graph_op` - The graph_op to add # Returns The index of the added graph_op (for associating in
atomic-core/src/record/builder.rs:296
↓ 10 callersMethodalloc_inode
(&mut self)
atomic-core/src/crdt/apply/leaf.rs:614
↓ 10 callersMethodanalyze
Performs the analysis and returns the result. This is the main entry point for analyzing differences.
atomic-core/src/record/workflow/crdt/line_ops/analyzer.rs:291
↓ 10 callersMethodbuild_options
Build RecordOptions from command-line arguments.
atomic-cli/src/commands/record/provenance.rs:168
↓ 10 callersMethodbuild_provenance
Build AI provenance from CLI flags and environment variables. Environment variables take precedence over CLI flags for consistency with AI tool integ
atomic-cli/src/commands/record/provenance.rs:8
↓ 10 callersFunctionbuild_turn_message
Build the change message for a turn. Message priority: 1. If the prompt is meaningful (not a slash command, not too short), use it directly — the use
atomic-agent/src/record/message.rs:27
↓ 10 callersMethodchange_path
Compute the filesystem path for a change with the given hash. The path follows the two-level directory structure: `{changes_dir}/{prefix}/{full_hash}
atomic-repository/src/changestore/mod.rs:237
↓ 10 callersFunctioncompute_new_state
Compute the new Merkle state after applying a change. The Merkle state is computed incrementally: `new_state = Hash(old_state || change_hash)` This
atomic-core/src/apply/change.rs:139
↓ 10 callersFunctioncompute_order
Compute the output order using Tarjan's SCC algorithm. This function: 1. Runs Tarjan's algorithm to find all SCCs 2. Builds the conflict tree 3. Iden
atomic-core/src/output/alive/order.rs:354
↓ 10 callersFunctionconflict
Format conflict content in bold red. Use this for conflict markers or conflicted file indicators.
atomic-cli/src/output/colors.rs:504
↓ 10 callersMethodconvert_diff
Convert a SemanticDiff to FileOps. # Arguments `diff` - The semantic diff to convert `path` - The file path # Returns A `FileOps` containing all t
atomic-core/src/diff/semantic_to_crdt.rs:326
↓ 10 callersMethodconvert_file_content
Converts a file addition with content to CRDT operations. This generates: - `TrunkOp::Create` for the file - `BranchOp::Insert` for each line - `Leaf
atomic-core/src/record/workflow/crdt/convert/converter.rs:109
↓ 10 callersMethodcount
Get the number of changes unrecorded.
atomic-repository/src/unrecord.rs:299
↓ 10 callersMethodcreate_tag
Create a named tag on the current view at the current sequence.
atomic-repository/src/repository/tags.rs:26
↓ 10 callersFunctioncreate_test_file_add_hunk
Create a simple test FileAdd graph_op
atomic-core/src/record/builder.rs:1010
↓ 10 callersFunctiondecode_inode_vertex
(key: &[u8; 32])
atomic-core/src/pristine/tables.rs:813
↓ 10 callersMethodemail
Set the email address.
atomic-identity/src/identity.rs:420
↓ 10 callersFunctionencode_leaf_id
(id: &LeafId)
atomic-core/src/crdt/tables.rs:310
↓ 10 callersMethodextract
(&mut self, source: &str, file_path: &str)
atomic-semantic/src/parsers/swift.rs:644
↓ 10 callersMethodfail_on_conflict
(&self)
atomic-core/src/crdt/apply/options.rs:296
↓ 10 callersFunctionformat_upgrade_message
Produce the multi-line outdated message for a given source. Pure so the unit tests can match on substrings.
atomic-cli/src/commands/update.rs:356
↓ 10 callersMethodget_default
Get the default identity ID.
atomic-identity/src/store.rs:95
↓ 10 callersMethodget_file_content
Get the recorded content for a tracked file. This method builds a **change filter** that defines the current view's content perspective, then retriev
atomic-repository/src/repository/content.rs:27
↓ 10 callersFunctionhash_embed
Simple hash-based "embedding" for testing purposes. Produces a deterministic vector from text content using character frequency analysis. NOT suitabl
atomic-repository/src/repository/vault_embeddings.rs:283
↓ 10 callersMethodinit_embeddings
(&mut self)
atomic-core/src/pristine/txn/write/embeddings.rs:227
↓ 10 callersMethodinode_node
(&self)
atomic-core/src/types/position.rs:89
↓ 10 callersMethodintroduced_by
(&self)
atomic-core/src/types/edge_kind.rs:321
↓ 10 callersMethodis_file
Check if this format is a single file.
atomic-repository/src/archive.rs:202
↓ 10 callersMethodis_pub
Check if a node has a `pub` visibility modifier.
atomic-semantic/src/parsers/rust.rs:482
↓ 10 callersMethodis_success
Check if the push was successful (no failures).
atomic-cli/src/commands/push/types.rs:311
↓ 10 callersFunctionis_tracked
Check if a path is tracked. # Arguments `txn` - A transaction (read or write) `path` - The normalized path string
atomic-repository/src/tracking/tree_ops.rs:286
↓ 10 callersMethoditer
(&self)
atomic-core/src/crdt/apply/conflict.rs:566
↓ 10 callersMethodlen
Get the number of collected files.
atomic-core/src/record/workflow/collect.rs:268
↓ 10 callersMethodload_by_name
Load an identity by name.
atomic-identity/src/store.rs:518
↓ 10 callersMethodload_remotes
Load remote configuration for this repository. # Returns The remote configuration, which may be empty if no remotes are configured. # Errors Retur
atomic-repository/src/repository/remotes.rs:26
↓ 10 callersFunctionmake_inode
Helper to create a test inode.
atomic-core/tests/inode_graph_test.rs:28
↓ 10 callersFunctionmake_vertex
Helper to create a test span.
atomic-core/tests/inode_graph_test.rs:19
↓ 10 callersMethodoperation
(&self)
atomic-core/src/change/ops.rs:573
↓ 10 callersFunctionprint_blank
Print a blank line for visual separation.
atomic-cli/src/output/mod.rs:181
↓ 10 callersMethodput_embedding
( &mut self, path: &str, chunk_idx: u32, record: &EmbeddingRecord, )
atomic-core/src/pristine/txn/write/embeddings.rs:171
↓ 10 callersMethodroot
(&self)
atomic-repository/src/repository/mod.rs:547
↓ 10 callersMethodrun
Execute the init command. This method: 1. Resolves and validates the target path 2. Validates the view name 3. Creates the directory if it doesn't ex
atomic-cli/src/commands/init.rs:495
↓ 10 callersMethodsave_change
Save a change to the repository. The change is serialized and written to the `.atomic/changes/` directory using a content-addressed two-level directo
atomic-repository/src/repository/changes.rs:87
↓ 10 callersFunctionsave_learnings_to_context_file
Save learnings to the agent's context file. If the file doesn't exist, creates it with the learnings section. If the file exists but has no learnings
atomic-agent/src/learnings.rs:362
↓ 10 callersFunctiontest_trunk_id
()
atomic-core/src/diff/semantic_to_crdt.rs:616
↓ 10 callersFunctiontest_trunk_id
()
atomic-core/src/change/ops.rs:813
↓ 10 callersFunctionto_agent_trace_record
Convert a [`ProvenanceGraph`] into a [`TraceRecord`] suitable for appending to `.agent-trace/traces.jsonl`. `root` is the repository root used for co
atomic-agent/src/export.rs:184
↓ 10 callersMethodto_bytes
Serialize to a compact binary blob via postcard.
atomic-core/src/change/session.rs:136
↓ 10 callersMethoduntracked
Iterate over untracked files.
atomic-repository/src/status.rs:542
↓ 10 callersMethodvault_index_kg
Extract and store KG data for a vault entry in one step.
atomic-repository/src/repository/vault_triples.rs:117
↓ 10 callersMethodwith_change_filter
Set a change filter for view-aware output.
atomic-core/src/output/repo/repository/types.rs:85
↓ 10 callersMethodwith_view
Builder: set the initial view name.
atomic-cli/src/commands/init.rs:357
↓ 10 callersMethodwrite_file
Open a file for writing, creating it if necessary.
atomic-core/src/output/filesystem/mod.rs:290
↓ 10 callersMethodwrite_to
Write this header to a writer. Writes exactly 64 bytes. # Errors Returns an I/O error if the write fails.
atomic-core/src/change/format_v3/types/header.rs:328
↓ 9 callersFunctionadd_to_tree
Add a single file to tracking. This is the low-level function that actually modifies the database. It does NOT check if the file exists on disk or is
atomic-repository/src/tracking/tree_ops.rs:30
↓ 9 callersMethodadvance
(&mut self)
atomic-core/src/diff/token/tokenizer.rs:186
↓ 9 callersMethodappend_patch_proposal
Append a patch proposal node (change recorded). Returns the new node's ID.
atomic-agent/src/provenance/accumulator/append.rs:203
↓ 9 callersMethodas_str
(&self)
atomic-core/src/diff/token/token_type.rs:108
↓ 9 callersFunctionatomic
Run `atomic <args>` inside `dir`.
atomic-cli/tests/restore_integration_test.rs:17
↓ 9 callersMethodbegin_conflict
( &mut self, id: usize, changes: Option<&[Hash]>, )
atomic-core/src/output/repo/writer.rs:416
↓ 9 callersMethodbranch_id
(&self)
atomic-core/src/change/ops.rs:567
↓ 9 callersFunctioncollect_visible_change_ids
Collect all change `NodeId`s visible from a view, including parent views. For **draft** views this walks the full overlay chain (other draft ancestor
atomic-repository/src/repository/filter.rs:53
↓ 9 callersFunctioncreate_test_store
()
atomic-identity/src/store.rs:777
↓ 9 callersMethoddb
Get a reference to the underlying database.
atomic-repository/src/redb_change_store/mod.rs:211
↓ 9 callersMethoddel_tree
(&mut self, path: &str)
atomic-core/src/pristine/txn/write/mod.rs:889
↓ 9 callersMethoddelete
Create a Delete operation.
atomic-core/src/diff/ops.rs:132
↓ 9 callersFunctiondeserialize_edge
(bytes: &[u8; 24])
atomic-core/src/pristine/txn/helpers.rs:36
↓ 9 callersFunctiondiff
Compute the diff between two sequences of lines. This is the main entry point for diffing. It takes two slices of [`Line`]s and returns a [`DiffResul
atomic-core/src/diff/mod.rs:172
↓ 9 callersFunctiondiff_snapshots
Diff two snapshots to produce a `TurnChanges`.
atomic-agent/src/watcher/fallback.rs:125
↓ 9 callersFunctionencode_branch_value
(data: &SerializedBranch)
atomic-core/src/crdt/tables.rs:541
↓ 9 callersFunctionencode_leaf_value
(data: &SerializedLeaf)
atomic-core/src/crdt/tables.rs:633
↓ 9 callersFunctionexecute_plan
Execute a query plan against a repository.
atomic-repository/src/query_plan.rs:143
↓ 9 callersFunctionexplicit_empty
()
atomic-core/src/pristine/tables.rs:200
↓ 9 callersMethodfind_block_in_inode
( &self, inode: Inode, pos: Position<NodeId>, )
atomic-core/src/pristine/txn/read.rs:1590
↓ 9 callersMethodfinish
(self)
atomic-repository/src/archive.rs:765
↓ 9 callersMethodformat
Builder: set format.
atomic-cli/src/commands/log/command.rs:642
↓ 9 callersMethodget_change
(&self, hash: &Hash)
atomic-core/src/change/store.rs:418
↓ 9 callersFunctionget_inode
Get the inode for a tracked path. # Arguments `txn` - A transaction (read or write) `path` - The normalized path string
atomic-repository/src/tracking/tree_ops.rs:299
↓ 9 callersMethodget_leaf
(&self, id: LeafId)
atomic-core/src/crdt/apply/leaf.rs:565
↓ 9 callersMethodindex
(&self, id: VertexId)
atomic-core/src/output/alive/graph.rs:409
↓ 9 callersMethodis_root
Check if this is the repository root.
atomic-core/src/record/item.rs:669
↓ 9 callersFunctioniter_trunk_branches_in_file_order
Returns this trunk's branches in **file order** — top-of-file first. Iteration over `TRUNK_BRANCHES` alone returns branches in `(change_id, branch_id
atomic-core/src/crdt/queries.rs:43
↓ 9 callersMethodlen
Get the number of entries (files + directories).
atomic-core/src/output/memory.rs:431
↓ 9 callersFunctionmake_leaf
()
atomic-core/src/crdt/leaf.rs:510
↓ 9 callersFunctionmake_record
(dims: usize, chunk: u32)
atomic-core/src/pristine/txn/write/embeddings.rs:242
↓ 9 callersFunctionnow_secs
()
atomic-cli/src/commands/agent/lifecycle.rs:590
↓ 9 callersMethodoptions
(&self)
atomic-core/src/crdt/apply/context.rs:450
← previousnext →401–500 of 14,266, ranked by callers