Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ functions
Functions
14,282 in github.com/atomicdotdev/atomic
⨍
Functions
14,282
◇
Types & classes
1,144
↓ 2 callers
Method
paths
Get paths of all collected files.
atomic-core/src/record/workflow/collect.rs:278
↓ 2 callers
Function
patience_diff_recursive
Recursively apply patience diff to a region. # Arguments `old` - Slice of the old sequence for this region `new` - Slice of the new sequence for thi
atomic-core/src/diff/patience.rs:108
↓ 2 callers
Method
peek
Read an entry without updating its access time. This is safe to call with only a shared reference (`&self`), making it suitable for use behind a `RwL
atomic-repository/src/changestore/cache.rs:69
↓ 2 callers
Method
peek_at
(&self, offset: usize)
atomic-core/src/diff/token/tokenizer.rs:180
↓ 2 callers
Method
pop_stack
(&mut self)
atomic-core/src/output/alive/vertex.rs:381
↓ 2 callers
Method
populate_file_index
Populate the file index for all tracked files after a materialize. Stats each tracked file from disk and stores its mtime + size + content hash in th
atomic-repository/src/repository/materialize.rs:582
↓ 2 callers
Method
position
(&self, id: &Id)
atomic-core/src/crdt/apply/order.rs:434
↓ 2 callers
Method
post_empty
POST with no request body, unwrap `ApiResponse` envelope.
atomic-remote/src/storage.rs:128
↓ 2 callers
Method
preserve_unchanged
Set whether to preserve unchanged tokens.
atomic-core/src/diff/semantic_to_crdt.rs:122
↓ 2 callers
Function
preview
Generate a short preview for [`ToolTraceEntry`].
atomic-repository/src/ai/tools.rs:1161
↓ 2 callers
Method
print_change_file_diffs
( &self, change: &Change, change_hash: &Hash, config: &DiffOutputConfig,
atomic-cli/src/commands/diff/helpers.rs:260
↓ 2 callers
Method
print_changes
Print changes covered.
atomic-cli/src/commands/agent/attest.rs:519
↓ 2 callers
Function
print_dump_context
(dumped: &[DumpedBranchLine], expected_lines: &[&str], center: usize)
atomic-repository/tests/content_roundtrip_fidelity_test.rs:1529
↓ 2 callers
Function
print_highlighted_line
Print a line with highlighted hunks
atomic-core/examples/word_diff_demo.rs:96
↓ 2 callers
Method
print_models
Print model breakdown.
atomic-cli/src/commands/agent/attest.rs:512
↓ 2 callers
Method
print_summary
Print a one-line summary of an attestation.
atomic-cli/src/commands/agent/attest.rs:490
↓ 2 callers
Method
prompt_hash
(mut self, hash: [u8; 32])
atomic-agent/src/envelope.rs:516
↓ 2 callers
Method
prompt_hash_from_text
(mut self, prompt: &str)
atomic-agent/src/envelope.rs:523
↓ 2 callers
Method
provenance
Get a reference to the provenance information.
atomic-core/src/change/change.rs:238
↓ 2 callers
Function
provision_working_tree
Clone a working tree from `src` to `dest`, one file at a time, reflinking where possible. Skips the `.atomic/` graph directory.
atomic-repository/src/repository/sandbox.rs:342
↓ 2 callers
Method
push_child
Push a child entry to the children array. This should be called while building a span's child list. Don't forget to push the sentinel `(None, VertexI
atomic-core/src/output/alive/graph.rs:200
↓ 2 callers
Method
push_stack
(&mut self)
atomic-core/src/output/alive/vertex.rs:375
↓ 2 callers
Method
put_crdt_path_trunk
(&mut self, path: &str, trunk_key: &[u8; 12])
atomic-core/src/pristine/txn/write/mod.rs:1065
↓ 2 callers
Method
put_file_index
( &mut self, path: &str, mtime_secs: i64, mtime_nanos: u32, file_size:
atomic-core/src/pristine/txn/write/mod.rs:904
↓ 2 callers
Method
put_graph
( &mut self, node: GraphNode<NodeId>, edge: SerializedGraphEdge, )
atomic-core/src/apply/graph_batch.rs:74
↓ 2 callers
Function
read_json_object
(path: &Path)
atomic-agent/src/hooks/manifest.rs:211
↓ 2 callers
Function
read_layer_entries
Read all entries (path, bytes) from a gzipped tar layer.
atomic-repository/src/oci.rs:330
↓ 2 callers
Function
read_manifest
(path: &Path)
atomic-agent/src/hooks/manifest.rs:179
↓ 2 callers
Function
reassemble_tokens
Reassemble a token sequence into raw bytes.
atomic-core/src/merge/three_way.rs:411
↓ 2 callers
Method
record_all
Record all changes with a message. This is a convenience method that records all modified files. # Arguments `message` - The change message # Exam
atomic-repository/src/repository/record.rs:1001
↓ 2 callers
Method
record_applied
Record a successfully applied change. # Example ```rust use atomic::commands::pull::types::PullStats; let mut stats = PullStats::new(); stats.recor
atomic-cli/src/commands/pull/types.rs:389
↓ 2 callers
Method
record_branch_deleted
(&mut self)
atomic-core/src/crdt/apply/context.rs:553
↓ 2 callers
Method
record_branch_restored
(&mut self)
atomic-core/src/crdt/apply/context.rs:559
↓ 2 callers
Method
record_change_downloaded
Record a successfully downloaded change. Increments the download counter and adds the bytes to the transfer total. # Arguments `bytes` - The size o
atomic-cli/src/commands/clone/types.rs:331
↓ 2 callers
Method
record_error
Record an error.
atomic-core/src/record/workflow/assembly/helpers.rs:61
↓ 2 callers
Method
record_failed
Record a failed download. # Example ```rust use atomic::commands::clone::types::CloneStats; let mut stats = CloneStats::new(); stats.record_failed(
atomic-cli/src/commands/clone/types.rs:349
↓ 2 callers
Method
record_failed
Record a failed download. # Example ```rust use atomic::commands::pull::types::PullStats; let mut stats = PullStats::new(); stats.record_failed();
atomic-cli/src/commands/pull/types.rs:371
↓ 2 callers
Method
record_leaf_deleted
(&mut self)
atomic-core/src/crdt/apply/context.rs:571
↓ 2 callers
Method
record_leaf_inserted
(&mut self)
atomic-core/src/crdt/apply/context.rs:565
↓ 2 callers
Method
record_leaf_replaced
(&mut self)
atomic-core/src/crdt/apply/context.rs:577
↓ 2 callers
Method
record_leaf_restored
(&mut self)
atomic-core/src/crdt/apply/context.rs:583
↓ 2 callers
Method
record_redundant_edges
Record redundant edges found during output. # Arguments `count` - Number of redundant edges to add
atomic-core/src/output/repo/outcome.rs:279
↓ 2 callers
Method
record_skipped
Record that a file was skipped.
atomic-core/src/record/detect.rs:635
↓ 2 callers
Method
record_skipped
Record a skipped item.
atomic-core/src/output/repo/tree.rs:706
↓ 2 callers
Method
record_skipped
Record that a file was skipped.
atomic-core/src/output/repo/repository/mod.rs:118
↓ 2 callers
Method
record_tag_downloaded
Record a successfully downloaded tag.
atomic-cli/src/commands/clone/types.rs:140
↓ 2 callers
Method
record_tag_downloaded
Record a successfully downloaded tag.
atomic-cli/src/commands/pull/types.rs:416
↓ 2 callers
Method
record_trunk_deleted
(&mut self)
atomic-core/src/crdt/apply/context.rs:529
↓ 2 callers
Method
record_trunk_moved
(&mut self)
atomic-core/src/crdt/apply/context.rs:535
↓ 2 callers
Method
record_trunk_undeleted
(&mut self)
atomic-core/src/crdt/apply/context.rs:541
↓ 2 callers
Function
remove_atomic_hooks
(hooks: &mut Map<String, Value>)
atomic-agent/src/hooks/codex.rs:468
↓ 2 callers
Function
remove_atomic_section
Remove the atomic:git:begin..end section from a hook file. Returns Ok(true) if something was removed.
atomic-cli/src/commands/git/hooks.rs:190
↓ 2 callers
Method
remove_path
(&self, _path: &str, _recursive: bool)
atomic-core/src/output/traits.rs:596
↓ 2 callers
Function
remove_prefixed
Remove hook entries whose command contains `prefix`. Handles both nested (`{matcher?, hooks: [{command}]}`) and flat (`{command}`/`{bash}`) shapes. Em
atomic-agent/src/hooks/manifest.rs:279
↓ 2 callers
Function
renamed
Format renamed content in cyan. Use this for renamed files or moved content.
atomic-cli/src/output/colors.rs:497
↓ 2 callers
Function
render_atomic_install_value
Render an `ATOMIC_INSTALL=...` value suitable for embedding in a shell snippet. When the directory equals `$HOME/.local/bin` literally we keep the pre
atomic-cli/src/commands/update.rs:344
↓ 2 callers
Function
render_entry_to_markdown
Render a vault entry to a markdown string with YAML frontmatter. The frontmatter is constructed from: 1. The entry's `frontmatter_json` fields (user-
atomic-repository/src/repository/vault.rs:657
↓ 2 callers
Method
render_with_ansi
Internal helper to render content with ANSI codes.
atomic-core/src/diff/inline.rs:497
↓ 2 callers
Method
render_with_html
Internal helper to render content with HTML.
atomic-core/src/diff/inline.rs:535
↓ 2 callers
Method
repo_root
Returns the repository root path.
atomic-agent/src/watcher/fallback.rs:211
↓ 2 callers
Function
repo_with_recorded_file
Initialize a repository at `root` and record+apply a single file on the default `dev` view, returning the opened repository.
atomic-repository/src/repository/sandbox.rs:418
↓ 2 callers
Method
request_id
Set request ID.
atomic-core/src/change/provenance/builder.rs:143
↓ 2 callers
Function
require_repository
Open a repository or return a user-friendly error. This is a convenience wrapper around [`open_repository`] that provides more context in error messa
atomic-cli/src/commands/mod.rs:361
↓ 2 callers
Method
requires_user_action
(&self)
atomic-core/src/crdt/apply/conflict.rs:123
↓ 2 callers
Method
resolve_human_gate
Mark a human gate as resolved. Updates the gate node's detail and clears the pending gate state. The next node appended after this will get a `Resume
atomic-agent/src/provenance/accumulator/append.rs:300
↓ 2 callers
Function
resolve_identity
Resolve a flexible identity reference to a UUID. Accepts: - A UUID string (passed through directly) - An email address (contains `@` — resolved via s
atomic-cli/src/commands/client.rs:292
↓ 2 callers
Function
resolve_inode
Resolve an inode position to an actual Inode value. Given a position referencing a file's inode span, looks up the actual Inode value from the positi
atomic-core/src/apply/position.rs:167
↓ 2 callers
Function
resolve_llm_provider
Resolve the best available LLM provider from environment.
atomic-repository/src/ai/mod.rs:105
↓ 2 callers
Function
resolve_org
Resolve the org slug using the legacy (single-server) config path. Kept for callers that don't yet pass a server override.
atomic-cli/src/commands/client.rs:179
↓ 2 callers
Function
resolve_path_to_inode
Resolve a file path to its inode. This function looks up the stable file identifier (inode) for a given path in the repository tree. # Arguments `c
atomic-core/src/record/workflow/globalize/resolve.rs:24
↓ 2 callers
Method
restore
Restores a deleted leaf to alive.
atomic-core/src/crdt/leaf.rs:246
↓ 2 callers
Function
retrieve_content
Retrieve content from the pristine graph. This is the main entry point for retrieving file content from the graph. It handles the full pipeline of re
atomic-core/src/record/workflow/retrieve.rs:200
↓ 2 callers
Function
retrieve_content_with_filter_and_fork_info
Retrieve content with a change filter, also reporting whether retrieval had to resolve fork/cyclic structure to produce it. Like [`retrieve_content_w
atomic-core/src/record/workflow/retrieve.rs:390
↓ 2 callers
Function
retrieve_content_with_filter_fast_with_fork_info
Like [`retrieve_content_with_filter_fast`], but also reports whether retrieval had to resolve fork/cyclic structure to produce the content. The inode
atomic-repository/src/repository/content.rs:867
↓ 2 callers
Method
reverse
Builder: set reverse order.
atomic-cli/src/commands/log/command.rs:669
↓ 2 callers
Method
reverse_log
Get a reverse history log (most recent first). # Arguments `options` - Options controlling the history query # Returns A vector of history entries
atomic-repository/src/repository/history.rs:99
↓ 2 callers
Method
root
Get the root directory path.
atomic-core/src/output/filesystem/mod.rs:59
↓ 2 callers
Method
run
(&self)
atomic-cli/src/commands/workspace/set.rs:89
↓ 2 callers
Method
run
(&self)
atomic-cli/src/commands/project/update.rs:78
↓ 2 callers
Method
run_push
Execute stash push (save changes).
atomic-cli/src/commands/stash.rs:399
↓ 2 callers
Method
salt
Set the salt for name conflict resolution.
atomic-core/src/output/repo/repository/types.rs:127
↓ 2 callers
Function
sample_intent_entry
()
atomic-core/src/change/session.rs:288
↓ 2 callers
Method
save_accumulator
Save the provenance accumulator for a session. Best-effort: failures are logged but never fatal.
atomic-agent/src/turn/orchestrator/provenance.rs:134
↓ 2 callers
Method
save_with_keypair
Save an identity with its secret key.
atomic-identity/src/store.rs:415
↓ 2 callers
Method
save_with_secret
Save an identity with optional secret key.
atomic-identity/src/store.rs:425
↓ 2 callers
Method
seal
Produce a single-layer (flattened) OCI image of the full merged state of `view`. Because a draft view sees its entire parent chain, the materialized
atomic-repository/src/repository/sandbox.rs:309
↓ 2 callers
Method
search_embeddings
( &self, query_vector: &[f32], top_k: usize, )
atomic-core/src/pristine/txn/write/embeddings.rs:115
↓ 2 callers
Method
semantic_sections
Read only SEMANTIC sections, skipping everything else. This is the "thin review" pattern: read only the display/analysis layer for code review, diff
atomic-core/src/change/format_v3/reader/sections.rs:363
↓ 2 callers
Function
serialize_graph_edge
(edge: &SerializedGraphEdge)
atomic-core/src/apply/graph_batch.rs:360
↓ 2 callers
Method
session_started_at
(mut self, ts: i64)
atomic-agent/src/envelope.rs:481
↓ 2 callers
Method
setModel
* Update the model and provider for a session. * * Called from the `chat.message` hook when model info is available. * Only updates fields th
packages/opencode-atomic-hooks/src/session.ts:122
↓ 2 callers
Method
setPrompt
* Store the most recent user prompt for a session. * * Called from the `chat.message` hook. Only updates if `prompt` * is a non-empty string.
packages/opencode-atomic-hooks/src/session.ts:130
↓ 2 callers
Method
set_bytes_added
Set bytes added.
atomic-core/src/record/workflow/globalize/file.rs:48
↓ 2 callers
Method
set_content_range
Set the content range (byte positions in the change content buffer). This is called during globalization to link the CRDT branch to its corresponding
atomic-core/src/change/ops.rs:539
↓ 2 callers
Method
set_current_hash
Set the current content hash.
atomic-repository/src/status.rs:373
↓ 2 callers
Method
set_default
Set a remote as the default. # Arguments `name` - The name of the remote to set as default # Errors Returns an error if the remote doesn't exist.
atomic-repository/src/remote.rs:575
↓ 2 callers
Method
set_dependency_count
Set dependency count.
atomic-core/src/record/workflow/globalize/file.rs:53
↓ 2 callers
Method
set_details
Set additional details.
atomic-repository/src/status.rs:378
↓ 2 callers
Method
set_edges
(&mut self, edges: Vec<SerializedGraphEdge>)
atomic-core/src/pristine/inode_graph/types.rs:212
↓ 2 callers
Method
set_flags
(&mut self, flags: VertexFlags)
atomic-core/src/output/alive/vertex.rs:327
← previous
next →
2,101–2,200 of 14,282, ranked by callers