MCPcopy Create free account

hub / github.com/atomicdotdev/atomic / functions

Functions14,765 in github.com/atomicdotdev/atomic

↓ 11 callersMethodexpand_graph_op
Convert a [`CompactGraphOp`] to a `GraphOp<Option<Hash>>`. This is the main entry point for expanding a compact graph operation after deserialization
atomic-core/src/change/format_v3/compact/convert.rs:181
↓ 11 callersMethodfile_ops
Get a reference to the file operations.
atomic-core/src/change/change.rs:218
↓ 11 callersFunctionfrontmatter
()
atomic-canonical/tests/roundtrip.rs:21
↓ 11 callersMethodhas_modifier
Check if a node has a specific modifier (public, private, static, final, abstract, etc.).
atomic-semantic/src/parsers/java.rs:554
↓ 11 callersMethodinto_inner
Consume this writer and return the underlying writer.
atomic-core/src/output/traits.rs:651
↓ 11 callersMethodis_empty
(&self)
atomic-core/src/record/workflow/record/types.rs:467
↓ 11 callersMethoditer_changes
Iterate over all change hashes stored on disk. This scans the changes directory and yields the hash of each change file found. The iteration order is
atomic-repository/src/changestore/mod.rs:534
↓ 11 callersFunctionlift_and_attest
Lift an authored intent (frontmatter + body) into a canonical node, attest it (hash + sign) with the given identity, and return the node. The node is
atomic-canonical/src/lib.rs:60
↓ 11 callersMethodlist_tracked_files
List all tracked files in the repository. # Example ```rust,ignore for file in repo.list_tracked_files()? { println!("{}: inode {}", file.path.displ
atomic-repository/src/repository/tracking.rs:508
↓ 11 callersMethodload_meta
Load the metadata for a change. This reads only from CHANGE_META — the cheapest possible read. Useful for `atomic log`, header inspection, dependency
atomic-repository/src/redb_change_store/mod.rs:410
↓ 11 callersFunctionmake_envelope
()
atomic-agent/src/envelope.rs:578
↓ 11 callersFunctionmake_forward_edge
(kind: EdgeKind, introduced_by: u64)
atomic-core/src/output/alive/retrieve/tests.rs:74
↓ 11 callersMethodmax_operations
(&self)
atomic-core/src/crdt/apply/options.rs:314
↓ 11 callersMethodnext
(&mut self)
atomic-core/src/record/workflow/crdt/tokenize/mod.rs:243
↓ 11 callersMethodops
Get the operations as a slice.
atomic-core/src/diff/ops.rs:465
↓ 11 callersMethodorg_slug
The org slug this client is scoped to.
atomic-remote/src/storage.rs:79
↓ 11 callersMethodput_directory
(&mut self, inode: Inode, flags: u8)
atomic-core/src/pristine/txn/write/mod.rs:1036
↓ 11 callersFunctionrecord_modified_file
( working_copy: &W, detected: &DetectedFile, old_content: &[u8], crdt_old_content: Option<&[u8
atomic-core/src/record/workflow/record/mod.rs:365
↓ 11 callersMethodreverse
Create the reverse edge modification. This creates an edge that undoes this modification: - Swaps `previous` and `flag` - Uses the given `introduced_
atomic-core/src/change/atom.rs:417
↓ 11 callersMethodroot
Create a record item for the repository root. This is a special item representing the root directory. # Example ```rust use atomic_core::record::Re
atomic-core/src/record/item.rs:596
↓ 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 callersMethodvault_intent_show
Show an intent's full content.
atomic-repository/src/repository/vault_intent.rs:313
↓ 11 callersMethodview
(mut self, view: impl Into<String>)
atomic-repository/src/record/options.rs:177
↓ 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_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
(&self)
atomic-repository/src/record/assemble.rs:228
↓ 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 callersMethodcount
Get the number of entries yielded so far.
atomic-repository/src/history/iter.rs:66
↓ 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:822
↓ 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_file_content_on_view
Get the recorded content for a tracked file on a specific view. Like `get_file_content`, but reads from the specified view instead of the current vie
atomic-repository/src/repository/content.rs:363
↓ 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:297
↓ 10 callersMethodinit_embeddings
(&mut self)
atomic-core/src/pristine/txn/write/embeddings.rs:227
↓ 10 callersMethodinit_kg
Initialize the knowledge graph tables.
atomic-repository/src/repository/vault_triples.rs:17
↓ 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 is a file. # Returns `true` if this item represents a file.
atomic-core/src/output/repo/tree.rs:559
↓ 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 callersMethodjson
The machine-consumable JSON token.
atomic-cli/src/commands/intent/list.rs:80
↓ 10 callersMethodlen
Get the number of collected files.
atomic-core/src/record/workflow/collect.rs:268
↓ 10 callersFunctionlift_intent
Lift an intent from its frontmatter spine and markdown body.
atomic-canonical/src/lift.rs:39
↓ 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 callersMethodpath
Get a reference to the guarded path.
atomic-cli/src/commands/clone/helpers.rs:292
↓ 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 callersMethodsign
Sign a message
atomic-identity/src/keypair.rs:147
↓ 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:236
↓ 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
← previousnext →401–500 of 14,765, ranked by callers