Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ functions
Functions
14,765 in github.com/atomicdotdev/atomic
⨍
Functions
14,765
◇
Types & classes
1,204
↓ 9 callers
Function
create_test_store
()
atomic-identity/src/store.rs:777
↓ 9 callers
Method
db
Get a reference to the underlying database.
atomic-repository/src/redb_change_store/mod.rs:211
↓ 9 callers
Method
del_tree
(&mut self, path: &str)
atomic-core/src/pristine/txn/write/mod.rs:889
↓ 9 callers
Method
delete
Create a Delete operation.
atomic-core/src/diff/ops.rs:132
↓ 9 callers
Function
deserialize_edge
(bytes: &[u8; 24])
atomic-core/src/pristine/txn/helpers.rs:36
↓ 9 callers
Function
diff
Compute the diff between two sequences of lines. This is the main entry point for diffing. It takes two slices of [`Line`]s and returns a [`DiffResul
atomic-core/src/diff/mod.rs:172
↓ 9 callers
Function
diff_snapshots
Diff two snapshots to produce a `TurnChanges`.
atomic-agent/src/watcher/fallback.rs:125
↓ 9 callers
Function
encode_branch_value
(data: &SerializedBranch)
atomic-core/src/crdt/tables.rs:541
↓ 9 callers
Function
encode_leaf_value
(data: &SerializedLeaf)
atomic-core/src/crdt/tables.rs:633
↓ 9 callers
Function
execute_plan
Execute a query plan against a repository.
atomic-repository/src/query_plan.rs:143
↓ 9 callers
Function
explicit_empty
()
atomic-core/src/pristine/tables.rs:200
↓ 9 callers
Method
find_block_in_inode
( &self, inode: Inode, pos: Position<NodeId>, )
atomic-core/src/pristine/txn/read.rs:1590
↓ 9 callers
Method
finish
(self)
atomic-repository/src/archive.rs:765
↓ 9 callers
Method
format
Builder: set format.
atomic-cli/src/commands/log/command.rs:642
↓ 9 callers
Method
get_change
(&self, hash: &Hash)
atomic-core/src/change/store.rs:418
↓ 9 callers
Function
get_inode
Get the inode for a tracked path. # Arguments `txn` - A transaction (read or write) `path` - The normalized path string
atomic-repository/src/tracking/tree_ops.rs:299
↓ 9 callers
Method
get_leaf
(&self, id: LeafId)
atomic-core/src/crdt/apply/leaf.rs:565
↓ 9 callers
Method
index
(&self, id: VertexId)
atomic-core/src/output/alive/graph.rs:409
↓ 9 callers
Method
is_root
Check if this is the repository root.
atomic-core/src/record/item.rs:669
↓ 9 callers
Function
iter_trunk_branches_in_file_order
Returns this trunk's branches in **file order** — top-of-file first. Iteration over `TRUNK_BRANCHES` alone returns branches in `(change_id, branch_id
atomic-core/src/crdt/queries.rs:43
↓ 9 callers
Method
len
Get the number of entries (files + directories).
atomic-core/src/output/memory.rs:431
↓ 9 callers
Function
lift_and_attest_memory
Lift an authored memory (frontmatter + body) into a canonical node, attest it (hash + sign) with the given identity, and return the node. Mirrors [`li
atomic-canonical/src/lib.rs:82
↓ 9 callers
Function
make_leaf
()
atomic-core/src/crdt/leaf.rs:510
↓ 9 callers
Function
make_record
(dims: usize, chunk: u32)
atomic-core/src/pristine/txn/write/embeddings.rs:242
↓ 9 callers
Function
now_secs
()
atomic-cli/src/commands/agent/lifecycle.rs:590
↓ 9 callers
Method
options
(&self)
atomic-core/src/crdt/apply/context.rs:450
↓ 9 callers
Function
output_graph_content
Output the content of an alive graph to a span buffer. This function traverses the graph in SCC order (as computed by [`compute_order`](crate::output
atomic-core/src/output/repo/content.rs:137
↓ 9 callers
Method
parse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/gemini_cli.rs:538
↓ 9 callers
Method
parse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/kiro.rs:218
↓ 9 callers
Method
pristine
(&self)
atomic-repository/src/repository/mod.rs:678
↓ 9 callers
Method
put_tree
(&mut self, path: &str, inode: Inode)
atomic-core/src/pristine/txn/write/mod.rs:877
↓ 9 callers
Method
range
(&self)
atomic-core/src/diff/inline.rs:232
↓ 9 callers
Method
read_file
Read the contents of a file into a buffer. The buffer is **appended to**, not cleared.
atomic-core/src/output/filesystem/walk.rs:112
↓ 9 callers
Method
record_directory
Record a directory creation. Duplicate directory paths are automatically deduplicated. # Arguments `path` - The path of the directory that was crea
atomic-core/src/output/repo/outcome.rs:250
↓ 9 callers
Function
repo_with_recorded_file
Initialize a repo with a single recorded file `file.txt` = "v1\n".
atomic-cli/tests/restore_integration_test.rs:26
↓ 9 callers
Method
set_content_range
Sets the content range.
atomic-core/src/crdt/leaf.rs:235
↓ 9 callers
Function
sherpa_graph
()
atomic-agent/src/export.rs:506
↓ 9 callers
Function
take_snapshot
Walk the directory tree and build a snapshot of all files. Skips directories matching any of the ignore patterns. Only includes regular files (not di
atomic-agent/src/watcher/fallback.rs:70
↓ 9 callers
Method
try_merge
Attempt to merge a conflict group using token-level semantics. # Algorithm 1. Extract the two competing vertices (only 2-way supported). 2. Retrieve
atomic-core/src/merge/engine.rs:89
↓ 9 callers
Function
turn_end_event
(session_id: &str)
atomic-agent/src/turn/orchestrator/tests.rs:34
↓ 9 callers
Method
vault_kg_neighbors
Get the neighborhood subgraph around a node.
atomic-repository/src/repository/vault_triples.rs:701
↓ 9 callers
Function
verify
Verify an attested node's content hash and signature against a public key.
atomic-canonical/src/lib.rs:71
↓ 9 callers
Method
walk_files
(&self, prefix: &str)
atomic-core/src/output/memory.rs:554
↓ 9 callers
Method
with_added
(mut self, files: Vec<PathBuf>)
atomic-agent/src/event.rs:494
↓ 9 callers
Method
with_ai_assisted
Builder: set the AI-assisted flag.
atomic-cli/src/commands/record/mod.rs:339
↓ 9 callers
Method
with_ai_provider
Builder: set the AI provider.
atomic-cli/src/commands/record/mod.rs:345
↓ 9 callers
Method
with_algorithm
Builder: set the diff algorithm.
atomic-cli/src/commands/record/mod.rs:309
↓ 9 callers
Method
with_column
Builder method to set column
atomic-semantic/src/entity.rs:196
↓ 9 callers
Method
with_exported
Builder method to set exported flag
atomic-semantic/src/entity.rs:208
↓ 9 callers
Method
with_new_line_num
Set the new line number.
atomic-core/src/record/workflow/crdt/builder/branch.rs:107
↓ 9 callers
Method
with_provenance
Mark that this change has a provenance section. Automatically sets the `HAS_PROVENANCE` flag.
atomic-core/src/change/format_v3/types/builder.rs:96
↓ 9 callers
Method
write_unhashed
Write the optional UNHASHED section. This section is NOT included in the content hash. It's intended for data that shouldn't affect the change's iden
atomic-core/src/change/format_v3/writer/sections.rs:172
↓ 8 callers
Method
add_change
Add a detected change.
atomic-core/src/record/detect.rs:618
↓ 8 callers
Method
add_conflict
(&mut self)
atomic-core/src/crdt/apply/context.rs:203
↓ 8 callers
Method
add_file
Add a file item.
atomic-core/src/output/repo/tree.rs:688
↓ 8 callers
Method
add_file_with_content
Adds a new file with content, automatically tokenizing into lines.
atomic-core/src/record/workflow/crdt/builder/trunk.rs:165
↓ 8 callers
Method
add_hunk
Add a built graph_op to the result.
atomic-core/src/record/workflow/graph_op/hunk.rs:413
↓ 8 callers
Method
add_line
Add a line to this graph_op.
atomic-cli/src/commands/diff/types.rs:390
↓ 8 callers
Method
add_node
Add a node to the graph.
atomic-core/src/change/provenance_graph/builder.rs:95
↓ 8 callers
Method
add_zombie_vertex
Add a zombie span (simplified API).
atomic-core/src/apply/conflict.rs:320
↓ 8 callers
Method
append_contents
Append raw bytes to the contents buffer. Returns the starting position of the appended content, which can be used to reference this content in hunks.
atomic-core/src/record/builder.rs:272
↓ 8 callers
Method
branch
(self, branch_id: BranchId)
atomic-core/src/crdt/apply/conflict.rs:446
↓ 8 callers
Function
calculate_pull_delta
Calculate which changes need to be pulled from the remote. Compares remote and local changelists to determine which remote changes are missing locall
atomic-cli/src/commands/pull/helpers.rs:68
↓ 8 callers
Function
canonicalize
Canonicalize a JSON value into its RFC-8785 string form.
atomic-canonical/src/jcs.rs:24
↓ 8 callers
Method
change_store
Return a reference to the underlying change store.
atomic-core/src/merge/engine.rs:63
↓ 8 callers
Method
child_count
Get the number of children for a span. This includes both regular and extra children.
atomic-core/src/output/alive/graph.rs:314
↓ 8 callers
Function
collect_working_files
Collect files from the working copy. Scans the working copy to find all files present on disk. This is the complement to `collect_tracked_files` for
atomic-core/src/record/workflow/collect.rs:436
↓ 8 callers
Method
compact_position
Convert a `Position<Option<Hash>>` to a [`CompactPosition`]. # Errors Returns [`FormatError::HashNotFound`](super::super::error::FormatError::HashNo
atomic-core/src/change/format_v3/compact/compactor.rs:71
↓ 8 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/push/helpers.rs:398
↓ 8 callers
Method
cost_usd
Set the total cost in USD.
atomic-core/src/change/attestation.rs:582
↓ 8 callers
Function
create_test_change
()
atomic-cli/src/commands/change/tests.rs:352
↓ 8 callers
Function
decode_trunk_id
(bytes: &[u8; 12])
atomic-core/src/crdt/tables.rs:267
↓ 8 callers
Function
decode_trunk_value
Decode trunk data from variable-length bytes. Returns `None` if the bytes are invalid or too short.
atomic-core/src/crdt/tables.rs:752
↓ 8 callers
Method
delete_view
Delete a view from the repository. This removes the view and all its associated metadata, but does not delete the changes themselves. Changes remain
atomic-repository/src/repository/views.rs:384
↓ 8 callers
Method
description
Get a human-readable description of this status.
atomic-cli/src/commands/diff/types.rs:688
↓ 8 callers
Function
detect_changes_simple
Detect changes between the working copy and pristine state. This is the main entry point for change detection. It collects files from both the pristi
atomic-core/src/record/workflow/detect/mod.rs:326
↓ 8 callers
Method
dot_dir
(&self)
atomic-repository/src/repository/mod.rs:553
↓ 8 callers
Method
encoding
(mut self, encoding: Encoding)
atomic-core/src/record/workflow/graph_op/options.rs:107
↓ 8 callers
Method
expand_position
Convert a [`CompactPosition`] to a `Position<Option<Hash>>`. # Errors Returns [`FormatError::HashIndexOutOfBounds`](super::super::error::FormatError
atomic-core/src/change/format_v3/compact/compactor.rs:164
↓ 8 callers
Method
extract
(&mut self, source: &str, file_path: &str)
atomic-semantic/src/parsers/typescript.rs:45
↓ 8 callers
Method
finalize
(&self)
atomic-core/src/types/hash.rs:84
↓ 8 callers
Method
find_block
Resolve the span containing `target` (preferring a non-empty span over an empty marker), if this change is loaded.
atomic-core/src/pristine/span_index.rs:46
↓ 8 callers
Method
finish
(self)
atomic-core/src/record/workflow/graph_op/builder.rs:288
↓ 8 callers
Function
finish_success
Finish a progress bar with a success message. This clears the progress bar and displays a success message in green. # Arguments `pb` - The progress
atomic-cli/src/output/progress.rs:236
↓ 8 callers
Method
get_change_seq
( &self, _view: &ViewState, _change_id: NodeId, )
atomic-core/src/record/context.rs:907
↓ 8 callers
Function
get_content_as_string
(repo: &Repository, path: &str, view: &str)
atomic-repository/src/repository/tests/cross_view_merge_tests.rs:19
↓ 8 callers
Method
get_file_content_before_change
Get file content as it was BEFORE a specific change was applied. This method retrieves the content of a file at the state immediately prior to a chan
atomic-repository/src/repository/content.rs:568
↓ 8 callers
Method
get_trunk
(&self, id: TrunkId)
atomic-core/src/crdt/apply/trunk.rs:396
↓ 8 callers
Method
id
(&self)
atomic-core/src/crdt/leaf.rs:169
↓ 8 callers
Method
ignore_rules
Load ignore rules for this repository. This loads patterns from: - Global config: `~/.config/atomic/ignore` - Repository-local: `.atomicignore` in re
atomic-repository/src/repository/changes.rs:36
↓ 8 callers
Method
insert_merged
Record merged content for the lead vertex of a resolved SCC.
atomic-core/src/merge/resolved.rs:82
↓ 8 callers
Method
into_change_ops
Consume and convert to the serializable `change::ops::FileOps` type.
atomic-core/src/record/workflow/crdt/builder/trunk.rs:122
↓ 8 callers
Method
into_iter
(self)
atomic-core/src/record/workflow/graph_op/hunk.rs:481
↓ 8 callers
Method
is_change
(&self)
atomic-core/src/diff/inline.rs:108
↓ 8 callers
Method
is_empty
Check if there are no remotes configured.
atomic-repository/src/remote.rs:373
↓ 8 callers
Method
is_shared
(self)
atomic-core/src/pristine/traits/view.rs:67
↓ 8 callers
Method
list
List all stored sessions. Returns sessions sorted by `started_at` (newest first). Skips corrupted session files with a warning log.
atomic-agent/src/turn/session.rs:569
↓ 8 callers
Method
list
List all identities in the store.
atomic-identity/src/store.rs:624
↓ 8 callers
Method
load_keypair
Load a keypair for an identity.
atomic-identity/src/store.rs:582
↓ 8 callers
Function
make_external_position
(hash: Option<Hash>, pos: u64)
atomic-core/src/apply/position.rs:322
← previous
next →
501–600 of 14,765, ranked by callers