Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ functions
Functions
15,497 in github.com/atomicdotdev/atomic
⨍
Functions
15,497
◇
Types & classes
1,261
↓ 12 callers
Method
register
Register a new agent adapter. If an agent with the same name is already registered, the new one replaces it.
atomic-agent/src/hooks/mod.rs:345
↓ 12 callers
Function
render_for
(args: &[&str])
atomic-cli/src/agent_error.rs:746
↓ 12 callers
Method
root
(&self)
atomic-repository/src/repository/mod.rs:563
↓ 12 callers
Method
save_provenance_graph
Save a provenance graph to the repository. Serializes the graph to disk, registers it in the pristine database with `node_type::PROVENANCE`, and reco
atomic-repository/src/repository/changes.rs:1040
↓ 12 callers
Method
set
(&mut self, flag: u32)
atomic-core/src/change/format_v3/types/header.rs:79
↓ 12 callers
Method
state
(&self)
atomic-core/src/crdt/leaf.rs:205
↓ 12 callers
Method
timestamp
Set the timestamp (Unix epoch seconds). Defaults to now.
atomic-core/src/change/provenance_graph/builder.rs:162
↓ 12 callers
Method
to_bytes
(&self)
atomic-core/src/crdt/ids.rs:90
↓ 12 callers
Method
to_bytes
(&self)
atomic-core/src/change/session.rs:202
↓ 12 callers
Method
write_semantic_section
Write a SEMANTIC section for a single file. Each modified file can have one SEMANTIC section containing its Trunk/Branch/Leaf operations for code rev
atomic-core/src/change/format_v3/writer/sections.rs:66
↓ 11 callers
Method
add_directory
Add a directory. # Example ```rust use atomic_core::output::{Memory, WorkingCopyRead}; let wc = Memory::new(); wc.add_directory("src/utils"); asse
atomic-core/src/output/memory.rs:339
↓ 11 callers
Method
add_line_op
Adds a line operation.
atomic-core/src/record/workflow/crdt/builder/trunk.rs:87
↓ 11 callers
Method
add_line_op
Adds a line operation.
atomic-core/src/change/ops.rs:217
↓ 11 callers
Method
allow_duplicate_ids
(&self)
atomic-core/src/crdt/apply/options.rs:302
↓ 11 callers
Method
as_str
Convert to string representation for storage
atomic-semantic/src/entity.rs:38
↓ 11 callers
Function
attested_base
A minimal, fully attested Intent that conforms — the base for mutation.
atomic-canonical/src/gate.rs:364
↓ 11 callers
Function
compare_content
Compare two content blobs and produce a diff. This is the main entry point for content comparison. It handles: - Encoding detection for both contents
atomic-core/src/record/workflow/compare.rs:337
↓ 11 callers
Function
condense_claude_transcript
Parse a Claude Code JSONL transcript into condensed entries. Reads each line as JSON, extracts user prompts, assistant text responses, and tool calls
atomic-agent/src/transcript/condense.rs:34
↓ 11 callers
Method
contents_chunks
Set the number of content chunks.
atomic-core/src/change/format_v3/types/builder.rs:82
↓ 11 callers
Function
convert_remote_error
Convert a remote error to a CLI error. Maps the various remote error types to appropriate CLI error types with user-friendly messages and suggestions
atomic-cli/src/commands/pull/helpers.rs:243
↓ 11 callers
Function
crdt_output
(repo: &Repository, path: &str)
atomic-repository/tests/content_roundtrip_fidelity_test.rs:1400
↓ 11 callers
Method
crdt_stats
(&self)
atomic-core/src/record/workflow/record/types.rs:418
↓ 11 callers
Function
create_progress_bar
Create a progress bar for operations with known total. Use this when you know ahead of time how many items will be processed or how many bytes will b
atomic-cli/src/output/progress.rs:118
↓ 11 callers
Function
create_test_change
Create a simple test change with the given message.
atomic-repository/src/changestore/tests.rs:25
↓ 11 callers
Function
create_test_entry_with_header
()
atomic-cli/src/commands/log/tests.rs:406
↓ 11 callers
Function
create_test_trunk
(txn: &mut MockTxn, node_id: u64)
atomic-core/src/crdt/apply/branch.rs:675
↓ 11 callers
Method
delete
Create a Delete operation.
atomic-core/src/diff/ops.rs:132
↓ 11 callers
Function
did_for_public_key
Build the `did:atomic:...` identifier for a public key.
atomic-canonical/src/did.rs:29
↓ 11 callers
Method
expand_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 callers
Function
frontmatter
()
atomic-canonical/tests/roundtrip.rs:21
↓ 11 callers
Method
get_session_ledger
Read the Atomic-native indexed ledger for a session. Unlike `find_provenance_for_session`, this reads only the session index and turn records; it doe
atomic-repository/src/repository/changes.rs:1274
↓ 11 callers
Method
has_modifier
Check if a node has a specific modifier (public, private, static, final, abstract, etc.).
atomic-semantic/src/parsers/java.rs:554
↓ 11 callers
Function
init_repo
(repo_dir: &Path, home_dir: &Path)
atomic-cli/tests/session_integration_test.rs:39
↓ 11 callers
Method
insert
(old_index: usize, new_start: usize, new_len: usize)
atomic-core/src/record/workflow/graph_op/pending.rs:68
↓ 11 callers
Method
introduced_by
(&self)
atomic-core/src/types/edge_kind.rs:321
↓ 11 callers
Method
is_empty
(&self)
atomic-core/src/record/workflow/record/types.rs:467
↓ 11 callers
Method
iter_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 callers
Function
lift_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 callers
Method
load_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 callers
Function
make_envelope
()
atomic-agent/src/envelope.rs:578
↓ 11 callers
Function
make_forward_edge
(kind: EdgeKind, introduced_by: u64)
atomic-core/src/output/alive/retrieve/tests.rs:74
↓ 11 callers
Method
max_operations
(&self)
atomic-core/src/crdt/apply/options.rs:314
↓ 11 callers
Method
nodes
All nodes in insertion order.
atomic-agent/src/provenance/accumulator/mod.rs:257
↓ 11 callers
Method
ops
Get the operations as a slice.
atomic-core/src/diff/ops.rs:465
↓ 11 callers
Method
org_slug
The org slug this client is scoped to.
atomic-remote/src/storage.rs:104
↓ 11 callers
Method
put_directory
(&mut self, inode: Inode, flags: u8)
atomic-core/src/pristine/txn/write/mod.rs:1557
↓ 11 callers
Function
record_modified_file
( working_copy: &W, detected: &DetectedFile, old_content: &[u8], crdt_old_content: Option<&[u8
atomic-core/src/record/workflow/record/mod.rs:368
↓ 11 callers
Method
root
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 callers
Method
semantic_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 callers
Method
set
(mut self, k: &str, v: &str)
atomic-cli/src/commands/update.rs:595
↓ 11 callers
Function
test_change_id
()
atomic-core/src/diff/semantic_to_crdt.rs:612
↓ 11 callers
Function
test_hash
()
atomic-core/src/apply/change.rs:241
↓ 11 callers
Method
turn_duration_ms
(mut self, ms: u64)
atomic-agent/src/envelope.rs:502
↓ 11 callers
Function
turn_end_event
(session_id: &str)
atomic-agent/src/turn/orchestrator/tests.rs:34
↓ 11 callers
Method
vault_intent_show
Show an intent's full content.
atomic-repository/src/repository/vault_intent.rs:488
↓ 11 callers
Method
view
(mut self, view: impl Into<String>)
atomic-repository/src/record/options.rs:185
↓ 11 callers
Method
with_detail
Set the detail field.
atomic-agent/src/provenance/types.rs:305
↓ 11 callers
Method
with_files
Builder: set files to restore.
atomic-cli/src/commands/restore.rs:131
↓ 10 callers
Method
add_hunk
Add a graph_op to this diff.
atomic-cli/src/commands/diff/types.rs:612
↓ 10 callers
Method
add_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 callers
Method
alloc_inode
(&mut self)
atomic-core/src/crdt/apply/leaf.rs:614
↓ 10 callers
Method
analyze
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 callers
Method
build_options
Build RecordOptions from command-line arguments.
atomic-cli/src/commands/record/provenance.rs:168
↓ 10 callers
Method
build_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 callers
Function
build_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 callers
Method
change_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 callers
Method
change_store
Return a reference to the underlying change store.
atomic-core/src/merge/engine.rs:63
↓ 10 callers
Function
command
Format a command or code snippet in bold cyan. Use this for displaying commands the user should run. # Arguments `text` - The command to format #
atomic-cli/src/output/colors.rs:490
↓ 10 callers
Function
compute_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 callers
Function
conflict
Format conflict content in bold red. Use this for conflict markers or conflicted file indicators.
atomic-cli/src/output/colors.rs:504
↓ 10 callers
Method
convert_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 callers
Method
convert_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 callers
Method
count
Get the number of changes unrecorded.
atomic-repository/src/unrecord.rs:299
↓ 10 callers
Method
create_tag
Create a named tag on the current view at the current sequence.
atomic-repository/src/repository/tags.rs:26
↓ 10 callers
Function
create_test_change
()
atomic-cli/src/commands/change/tests.rs:353
↓ 10 callers
Function
create_test_file_add_hunk
Create a simple test FileAdd graph_op
atomic-core/src/record/builder.rs:1010
↓ 10 callers
Function
decode_inode_vertex
(key: &[u8; 32])
atomic-core/src/pristine/tables.rs:853
↓ 10 callers
Method
del_tree
(&mut self, path: &str)
atomic-core/src/pristine/txn/write/mod.rs:1410
↓ 10 callers
Method
email
Set the email address.
atomic-identity/src/identity.rs:420
↓ 10 callers
Function
encode_leaf_id
(id: &LeafId)
atomic-core/src/crdt/tables.rs:310
↓ 10 callers
Method
extract
(&mut self, source: &str, file_path: &str)
atomic-semantic/src/parsers/swift.rs:644
↓ 10 callers
Method
fail_on_conflict
(&self)
atomic-core/src/crdt/apply/options.rs:296
↓ 10 callers
Method
format
Builder: set format.
atomic-cli/src/commands/log/command.rs:646
↓ 10 callers
Function
format_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 callers
Method
hash
(&self)
atomic-repository/src/record/assemble.rs:249
↓ 10 callers
Function
hash_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 callers
Method
init_embeddings
(&mut self)
atomic-core/src/pristine/txn/write/embeddings.rs:227
↓ 10 callers
Method
is_file
Check if this is a file. # Returns `true` if this item represents a file.
atomic-core/src/output/repo/tree.rs:559
↓ 10 callers
Method
is_pub
Check if a node has a `pub` visibility modifier.
atomic-semantic/src/parsers/rust.rs:482
↓ 10 callers
Method
is_shared
(self)
atomic-core/src/pristine/traits/view.rs:67
↓ 10 callers
Method
is_success
Check if the push was successful (no failures).
atomic-cli/src/commands/push/types.rs:311
↓ 10 callers
Function
is_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 callers
Method
iter
(&self)
atomic-core/src/crdt/apply/conflict.rs:566
↓ 10 callers
Method
json
The machine-consumable JSON token.
atomic-cli/src/commands/intent/list.rs:80
↓ 10 callers
Method
len
Get the number of collected files.
atomic-core/src/record/workflow/collect.rs:268
↓ 10 callers
Method
load_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 callers
Function
make_inode
Helper to create a test inode.
atomic-core/tests/inode_graph_test.rs:28
↓ 10 callers
Function
make_vertex
Helper to create a test span.
atomic-core/tests/inode_graph_test.rs:19
↓ 10 callers
Method
operation
(&self)
atomic-core/src/change/ops.rs:573
↓ 10 callers
Method
path
Get a reference to the guarded path.
atomic-cli/src/commands/clone/helpers.rs:292
← previous
next →
401–500 of 15,497, ranked by callers