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
↓ 6 callers
Method
archive
This exports the working copy state at the current (or specified) Merkle state to the given destination. # Arguments `destination` - Path to the out
atomic-repository/src/repository/archive.rs:29
↓ 6 callers
Method
as_bytes
Get the raw bytes of the public key
atomic-identity/src/keypair.rs:33
↓ 6 callers
Method
as_directory
Mark this entry as a directory.
atomic-core/src/record/workflow/collect.rs:134
↓ 6 callers
Function
assert_content_matches
Assert that the content retrieved via overlay matches the expected bytes.
atomic-repository/tests/content_roundtrip_fidelity_test.rs:49
↓ 6 callers
Function
atomic
Run `atomic <args>` inside `dir`.
atomic-cli/tests/insert_promote_integration_test.rs:18
↓ 6 callers
Function
attest_with
Lift+attest a stored intent with a given keypair, returning the node.
atomic-cli/src/commands/intent/list.rs:335
↓ 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:35
↓ 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
danger_accept_invalid_certs
Skip TLS certificate verification (dangerous!). Only use this for testing or when connecting to servers with self-signed certificates that you trust.
atomic-remote/src/http/mod.rs:124
↓ 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:789
↓ 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:1563
↓ 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:1458
↓ 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:863
↓ 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:282
↓ 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:429
↓ 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:930
↓ 6 callers
Method
get_crdt_branch
( &self, key: &[u8; 12], )
atomic-core/src/pristine/txn/read.rs:1344
↓ 6 callers
Method
get_file_inode
Get the inode for a tracked file. Returns `None` if the file is not tracked. # Arguments `path` - Path to look up
atomic-repository/src/repository/tracking.rs:485
↓ 6 callers
Method
get_session_manifest
Load an immutable session manifest by content hash.
atomic-core/src/pristine/txn/read.rs:661
↓ 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
get_view_by_id
(&self, _id: u64)
atomic-core/src/record/context.rs:895
↓ 6 callers
Method
index
(self)
atomic-core/src/output/alive/order.rs:94
↓ 6 callers
Method
inode
(&self)
atomic-core/src/crdt/trunk.rs:193
↓ 6 callers
Method
insert_change
Insert a change into the current view. This is the high-level method for inserting a single change into the repository. It loads the change from the
atomic-repository/src/repository/insert.rs:1589
↓ 6 callers
Method
install
(&self, repo_root: &Path)
atomic-agent/src/hooks/claude_code/mod.rs:209
↓ 6 callers
Method
into_iter
(self)
atomic-core/src/record/workflow/graph_op/hunk.rs:481
↓ 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_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/record/workflow/globalize/file.rs:83
↓ 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:788
↓ 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:122
↓ 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
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
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
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:1445
↓ 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
← previous
next →
801–900 of 15,497, ranked by callers