Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ functions
Functions
14,648 in github.com/atomicdotdev/atomic
⨍
Functions
14,648
◇
Types & classes
1,199
↓ 5 callers
Method
modified_lines
Iterate over modified lines.
atomic-core/src/diff/semantic/config.rs:221
↓ 5 callers
Function
normalize_path
Normalize a path by resolving `.` and `..` components. Unlike `canonicalize()`, this doesn't require the path to exist.
atomic-core/src/output/filesystem/paths.rs:40
↓ 5 callers
Method
output_line
(&mut self, node: GraphNode<NodeId>, get_contents: F)
atomic-core/src/output/repo/writer.rs:374
↓ 5 callers
Method
parse_algorithm
Parse the algorithm string into an Algorithm enum.
atomic-cli/src/commands/record/builder.rs:32
↓ 5 callers
Method
parse_algorithm
Parse the algorithm string into an Algorithm enum.
atomic-cli/src/commands/diff/command.rs:180
↓ 5 callers
Method
parse_author
Parse the author string into an Author struct.
atomic-cli/src/commands/record/builder.rs:46
↓ 5 callers
Function
parse_changelist
Parse a changelist response into entries.
atomic-remote/src/http/mod.rs:292
↓ 5 callers
Method
parse_error_body
(&self, status: u16, body: &str)
atomic-remote/src/storage.rs:221
↓ 5 callers
Method
passes_filter
Check if a change ID passes the filter. Returns true if: - No filter is set (all changes pass) - The change_id is ROOT (NodeId(0), always passes) - T
atomic-core/src/output/alive/retrieve/options.rs:146
↓ 5 callers
Method
permission
Add a permission.
atomic-identity/src/delegation.rs:314
↓ 5 callers
Method
position
Get the current byte position in the original content.
atomic-core/src/diff/split.rs:204
↓ 5 callers
Method
position_inode
(&self, _pos: Position<NodeId>)
atomic-core/src/record/context.rs:856
↓ 5 callers
Method
prefix
(mut self, prefix: impl Into<String>)
atomic-core/src/record/workflow/detect/mod.rs:128
↓ 5 callers
Function
print_section
Print a section header. Use this to visually separate different sections of output. # Arguments `title` - The section title # Example ```rust,ign
atomic-cli/src/output/mod.rs:176
↓ 5 callers
Method
print_short_format
Print the status in short (porcelain) format.
atomic-cli/src/commands/status.rs:375
↓ 5 callers
Method
process_delete
Process a deletion. # Arguments `old_index` - Starting line in old content `new_index` - Position in new content (deletion point) `old_len` - Number
atomic-core/src/record/workflow/graph_op/builder.rs:229
↓ 5 callers
Method
prompt_summary
Returns the prompt truncated to `max_len` characters. Useful for display purposes (commit messages, UI previews). Returns `None` if no prompt is pres
atomic-agent/src/event.rs:392
↓ 5 callers
Function
put_branch
( txn: &mut impl crate::pristine::MutTxnT, trunk_id: TrunkId, b: BranchId, aft
atomic-core/src/crdt/queries.rs:159
↓ 5 callers
Method
put_vault_entry
(&mut self, path: &str, entry: &VaultEntry)
atomic-core/src/pristine/txn/write/vault.rs:125
↓ 5 callers
Function
record_deleted_file
Record a single deleted file. Creates a deletion graph_op for a file that no longer exists in the working copy. # Arguments `detected` - The detect
atomic-core/src/record/workflow/record/mod.rs:297
↓ 5 callers
Method
record_downloaded
Record a successfully downloaded change. Increments the download counter. # Example ```rust use atomic::commands::clone::types::CloneProgress; let
atomic-cli/src/commands/clone/types.rs:130
↓ 5 callers
Function
record_turn
Record an agent turn as an Atomic change. This is the function that bridges the agent world into the VCS world. It builds a `ChangeHeader`, `Provenan
atomic-agent/src/record/mod.rs:136
↓ 5 callers
Method
register_entity
Register an entity in the identity tables. Creates INTERNAL (hash → id), EXTERNAL (id → hash), and NODE_TYPES (id → type) entries. Returns existing i
atomic-core/src/pristine/txn/write/mod.rs:309
↓ 5 callers
Method
reinsert_change
( &mut self, view: &mut ViewState, change_id: NodeId, change_hash: &Hash,
atomic-core/src/pristine/txn/write/mod.rs:682
↓ 5 callers
Function
remove_deny_rule
(raw: &mut serde_json::Map<String, serde_json::Value>)
atomic-agent/src/hooks/claude_code/settings.rs:229
↓ 5 callers
Method
remove_path
(&self, path: &str, recursive: bool)
atomic-core/src/output/memory.rs:596
↓ 5 callers
Method
rename
Rename a file or directory.
atomic-core/src/output/filesystem/mod.rs:269
↓ 5 callers
Function
resolve_agent_author
Resolve the agent author for a turn change. Looks up the user's default identity and derives an agent author with a `+tag` email. Falls back to a pla
atomic-agent/src/identity.rs:101
↓ 5 callers
Method
resolve_destination
Resolve the destination path. If destination is a directory, append the source filename.
atomic-cli/src/commands/mv.rs:156
↓ 5 callers
Function
resolve_embedding_provider
Resolve the best available embedding provider from environment.
atomic-repository/src/ai/mod.rs:58
↓ 5 callers
Function
resolve_identity_name
Extract the identity name from a remote URL alone (no server config). Tries URL userinfo first (`bob@host`), then the subdomain (`bob.host`). This is
atomic-cli/src/commands/auth.rs:397
↓ 5 callers
Function
resolve_identity_name_with_override
Resolve the identity name to authenticate as. Priority: 1. An explicit override (the `--identity` flag). 2. URL userinfo (`http://bob@host/...`). 3.
atomic-cli/src/commands/auth.rs:42
↓ 5 callers
Method
resolve_vault_identity
Resolve the current identity for vault operations. Resolution order: 1. Atomic identity store (default identity) 2. Git config (user.name + user.emai
atomic-repository/src/repository/vault_identity.rs:55
↓ 5 callers
Function
resolve_workspace
Resolve the workspace slug for a command, with fallback to the org-scoped default workspace from global config. Uses the legacy (single-server) confi
atomic-cli/src/commands/client.rs:255
↓ 5 callers
Function
row_for
Compute a row with an explicit verifier keypair (no global store).
atomic-cli/src/commands/memory/list.rs:442
↓ 5 callers
Method
run
(&self)
atomic-cli/src/commands/view/delete.rs:103
↓ 5 callers
Method
run
(&self)
atomic-cli/src/commands/view/list.rs:76
↓ 5 callers
Method
run
(&self)
atomic-cli/src/commands/tag/create.rs:168
↓ 5 callers
Method
run_with_verifier
Inner runner that takes the slug-verification step as a parameter. Splitting this out lets tests inject a deterministic verifier (succeed / fail) wit
atomic-cli/src/commands/workspace/set.rs:101
↓ 5 callers
Function
sample_input
(person_did: &str)
atomic-canonical/src/prov.rs:220
↓ 5 callers
Method
set_crdt_stats
Set the CRDT build statistics.
atomic-core/src/record/workflow/record/types.rs:347
↓ 5 callers
Method
set_inode
Set the inode.
atomic-core/src/record/workflow/record/types.rs:332
↓ 5 callers
Method
set_kind
Sets the token kind.
atomic-core/src/crdt/leaf.rs:230
↓ 5 callers
Method
set_managed_run
Attach the managed-run context for this hook invocation (see [`ManagedRunContext`]).
atomic-agent/src/turn/orchestrator/mod.rs:307
↓ 5 callers
Method
set_model_info
Set the AI vendor and model.
atomic-agent/src/turn/session.rs:276
↓ 5 callers
Function
set_permissions
(path: &Path, permissions: u16)
atomic-core/src/output/filesystem/paths.rs:83
↓ 5 callers
Function
should_use_opaque_generated_vertices
Returns `true` for machine-generated files (lockfiles, checksums, bundled output) that should be treated as opaque blobs — skipping CRDT tokenization
atomic-core/src/record/workflow/globalize/hunk.rs:44
↓ 5 callers
Function
strip_markdown_code_blocks
Strip markdown code block wrappers from a JSON string. Claude sometimes wraps JSON in ```json ... ``` blocks despite being asked not to. This strips
atomic-agent/src/transcript/generator.rs:318
↓ 5 callers
Function
temp_dir
Create a temporary directory for testing.
atomic-core/src/output/filesystem/tests.rs:12
↓ 5 callers
Function
test_edge_map
()
atomic-core/src/change/graph_op.rs:670
↓ 5 callers
Method
to_node
Convert this entry to a Node. Respects the `tagged` field: tagged entries become `Node::tag`, regular entries become `Node::change`.
atomic-remote/src/types.rs:260
↓ 5 callers
Method
to_provenance_graph
Convert the accumulated graph to a content-addressed `ProvenanceGraph` suitable for storage in the Atomic graph alongside changes and attestations. P
atomic-agent/src/provenance/accumulator/convert.rs:49
↓ 5 callers
Method
to_retrieve_options
Convert to retrieve options for the alive graph module.
atomic-core/src/output/repo/file.rs:228
↓ 5 callers
Function
tokenize_single_file
Tokenize a single file's content. This runs on a rayon worker thread for parallel regeneration.
atomic-repository/src/semantic_regen.rs:612
↓ 5 callers
Function
trace_git_import
(message: impl AsRef<str>)
atomic-cli/src/commands/git/parallel.rs:783
↓ 5 callers
Method
uninstall
(&self, _repo_root: &Path)
atomic-agent/src/hooks/pi.rs:509
↓ 5 callers
Function
validate_session_id
Validate a session ID to prevent path traversal. Rejects IDs containing `..`, `/`, `\`, or null bytes.
atomic-agent/src/turn/session.rs:648
↓ 5 callers
Function
value_at
(raw: &Value, path: &[&str])
atomic-agent/src/hooks/hermes.rs:182
↓ 5 callers
Function
value_string
(raw: &Value, key: &str)
atomic-agent/src/hooks/hermes.rs:178
↓ 5 callers
Method
vault_delete
Delete a vault entry by path. Also updates the manifest.
atomic-repository/src/repository/vault.rs:300
↓ 5 callers
Method
vault_embed
Embed a single vault entry using the provided embedding function. Chunks the content by heading/paragraph, computes embeddings via `embed_fn`, and st
atomic-repository/src/repository/vault_embeddings.rs:51
↓ 5 callers
Method
vault_intent_link
Link a goal to an intent.
atomic-repository/src/repository/vault_intent.rs:558
↓ 5 callers
Method
view_exists
Check if a view exists. # Arguments `name` - The name of the view to check
atomic-repository/src/repository/views.rs:356
↓ 5 callers
Method
with_code_aware
Sets whether to use code-aware tokenization.
atomic-core/src/record/workflow/crdt/convert/types.rs:75
↓ 5 callers
Method
with_code_aware
Sets whether to use code-aware tokenization. When enabled, the tokenizer recognizes multi-character operators, string literals, numeric literals, and
atomic-core/src/record/workflow/crdt/tokenize/rules.rs:80
↓ 5 callers
Method
with_dry_run
Builder: set the dry-run flag.
atomic-cli/src/commands/record/mod.rs:315
↓ 5 callers
Method
with_files
Builder: set files to diff.
atomic-cli/src/commands/diff/command.rs:103
↓ 5 callers
Method
with_force
Builder: set the `--force` flag.
atomic-cli/src/commands/add.rs:230
↓ 5 callers
Method
with_format
Builder: set the output format.
atomic-cli/src/commands/change/command.rs:117
↓ 5 callers
Method
with_from
Builder: set the starting sequence number.
atomic-cli/src/commands/log/command.rs:165
↓ 5 callers
Method
with_full_hash
Builder: set full hash display.
atomic-cli/src/commands/log/command.rs:171
↓ 5 callers
Method
with_include_empty_files
(mut self, include: bool)
atomic-core/src/record/workflow/globalize/options.rs:78
↓ 5 callers
Method
with_max_file_size
Set the maximum file size for diffing. Files larger than this are treated as binary. # Arguments `size` - Maximum size in bytes, or `None` for no l
atomic-core/src/record/workflow/options.rs:221
↓ 5 callers
Method
with_mtime
Set the modification time.
atomic-core/src/record/workflow/collect.rs:204
↓ 5 callers
Method
with_name_only
Builder: set the name-only flag.
atomic-cli/src/commands/diff/command.rs:143
↓ 5 callers
Method
with_no_color
Builder: set the no-color flag.
atomic-cli/src/commands/diff/command.rs:137
↓ 5 callers
Method
with_no_untracked
Builder: set whether to hide untracked files.
atomic-cli/src/commands/status.rs:225
↓ 5 callers
Method
with_remote_state
Builder: set the remote state.
atomic-cli/src/commands/clone/types.rs:476
↓ 5 callers
Method
with_tags_only
Builder: set tags-only filter.
atomic-cli/src/commands/log/command.rs:141
↓ 5 callers
Method
with_warning
Add a warning.
atomic-agent/src/turn/orchestrator/mod.rs:172
↓ 5 callers
Method
write
(&mut self, buf: &[u8])
atomic-repository/src/archive.rs:714
↓ 4 callers
Method
add
Add another `PhaseTokens` into `self` (used for running totals).
atomic-agent/src/provenance/detail.rs:92
↓ 4 callers
Method
add
Add a credit to the statistics.
atomic-core/src/change/credit.rs:468
↓ 4 callers
Method
add_branch_op
Adds a branch operation with its ID.
atomic-core/src/record/workflow/crdt/convert/types.rs:372
↓ 4 callers
Method
add_directory
Add a directory item.
atomic-core/src/output/repo/tree.rs:697
↓ 4 callers
Function
add_hook_to_matcher
( matchers: &mut Vec<ClaudeHookMatcher>, matcher_name: &str, command: &str, )
atomic-agent/src/hooks/claude_code/settings.rs:165
↓ 4 callers
Method
add_inode_update
Associate an inode update with a graph_op. When the change is applied locally, this update will be used to maintain the tree/inode database tables.
atomic-core/src/record/builder.rs:329
↓ 4 callers
Method
add_leaf_op
Adds a leaf operation with its ID.
atomic-core/src/record/workflow/crdt/convert/types.rs:378
↓ 4 callers
Method
add_line
Adds a new line to a file and returns its branch ID. # Arguments `trunk_id` - The file to add the line to `after` - The branch to insert after (None
atomic-core/src/record/workflow/crdt/builder/branch.rs:211
↓ 4 callers
Method
add_line
Adds a line to this file.
atomic-core/src/output/crdt.rs:216
↓ 4 callers
Method
add_missing_up_context
Record a missing up-context position.
atomic-core/src/apply/workspace.rs:593
↓ 4 callers
Method
add_pending_edge
Add a pending edge to be created.
atomic-core/src/apply/workspace.rs:517
↓ 4 callers
Method
add_provenance
(mut self, entry: Provenance)
atomic-repository/src/record/options.rs:264
↓ 4 callers
Method
added
Create statistics for an added file. # Arguments `path` - The file path `lines` - Number of lines in the new file
atomic-cli/src/commands/diff/types.rs:119
↓ 4 callers
Method
agent_vendor
Set the AI vendor identifier.
atomic-core/src/change/provenance_graph/builder.rs:80
↓ 4 callers
Function
aggregate_tool_usage
Aggregate tool usage from condensed entries.
atomic-agent/src/transcript/condense.rs:139
↓ 4 callers
Method
all
Create options that include everything.
atomic-repository/src/status.rs:685
↓ 4 callers
Method
append_content
Append content to the buffer and return the position range. # Arguments `data` - Content bytes to append # Returns A tuple of (start_position, end
atomic-core/src/record/workflow/globalize/context.rs:132
↓ 4 callers
Method
append_contents
Append content to the contents blob. Returns the starting position of the appended content.
atomic-core/src/change/change.rs:250
↓ 4 callers
Function
assert_content_after_change
Assert content after a specific change matches.
atomic-repository/tests/content_roundtrip_fidelity_test.rs:67
← previous
next →
1,001–1,100 of 14,648, ranked by callers