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
↓ 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
Function
position_to_option_hash_resolved
Convert a Position<NodeId> to Position<Option<Hash>>, resolving external change hashes. Unlike `position_to_option_hash`, this function looks up the
atomic-core/src/record/workflow/globalize/helpers.rs:62
↓ 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
Method
sign
Sign a message
atomic-identity/src/keypair.rs:147
↓ 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
txn
(&self)
atomic-core/src/record/workflow/globalize/context.rs:222
↓ 9 callers
Method
vault_intent_show
Show an intent's full content.
atomic-repository/src/repository/vault_intent.rs:308
↓ 9 callers
Method
view
(mut self, view: impl Into<String>)
atomic-repository/src/record/options.rs:177
↓ 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_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
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
Method
count
Get the number of entries yielded so far.
atomic-repository/src/history/iter.rs:66
↓ 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
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
init_kg
(&mut self)
atomic-core/src/pristine/txn/write/triples.rs:308
↓ 8 callers
Method
init_vault
(&mut self)
atomic-core/src/pristine/txn/write/vault.rs:151
↓ 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_file
Check if this is a file. # Returns `true` if this item represents a file.
atomic-core/src/output/repo/tree.rs:559
↓ 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
Function
make_external_position
(hash: Option<Hash>, pos: u64)
atomic-core/src/apply/position.rs:322
↓ 8 callers
Function
make_external_vertex
(change: Option<Hash>, start: u64, end: u64)
atomic-core/src/apply/edge.rs:461
↓ 8 callers
Function
make_position
(change: Option<Hash>, pos: u64)
atomic-core/src/apply/edge.rs:439
↓ 8 callers
Function
make_trunk
()
atomic-core/src/crdt/trunk.rs:461
↓ 8 callers
Function
make_vertex
Create a test span
atomic-core/src/output/repo/content.rs:746
↓ 8 callers
Method
model
Set the model identifier.
atomic-core/src/change/provenance/builder.rs:49
↓ 8 callers
Method
modified
Create statistics for a modified file. # Arguments `path` - The file path `insertions` - Number of lines added `deletions` - Number of lines deleted
atomic-cli/src/commands/diff/types.rs:140
↓ 8 callers
Method
node_text
Get the text content of a node.
atomic-semantic/src/parsers/go.rs:321
↓ 8 callers
Method
output_conflict_marker
( &mut self, marker: &str, id: usize, changes: Option<&[Hash]>, )
atomic-core/src/output/traits.rs:680
↓ 8 callers
Function
parse_project_path
Parse a combined `workspace/project` slug into its two components. # Errors Returns [`CliError::InvalidArgument`] if the input does not contain exac
atomic-cli/src/commands/project/mod.rs:53
↓ 8 callers
Method
peek
(&self)
atomic-core/src/diff/token/tokenizer.rs:174
↓ 8 callers
Function
print_next_steps
Print a "next steps" section to guide users. This function formats a list of suggested commands that the user might want to run next. It's designed t
atomic-cli/src/output/mod.rs:215
↓ 8 callers
Method
put_change_deps
(&mut self, change_id: NodeId, deps: &[Hash])
atomic-core/src/pristine/txn/write/mod.rs:985
↓ 8 callers
Function
read_settings
( settings_path: &Path, )
atomic-agent/src/hooks/claude_code/settings.rs:52
↓ 8 callers
Function
record_all
(repo: &Repository, message: &str)
atomic-repository/src/repository/tests/cross_view_merge_tests.rs:27
↓ 8 callers
Method
record_trunk_created
(&mut self)
atomic-core/src/crdt/apply/context.rs:523
↓ 8 callers
Method
run
(&self)
atomic-cli/src/commands/view/new.rs:318
↓ 8 callers
Method
run
Execute the change command. This method: 1. Finds the repository root 2. Resolves the change identifier to a hash 3. Loads the change from the store
atomic-cli/src/commands/change/command.rs:726
↓ 8 callers
Method
save
Save an identity to the store.
atomic-identity/src/store.rs:410
↓ 8 callers
Function
serialize_view_state
Serialize a ViewState to bytes Layout (v2): [id:8][name_len:4][name:var][merkle:32][change_count:8][kind:1][parent:8] The `kind` and `parent` fields
atomic-core/src/pristine/txn/helpers.rs:62
↓ 8 callers
Method
set_content
Set the content.
atomic-core/src/record/workflow/record/types.rs:312
↓ 8 callers
Method
set_header
Set the header row from simple string values. This creates columns with default settings from header strings.
atomic-cli/src/output/table.rs:316
↓ 8 callers
Method
skip_section
Skip the next section without decompressing it. Reads the section header and compressed payload from the source but does not decompress. The compress
atomic-core/src/change/format_v3/reader/sections.rs:186
↓ 8 callers
Function
split_lines
(content: &[u8])
atomic-core/src/diff/split.rs:280
← previous
next →
501–600 of 14,266, ranked by callers