Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ functions
Functions
14,266 in github.com/atomicdotdev/atomic
⨍
Functions
14,266
◇
Types & classes
1,144
↓ 19 callers
Method
next
(&mut self)
atomic-repository/src/history/iter.rs:74
↓ 19 callers
Method
parse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/pi.rs:320
↓ 19 callers
Method
resolve_path
Resolve a relative path to an absolute path within the root. This method sanitizes the path to prevent directory traversal attacks. # Errors Return
atomic-core/src/output/filesystem/mod.rs:70
↓ 19 callers
Method
sort
Sort entries by path.
atomic-repository/src/archive.rs:538
↓ 19 callers
Method
with_files
Builder: set the files to add.
atomic-cli/src/commands/add.rs:208
↓ 19 callers
Function
write_full_change
Helper: write a full change file with all section types.
atomic-core/src/change/format_v3/reader/tests.rs:132
↓ 18 callers
Method
add_entry
Add a file status entry.
atomic-repository/src/status.rs:479
↓ 18 callers
Function
encode_inode_vertex
(inode: u64, change_id: u64, start: u64, end: u64)
atomic-core/src/pristine/tables.rs:802
↓ 18 callers
Method
extract
(&mut self, source: &str, file_path: &str)
atomic-semantic/src/parsers/rust.rs:590
↓ 18 callers
Method
extract
(&mut self, source: &str, file_path: &str)
atomic-semantic/src/parsers/java.rs:644
↓ 18 callers
Method
graph_section_count
Set the number of GRAPH sections (one per modified file).
atomic-core/src/change/format_v3/types/builder.rs:68
↓ 18 callers
Method
inode_position
(&self, _inode: Inode)
atomic-core/src/record/context.rs:852
↓ 18 callers
Method
is_empty
Returns true if the reasoning is essentially empty (no useful content).
atomic-agent/src/transcript/reasoning.rs:48
↓ 18 callers
Method
len
(&self)
atomic-core/src/crdt/apply/order.rs:316
↓ 18 callers
Function
lines
Helper to create lines from strings
atomic-core/src/diff/myers.rs:198
↓ 18 callers
Method
load_change
Load a change from the repository. If the change is in the cache, it's returned directly. Otherwise, it's loaded from disk, verified, and cached. #
atomic-repository/src/repository/changes.rs:145
↓ 18 callers
Function
make_hash
Helper: make a Hash from a byte pattern.
atomic-core/src/change/format_v3/compact/tests.rs:20
↓ 18 callers
Function
make_hook
()
atomic-agent/src/hooks/kiro.rs:459
↓ 18 callers
Function
make_orchestrator
Create a test orchestrator with a real FallbackWatcher.
atomic-agent/src/turn/orchestrator/tests.rs:15
↓ 18 callers
Function
storage_err
(err: E, context: &str)
atomic-core/src/crdt/apply/error.rs:64
↓ 18 callers
Function
three_way_merge
Perform a three-way merge of token sequences. `base` — the common ancestor's tokens `left` — one side's tokens `right` — the other side's tokens R
atomic-core/src/merge/three_way.rs:99
↓ 18 callers
Method
with_raw_json
(mut self, raw: serde_json::Value)
atomic-agent/src/event.rs:378
↓ 18 callers
Function
with_writer
Helper to create a writer and run a test function, then return the buffer contents
atomic-core/src/output/repo/writer.rs:484
↓ 18 callers
Method
write_file_header
Write the 64-byte file header. This MUST be the first write operation. The header is written uncompressed and is NOT included in the content hash. #
atomic-core/src/change/format_v3/writer/state_machine.rs:217
↓ 18 callers
Function
write_minimal_change
()
atomic-core/src/change/format_v3/reader/tests.rs:9
↓ 17 callers
Method
cmp
(&self, other: &Self)
atomic-core/src/crdt/apply/order.rs:241
↓ 17 callers
Method
create_view
Create a new view. # Arguments `name` - The name of the view to create # Errors Returns an error if: - The view already exists - The database oper
atomic-repository/src/repository/views.rs:68
↓ 17 callers
Function
diff
Compute the diff between two sequences using the LCS-based algorithm. This finds the operations needed to transform `old` into `new`. # Arguments `
atomic-core/src/diff/myers.rs:37
↓ 17 callers
Method
entries
Get all entries.
atomic-repository/src/status.rs:491
↓ 17 callers
Method
extract
(&mut self, source: &str, file_path: &str)
atomic-semantic/src/parsers/go.rs:394
↓ 17 callers
Method
finish
(mut self)
atomic-cli/src/commands/git/parallel.rs:833
↓ 17 callers
Method
iter
Returns an iterator over the selected layers.
atomic-remote/src/streaming/layers.rs:204
↓ 17 callers
Method
log
Get a forward history log for the current view. For **draft** views, only changes that are "new" on this view are returned — inherited changes from a
atomic-repository/src/repository/history.rs:34
↓ 17 callers
Function
make_config
(dir: &TempDir)
atomic-agent/src/watcher/fallback.rs:274
↓ 17 callers
Function
make_hook
()
atomic-agent/src/hooks/sherpa.rs:329
↓ 17 callers
Function
make_store
()
atomic-agent/src/turn/session.rs:691
↓ 17 callers
Method
materialize
Materialize the working copy to match the current view's state. This synchronizes the working copy files with the repository graph state for the curr
atomic-repository/src/repository/materialize.rs:96
↓ 17 callers
Method
next_section
Read the next section, decompressing its payload. Returns `None` if all sections have been read. The returned [`ReadSection`] contains the decompress
atomic-core/src/change/format_v3/reader/sections.rs:113
↓ 17 callers
Function
normalize_path
- Removes trailing slashes - Strips absolute path prefix if it matches repo root - No trailing slash (except for root) - Relative to repository root
atomic-repository/src/tracking/helpers.rs:14
↓ 17 callers
Method
run
Execute the add command. This method: 1. Finds and opens the repository 2. Collects files to add (from arguments or --all) 3. Adds each file to track
atomic-cli/src/commands/add.rs:408
↓ 17 callers
Function
run_consolidate
( nodes: &mut Vec<GraphNode>, edges: &mut Vec<GraphEdge>, stats: &mut GraphStats,
atomic-agent/src/provenance/consolidate.rs:785
↓ 17 callers
Method
start_pos
(&self)
atomic-core/src/types/graph_node.rs:129
↓ 17 callers
Function
test_branch_id
(idx: u32)
atomic-core/src/change/ops.rs:817
↓ 17 callers
Method
vault_materialize
Materialize a single vault entry to disk. Reads the entry from redb and writes it as a markdown file with YAML frontmatter to `.vault/<path>`. # Err
atomic-repository/src/repository/vault.rs:348
↓ 17 callers
Method
with_message
Builder: set the commit message.
atomic-cli/src/commands/record/mod.rs:263
↓ 17 callers
Method
write_graph_section
Write a GRAPH section for a single file. Each modified file in the change gets one GRAPH section containing its graph operations (vertex insertions,
atomic-core/src/change/format_v3/writer/sections.rs:32
↓ 16 callers
Method
add_simple
(&mut self, kind: ConflictKind, description: impl Into<String>)
atomic-core/src/crdt/apply/conflict.rs:541
↓ 16 callers
Method
extract
Parse source code and extract all entities
atomic-semantic/src/parser.rs:44
↓ 16 callers
Method
insert
(old_index: usize, new_start: usize, new_len: usize)
atomic-core/src/record/workflow/graph_op/pending.rs:68
↓ 16 callers
Method
message
(mut self, message: impl Into<String>)
atomic-repository/src/record/options.rs:184
↓ 16 callers
Method
node_text
Get text content of a node
atomic-semantic/src/parser.rs:939
↓ 16 callers
Method
parse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/opencode.rs:394
↓ 16 callers
Function
test_new_vertex
()
atomic-core/src/change/graph_op.rs:659
↓ 16 callers
Method
to_bytes
Serialize this header to a 64-byte array. All multi-byte fields are little-endian. # Examples ```rust use atomic_core::change::format_v3::FileHeade
atomic-core/src/change/format_v3/types/header.rs:244
↓ 16 callers
Method
write_hash_table
Write the hash deduplication table. The hash table is written uncompressed immediately after the file header. Its bytes ARE fed through the blake3 ha
atomic-core/src/change/format_v3/writer/state_machine.rs:245
↓ 15 callers
Method
begin_turn
( &mut self, session_id: &str, )
atomic-agent/src/watcher/fallback.rs:217
↓ 15 callers
Method
build
Build the provenance graph.
atomic-core/src/change/provenance_graph/builder.rs:143
↓ 15 callers
Method
count
Builder: set count limit.
atomic-cli/src/commands/log/command.rs:663
↓ 15 callers
Function
create_test_repo
Create a test repository with a single recorded file.
atomic-repository/tests/state_based_diff_test.rs:42
↓ 15 callers
Function
deserialize_view_state
Deserialize bytes to a ViewState Backward-compatible: if the v2 fields (`kind`, `parent`) are missing (i.e., the data was written by an older version
atomic-core/src/pristine/txn/helpers.rs:87
↓ 15 callers
Method
extract
(&mut self, source: &str, file_path: &str)
atomic-semantic/src/parsers/python.rs:419
↓ 15 callers
Method
get_file_content_after_change
Get file content as it was AFTER a specific change was applied. This method retrieves the content of a file at the state immediately after a change w
atomic-repository/src/repository/content.rs:650
↓ 15 callers
Function
lines
Helper to create lines from strings
atomic-core/src/diff/patience.rs:380
↓ 15 callers
Method
next
(&mut self)
atomic-core/src/pristine/txn/helpers.rs:182
↓ 15 callers
Method
node_text
Get the text content of a node.
atomic-semantic/src/parsers/rust.rs:489
↓ 15 callers
Method
open_or_create_view
(&mut self, name: &str)
atomic-core/src/pristine/txn/write/mod.rs:420
↓ 15 callers
Method
parse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/claude_code/mod.rs:205
↓ 15 callers
Function
parse_plan
Parse a query plan from JSON.
atomic-repository/src/query_plan.rs:452
↓ 15 callers
Method
read_all_sections
Read all remaining sections, returning them as a vector. This is a convenience method that calls [`next_section`](Self::next_section) in a loop until
atomic-core/src/change/format_v3/reader/sections.rs:226
↓ 15 callers
Function
record_added_file
Record a single added file from the working copy. Reads the file content and creates appropriate hunks for a new file. # Arguments `working_copy` -
atomic-core/src/record/workflow/record/mod.rs:216
↓ 15 callers
Function
sample_graph
()
atomic-core/src/change/provenance_graph/tests.rs:84
↓ 15 callers
Method
update
(&mut self, data: &[u8])
atomic-core/src/types/hash.rs:77
↓ 15 callers
Method
with_change_filter
Set a change filter for state-based content retrieval. Only vertices from changes in this set (or ROOT) will be included. This enables retrieving fil
atomic-core/src/output/alive/retrieve/options.rs:126
↓ 15 callers
Method
write_content_chunk
Write a CONTENT chunk. Content is split into chunks (typically via FastCDC). Each chunk is independently compressed and content-addressed by its blak
atomic-core/src/change/format_v3/writer/sections.rs:102
↓ 14 callers
Method
add_row
Add a row to the table. # Arguments `row` - The row data # Returns Self for method chaining. # Example ```rust,ignore table.add_row(vec!["main",
atomic-cli/src/output/table.rs:378
↓ 14 callers
Method
build
Build the identity, generating a keypair if needed.
atomic-identity/src/identity.rs:469
↓ 14 callers
Method
change_id
(&self)
atomic-core/src/crdt/ids.rs:72
↓ 14 callers
Function
create_spinner
Create a spinner for operations with unknown duration. Spinners are used when we don't know how long an operation will take or how much work remains.
atomic-cli/src/output/progress.rs:85
↓ 14 callers
Method
create_view
( &mut self, name: &str, kind: ViewScope, parent: Option<u64>, )
atomic-core/src/pristine/txn/write/mod.rs:444
↓ 14 callers
Method
end_pos
(&self)
atomic-core/src/types/graph_node.rs:141
↓ 14 callers
Method
end_turn
(&mut self)
atomic-agent/src/watcher/fallback.rs:231
↓ 14 callers
Function
get_ignore_template
Get the .atomicignore content for a given project kind. This function returns appropriate ignore patterns for common project types, helping users sta
atomic-cli/src/commands/init.rs:94
↓ 14 callers
Method
get_inode
Get the inode for a file. Returns `None` if the file doesn't exist.
atomic-core/src/output/memory.rs:391
↓ 14 callers
Method
is_empty
Check if the view has any changes.
atomic-repository/src/history/types.rs:357
↓ 14 callers
Method
iter
Iterate over the hunks.
atomic-core/src/record/workflow/graph_op/hunk.rs:472
↓ 14 callers
Method
len
(&self)
atomic-core/src/change/atom.rs:218
↓ 14 callers
Method
line_ops
(&self)
atomic-core/src/change/ops.rs:206
↓ 14 callers
Function
make_agent
()
atomic-core/src/change/attestation.rs:746
↓ 14 callers
Function
make_attestation
()
atomic-core/src/change/attestation.rs:750
↓ 14 callers
Function
make_minimal_envelope
()
atomic-agent/src/envelope.rs:597
↓ 14 callers
Function
make_vertex
(change: u64, start: u64, end: u64)
atomic-core/src/apply/conflict.rs:461
↓ 14 callers
Method
node_text
Get the text content of a node.
atomic-semantic/src/parsers/java.rs:593
↓ 14 callers
Method
parse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/codex.rs:208
↓ 14 callers
Method
run
Execute the diff command. This method: 1. Finds and opens the repository 2. Gets the status of the working copy 3. Computes diffs for modified files
atomic-cli/src/commands/diff/command.rs:219
↓ 14 callers
Method
save
Save global configuration to the default location
atomic-config/src/lib.rs:379
↓ 14 callers
Method
set_state
Sets the leaf's state.
atomic-core/src/crdt/leaf.rs:225
↓ 14 callers
Function
summarize_tool_call
Generate a one-line summary for a tool call node. The summary is human-readable and concise, suitable for display in the provenance graph and compact
atomic-agent/src/provenance/classify.rs:152
↓ 14 callers
Method
tokens
(&self)
atomic-core/src/record/workflow/crdt/tokenize/types.rs:177
↓ 14 callers
Method
update_view
(&mut self, view: &ViewState)
atomic-core/src/pristine/txn/write/mod.rs:793
↓ 14 callers
Method
vault_goal_start
Start a new vault goal. Creates a goal directory under `.vault/goals/` with a `_goal.md` file containing initial metadata. Goal names are Docker-sty
atomic-repository/src/repository/vault_goal.rs:81
← previous
next →
201–300 of 14,266, ranked by callers