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
↓ 20 callers
Method
insert
Insert a change into the store. # Arguments `hash` - The hash to use as the key `change` - The change to store
atomic-core/src/change/store.rs:335
↓ 20 callers
Function
make_hook
()
atomic-agent/src/hooks/codex.rs:810
↓ 20 callers
Function
make_orchestrator
Create a test orchestrator with a real FallbackWatcher.
atomic-agent/src/turn/orchestrator/tests.rs:15
↓ 20 callers
Function
record_change
(repo: &Repository, message: &str)
atomic-repository/tests/content_roundtrip_fidelity_test.rs:35
↓ 20 callers
Method
write_dependencies
Write the DEPS section containing dependency hash indices. This is a required section. It contains the list of dependency hashes as `HashIndex` value
atomic-core/src/change/format_v3/writer/state_machine.rs:324
↓ 20 callers
Function
write_file
(repo_path: &Path, name: &str, content: &str)
atomic-repository/tests/content_roundtrip_fidelity_test.rs:27
↓ 19 callers
Method
add_entry
Add a file status entry.
atomic-repository/src/status.rs:479
↓ 19 callers
Function
apply_branch_op
Applies a BranchOp to the pristine database. This is the main entry point for applying line-level operations. # Arguments `txn` - The transaction t
atomic-core/src/crdt/apply/branch.rs:93
↓ 19 callers
Function
apply_leaf_op
Applies a LeafOp to the pristine database. This is the main entry point for applying token-level operations. # Arguments `txn` - The transaction to
atomic-core/src/crdt/apply/leaf.rs:101
↓ 19 callers
Function
build_client
Build a [`StorageClient`] from global config and the resolved identity. - `org_override` — explicit `--org` flag value. - `server_override` — explici
atomic-cli/src/commands/client.rs:53
↓ 19 callers
Function
compute_inline_diff
Compute an inline diff between two lines. This is the main entry point for inline diff computation. It tokenizes both lines, computes a word-level di
atomic-core/src/diff/inline.rs:601
↓ 19 callers
Function
create_test_change
(message: &str, content: &[u8])
atomic-core/src/change/store.rs:532
↓ 19 callers
Function
encode_view_seq
(view_id: u64, seq: u64)
atomic-core/src/pristine/tables.rs:880
↓ 19 callers
Method
finish
Finish recording and produce a `Recorded` result. This consumes the builder and returns the accumulated state. # Returns A `Recorded` containing al
atomic-core/src/record/builder.rs:424
↓ 19 callers
Method
flag
(&self)
atomic-core/src/types/graph_edge.rs:235
↓ 19 callers
Method
is_empty
Check if no operations were performed. Returns `true` if no files were written, no directories created, and no files skipped. # Example ```rust use
atomic-core/src/output/repo/outcome.rs:147
↓ 19 callers
Method
iter
Returns an iterator over all changes.
atomic-core/src/record/workflow/crdt/line_ops/analyzer.rs:148
↓ 19 callers
Method
len
(&self)
atomic-core/src/change/format_v3/compact/types.rs:84
↓ 19 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
↓ 19 callers
Function
make_test_change
Helper: create a simple test Change.
atomic-repository/src/redb_change_store/tests.rs:18
↓ 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
to_value
The node as a JSON value (JSON-LD object).
atomic-canonical/src/node.rs:272
↓ 19 callers
Method
update
(&mut self, data: &[u8])
atomic-core/src/types/hash.rs:77
↓ 19 callers
Method
vault_list
List vault entries, optionally filtered by prefix and entry type.
atomic-repository/src/repository/vault.rs:353
↓ 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
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:72
↓ 18 callers
Function
encode_inode_vertex
(inode: u64, change_id: u64, start: u64, end: u64)
atomic-core/src/pristine/tables.rs:842
↓ 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
get_default
Get the default identity ID.
atomic-identity/src/store.rs:95
↓ 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
is_empty
True when no criteria are referenced. Drives `skip_serializing_if`, so an empty list is omitted exactly as it was under the plain `Vec`.
atomic-canonical/src/node.rs:137
↓ 18 callers
Method
len
(&self)
atomic-core/src/crdt/apply/order.rs:316
↓ 18 callers
Function
lift_intent
Lift an intent from its frontmatter spine and markdown body.
atomic-canonical/src/lift.rs:39
↓ 18 callers
Function
lines
Helper to create lines from strings
atomic-core/src/diff/myers.rs:198
↓ 18 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
↓ 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:462
↓ 18 callers
Method
message
(mut self, message: impl Into<String>)
atomic-repository/src/record/options.rs:192
↓ 18 callers
Method
put_vault_manifest
(&mut self, manifest: &VaultManifest)
atomic-core/src/pristine/txn/write/vault.rs:141
↓ 18 callers
Function
storage_err
(err: E, context: &str)
atomic-core/src/crdt/apply/error.rs:64
↓ 18 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
↓ 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
upsert_kg_edge
(&mut self, edge: &KgEdge)
atomic-core/src/pristine/txn/write/triples.rs:380
↓ 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
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
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:902
↓ 17 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
↓ 17 callers
Method
get_vault_manifest
(&self)
atomic-core/src/pristine/txn/read.rs:896
↓ 17 callers
Method
iter
Returns an iterator over the selected layers.
atomic-remote/src/streaming/layers.rs:204
↓ 17 callers
Method
load_by_name
Load an identity by name.
atomic-identity/src/store.rs:518
↓ 17 callers
Function
make_config
(dir: &TempDir)
atomic-agent/src/watcher/fallback.rs:274
↓ 17 callers
Function
make_hook
()
atomic-agent/src/hooks/kilo.rs:455
↓ 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
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
skip
Record a skipped path.
atomic-repository/src/tracking/mod.rs:265
↓ 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
truncate
Truncate text to fit within a maximum width.
atomic-cli/src/output/table.rs:422
↓ 17 callers
Method
with_message
Builder: set the commit message.
atomic-cli/src/commands/record/mod.rs:271
↓ 17 callers
Method
with_summary
Builder: set summary.
atomic-core/src/pristine/vault.rs:476
↓ 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_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
↓ 16 callers
Method
add_simple
(&mut self, kind: ConflictKind, description: impl Into<String>)
atomic-core/src/crdt/apply/conflict.rs:541
↓ 16 callers
Method
all
Create an empty filter (matches all).
atomic-identity/src/store.rs:269
↓ 16 callers
Method
as_slice
The criteria as a slice, whatever the shape on disk. Callers use this instead of matching, so the legacy variant stays invisible to them.
atomic-canonical/src/node.rs:126
↓ 16 callers
Method
build
Build the provenance graph.
atomic-core/src/change/provenance_graph/builder.rs:180
↓ 16 callers
Method
display
Format the stash entry for display. Returns a human-readable string like: `stash@{0}: On dev: Fix authentication bug`
atomic-cli/src/commands/stash.rs:223
↓ 16 callers
Method
extract
Parse source code and extract all entities
atomic-semantic/src/parser.rs:44
↓ 16 callers
Method
init_kg
Initialize the knowledge graph tables.
atomic-repository/src/repository/vault_triples.rs:19
↓ 16 callers
Function
make_hook
()
atomic-agent/src/hooks/grok.rs:444
↓ 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:399
↓ 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
vault_intent_update
Update an intent's fields.
atomic-repository/src/repository/vault_intent.rs:606
↓ 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
add_file
Add statistics for a file. # Arguments `file_stats` - Statistics for the file to add
atomic-cli/src/commands/diff/types.rs:199
↓ 15 callers
Method
add_node
Add a node to the graph.
atomic-core/src/change/provenance_graph/builder.rs:120
↓ 15 callers
Method
begin_turn
( &mut self, session_id: &str, )
atomic-agent/src/watcher/fallback.rs:217
↓ 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:106
↓ 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
Method
is_file
Check if this format is a single file.
atomic-repository/src/archive.rs:202
↓ 15 callers
Method
len
(&self)
atomic-core/src/change/atom.rs:218
↓ 15 callers
Function
lines
Helper to create lines from strings
atomic-core/src/diff/patience.rs:380
↓ 15 callers
Function
make_hook
()
atomic-agent/src/hooks/agy.rs:433
↓ 15 callers
Method
next
(&mut self)
atomic-core/src/pristine/txn/helpers.rs:201
↓ 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:894
← previous
next →
201–300 of 15,497, ranked by callers