Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ functions
Functions
15,397 in github.com/atomicdotdev/atomic
⨍
Functions
15,397
◇
Types & classes
1,252
↓ 6 callers
Method
begin_turn
Mark the start of a new turn.
atomic-agent/src/turn/session.rs:350
↓ 6 callers
Function
branch
(change: u64, idx: u32)
atomic-core/src/crdt/queries.rs:155
↓ 6 callers
Function
build_decision_edges
Build edges connecting a decision node to the surrounding context. The decision node gets: - An edge from the most recent goal (if any precedes the s
atomic-agent/src/provenance/consolidate.rs:676
↓ 6 callers
Function
check_embedded_directives
Reject a REGISTERED directive name embedded mid-prose with an attrs brace (e.g. `… ::file-ref{path=x} …` inside a sentence). The block parser only rea
atomic-canonical/src/directive.rs:215
↓ 6 callers
Function
combined
Combined stdout + stderr as a lossy string, for substring assertions.
atomic-cli/tests/insert_promote_integration_test.rs:27
↓ 6 callers
Function
compare_content
Compare two byte slices and produce diff operations. This function handles the actual diffing of file content. # Arguments `old_content` - Content
atomic-core/src/record/detect.rs:721
↓ 6 callers
Function
content_config
(repo_root: &Path)
atomic-repository/src/content_search.rs:350
↓ 6 callers
Function
cosine_similarity
Compute cosine similarity between two vectors. Returns 0.0 if the vectors have different lengths, are empty, or if either has zero magnitude.
atomic-core/src/pristine/txn/write/embeddings.rs:19
↓ 6 callers
Method
crdt_ops
(&self)
atomic-core/src/record/workflow/record/types.rs:412
↓ 6 callers
Function
create_test_change
Create a simple test change with the given message.
atomic-repository/src/repository/tests/mod.rs:30
↓ 6 callers
Function
create_test_entry_without_header
()
atomic-cli/src/commands/log/tests.rs:397
↓ 6 callers
Function
create_test_identities
()
atomic-identity/src/delegation.rs:588
↓ 6 callers
Method
decode
Decode a `SessionEnvelope` from `HashedChange.metadata` bytes. Validates the magic prefix and schema version before deserializing. # Errors Returns
atomic-agent/src/envelope.rs:254
↓ 6 callers
Function
decode_embedding_key
(key: &str)
atomic-core/src/pristine/tables.rs:777
↓ 6 callers
Function
decode_leaf_value
(bytes: &[u8; 22])
atomic-core/src/crdt/tables.rs:646
↓ 6 callers
Method
del_directory
(&mut self, inode: Inode)
atomic-core/src/pristine/txn/write/mod.rs:1515
↓ 6 callers
Method
del_embeddings
(&mut self, path: &str)
atomic-core/src/pristine/txn/write/embeddings.rs:187
↓ 6 callers
Method
del_inode
(&mut self, inode: Inode)
atomic-core/src/pristine/txn/write/mod.rs:1410
↓ 6 callers
Function
derive_agent_author
Derive the agent author from the user's identity. Constructs: `{agent_name}+{session_short} <{user_email}>` If the user has no email, uses the agent
atomic-agent/src/identity.rs:115
↓ 6 callers
Method
embed_sync
Synchronous embed using a throwaway tokio runtime (for use in non-async contexts). When called from within an existing Tokio runtime (e.g., from hook
atomic-repository/src/ai/mod.rs:163
↓ 6 callers
Function
encode_position
(change_id: u64, pos: u64)
atomic-core/src/pristine/tables.rs:851
↓ 6 callers
Function
encode_session_todo_key
(provenance_id: u64, todo_id: &str)
atomic-core/src/change/session.rs:457
↓ 6 callers
Method
ensure_metadata_complete
Ensure that the required metadata sections (HEADER + DEPS) have been written.
atomic-core/src/change/format_v3/writer/helpers.rs:25
↓ 6 callers
Function
evaluate_push_credentials
Pure decision core for [`check_push_credentials`], split out so it can be unit-tested without touching the on-disk identity store. `explicit` — wheth
atomic-cli/src/commands/auth.rs:464
↓ 6 callers
Function
extract_content_edges
Extract edges from content text (wiki-links, file paths).
atomic-repository/src/repository/vault_triples.rs:1245
↓ 6 callers
Function
extract_file
Extract a file path from a node's detail or summary.
atomic-agent/src/provenance/consolidate.rs:601
↓ 6 callers
Method
filter_file_diffs
Filter computed file diffs down to the paths given on the command line, rebuilding the aggregate stats from the surviving entries. This is a no-op wh
atomic-cli/src/commands/diff/helpers.rs:95
↓ 6 callers
Method
find_intent_path
Find the vault path for an intent by its resolved manifest key. First checks the manifest's `vault_path` field (fast path), then falls back to scanni
atomic-repository/src/repository/vault_intent.rs:921
↓ 6 callers
Function
find_repository_root_from
Find the repository root starting from a specific path. Like [`find_repository_root`], but starts from the given path instead of the current working
atomic-cli/src/commands/mod.rs:280
↓ 6 callers
Method
format_default
Format entries for default output. # Arguments `entries` - History entries to format `hash_length` - Number of hash characters to display # Returns
atomic-cli/src/commands/log/command.rs:243
↓ 6 callers
Function
format_hash_with_length
Format a hash for display with custom length. Like [`format_hash`], but allows specifying the truncation length. # Arguments `hash` - The hash to f
atomic-cli/src/commands/mod.rs:427
↓ 6 callers
Method
format_json
Format entries for JSON output. # Arguments `entries` - History entries to format # Returns Formatted JSON string.
atomic-cli/src/commands/log/command.rs:398
↓ 6 callers
Method
format_short
Format entries for short output. # Arguments `entries` - History entries to format `hash_length` - Number of hash characters to display # Returns
atomic-cli/src/commands/log/command.rs:312
↓ 6 callers
Method
get_change_at_seq
( &self, _view: &ViewState, _seq: u64, )
atomic-core/src/record/context.rs:915
↓ 6 callers
Method
get_changelist
Get the changelist for a view starting from a position. # Arguments `view` - The name of the view to query. `from` - The starting position (sequence
atomic-remote/src/http/queries.rs:79
↓ 6 callers
Method
get_crdt_branch
( &self, key: &[u8; 12], )
atomic-core/src/pristine/txn/read.rs:1299
↓ 6 callers
Method
get_session_manifest
Load an immutable session manifest by content hash.
atomic-core/src/pristine/txn/read.rs:616
↓ 6 callers
Method
get_tracking_options
Convert command options to TrackingOptions.
atomic-cli/src/commands/add.rs:251
↓ 6 callers
Method
get_view
(&self, _name: &str)
atomic-core/src/record/context.rs:899
↓ 6 callers
Method
inode
(&self)
atomic-core/src/crdt/trunk.rs:193
↓ 6 callers
Method
install
(&self, repo_root: &Path)
atomic-agent/src/hooks/claude_code/mod.rs:209
↓ 6 callers
Method
is_clean
Returns `true` if the outcome is [`Clean`](Self::Clean).
atomic-core/src/merge/mod.rs:70
↓ 6 callers
Method
is_draft
(self)
atomic-core/src/pristine/traits/view.rs:73
↓ 6 callers
Method
is_empty
Returns `true` if the graph has no nodes.
atomic-agent/src/provenance/accumulator/mod.rs:272
↓ 6 callers
Method
is_empty
(&self)
atomic-core/src/diff/inline.rs:244
↓ 6 callers
Method
is_replaced
(&self)
atomic-core/src/diff/semantic/types.rs:195
↓ 6 callers
Function
is_supported
Check if a file path is supported for AST extraction.
atomic-semantic/src/parsers/mod.rs:156
↓ 6 callers
Method
iter_changes
Iterate over all change hashes stored in the repository. This scans the changes directory and yields the hash of each change file found. The iteratio
atomic-repository/src/repository/changes.rs:974
↓ 6 callers
Method
iter_tree
( &self, )
atomic-core/src/record/context.rs:860
↓ 6 callers
Method
len
(&self)
atomic-core/src/diff/semantic/config.rs:200
↓ 6 callers
Method
lines
Iterate through all lines with their display status. Lines are yielded in the order they would appear in a unified diff: - Unchanged lines appear onc
atomic-core/src/diff/display.rs:308
↓ 6 callers
Method
load
Load an identity by ID.
atomic-identity/src/store.rs:493
↓ 6 callers
Function
load_attestation
Load a memory's attestation and classify it against the current source (`inputs`). Prefers the tracked vault entry, falling back to the legacy sidecar
atomic-cli/src/commands/memory/bridge.rs:202
↓ 6 callers
Method
load_attestation
Load an attestation from the repository by hash.
atomic-repository/src/repository/changes.rs:704
↓ 6 callers
Method
load_change
Load a full `Change` from the redb store. This reads all tables for the change and reassembles a `Change` object. Equivalent to deserializing a compl
atomic-repository/src/redb_change_store/queries.rs:306
↓ 6 callers
Function
longest_increasing_subsequence
Find the Longest Increasing Subsequence of matches by new_idx. Given matches sorted by old_idx, find the longest subsequence where new_idx values are
atomic-core/src/diff/patience.rs:227
↓ 6 callers
Function
make_change
Create a test change with content
atomic-core/src/output/repo/content.rs:755
↓ 6 callers
Function
make_vertex
(change: u64, start: u64, end: u64)
atomic-core/src/output/repo/fork.rs:184
↓ 6 callers
Method
mark_resolved
Marks this conflict as resolved with optional notes.
atomic-core/src/crdt/apply/conflict.rs:358
↓ 6 callers
Method
mark_rooted
Mark a position as verified rooted.
atomic-core/src/apply/workspace.rs:641
↓ 6 callers
Method
max_vertices
Set maximum span count.
atomic-core/src/record/workflow/retrieve.rs:92
↓ 6 callers
Method
max_vertices
Set the maximum number of vertices to retrieve. This provides a safety limit for retrieval. If the graph exceeds this size, retrieval will stop and t
atomic-core/src/output/alive/retrieve/options.rs:104
↓ 6 callers
Function
memory_frontmatter
()
atomic-canonical/tests/roundtrip.rs:227
↓ 6 callers
Function
merge_parallel_results
Merge parallel results into the aggregate vectors needed by `Repository::record()`. This extracts the `RecordedFile` values from the parallel results
atomic-repository/src/parallel_record/aggregate.rs:25
↓ 6 callers
Method
message
Get the commit message if a header is loaded.
atomic-repository/src/history/types.rs:168
↓ 6 callers
Method
model
Get the effective model name.
atomic-agent/src/transcript/generator.rs:177
↓ 6 callers
Method
name
(&self)
atomic-agent/src/hooks/mod.rs:502
↓ 6 callers
Method
name
Create a new name conflict. Name conflicts occur when a file has been renamed by concurrent changes.
atomic-core/src/output/mod.rs:289
↓ 6 callers
Method
new_line_num
(&self)
atomic-core/src/record/workflow/crdt/builder/branch.rs:157
↓ 6 callers
Function
next_id
Generate the next node ID.
atomic-agent/src/provenance/consolidate.rs:713
↓ 6 callers
Function
no_untracked
()
atomic-agent/src/record/tests.rs:81
↓ 6 callers
Function
open_pristine
()
atomic-core/src/crdt/queries.rs:148
↓ 6 callers
Method
operation
(&self)
atomic-core/src/record/workflow/crdt/builder/leaf.rs:42
↓ 6 callers
Function
opts
(force: bool)
atomic-agent/src/integrations/install.rs:387
↓ 6 callers
Function
output_graph_content_resolved
Output graph content with semantic-merge resolution. This is the merge-aware counterpart of [`output_graph_content`]. For every SCC whose lead verte
atomic-core/src/output/repo/content.rs:502
↓ 6 callers
Method
output_line
(&mut self, node: GraphNode<NodeId>, get_contents: F)
atomic-core/src/output/traits.rs:657
↓ 6 callers
Function
parallel_record_files
Process files in parallel using rayon, returning per-file results. This is the core of the parallel recording pipeline (Phase 2). It takes a list of
atomic-repository/src/parallel_record/mod.rs:434
↓ 6 callers
Method
path
(self, path: impl Into<String>)
atomic-core/src/crdt/apply/conflict.rs:458
↓ 6 callers
Method
permissions
Get the permission bits. # Returns The Unix permission bits.
atomic-core/src/record/item.rs:378
↓ 6 callers
Method
position
Get the current byte position in the original content.
atomic-core/src/diff/split.rs:204
↓ 6 callers
Method
previous
Set the previous provenance graph hash (for session resume chaining).
atomic-core/src/change/provenance_graph/builder.rs:156
↓ 6 callers
Method
print_long_format
Print the status in long (human-readable) format.
atomic-cli/src/commands/status.rs:246
↓ 6 callers
Method
process_diff_op
Process a diff operation. This is the main entry point for processing diff output. Call this for each diff operation in sequence. # Arguments `op`
atomic-core/src/record/workflow/graph_op/builder.rs:160
↓ 6 callers
Method
process_insert
Process an insertion. # Arguments `old_index` - Position in old content (insertion point) `new_index` - Starting line in new content `new_len` - Num
atomic-core/src/record/workflow/graph_op/builder.rs:216
↓ 6 callers
Function
project
Project a turn's provenance into the named-subgraph JSON-LD. Builds `urn:atomic:provgraph:<change_id_base32>` with `@graph = [prov:Activity, prov:Sof
atomic-canonical/src/prov.rs:134
↓ 6 callers
Method
provision_sandbox
Provision an agent's private working tree as a copy-on-write clone of this repository's working tree. Copies every tracked-or-untracked working file
atomic-repository/src/repository/sandbox.rs:182
↓ 6 callers
Method
put
PUT request with JSON body, unwrap `ApiResponse` envelope.
atomic-remote/src/storage.rs:168
↓ 6 callers
Method
put_inode
(&mut self, inode: Inode, pos: Position<NodeId>)
atomic-core/src/pristine/txn/write/mod.rs:1397
↓ 6 callers
Method
put_trunk
(&mut self, trunk: &Trunk)
atomic-core/src/crdt/apply/traits.rs:502
↓ 6 callers
Method
put_vault_entry
(&mut self, path: &str, entry: &VaultEntry)
atomic-core/src/pristine/txn/write/vault.rs:125
↓ 6 callers
Function
read_hooks_file
(path: &Path)
atomic-agent/src/hooks/codex.rs:419
↓ 6 callers
Function
record_all
(repo: &Repository, message: &str)
atomic-repository/src/repository/tests/record_duplication_tests.rs:18
↓ 6 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:137
↓ 6 callers
Method
register
(&mut self, id: NodeId, hash: Hash)
atomic-core/src/merge/engine.rs:468
↓ 6 callers
Method
remove_path
Remove a file or directory. If `recursive` is true, removes directories and their contents.
atomic-core/src/output/filesystem/mod.rs:247
↓ 6 callers
Function
repo_with_base
Initialize a repo (default view `dev`) with a base file recorded on `dev`.
atomic-cli/tests/insert_promote_integration_test.rs:34
↓ 6 callers
Method
require
Look up the index for a hash, returning an error if not found. This is a convenience method that wraps [`lookup`](Self::lookup) and converts `None` t
atomic-core/src/change/format_v3/hash_table.rs:330
↓ 6 callers
Function
resolve_paths
Resolve a source path that may be a `$variable` reference. If it starts with `$`, extract vault paths from the bound nodes (using the node label or m
atomic-repository/src/query_plan.rs:396
↓ 6 callers
Function
retrieve_graph
Retrieve the alive graph for a file starting from a position. This function traverses the graph from the given starting position, collecting all aliv
atomic-core/src/output/alive/retrieve/mod.rs:108
↓ 6 callers
Function
row_for
Compute a single row using an explicit verifier keypair (no global store).
atomic-cli/src/commands/intent/list.rs:366
← previous
next →
801–900 of 15,397, ranked by callers