Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ functions
Functions
25,138 in github.com/atomicdotdev/atomic
⨍
Functions
25,138
◇
Types & classes
2,566
↓ 4 callers
Function
chained_git_repo
Build a real Git repository with a linear chain of commits, each committed at the exact same committer time (so every ordering decision inside a level
atomic-cli/src/commands/git/parallel.rs:10408
↓ 4 callers
Function
change
A cheap deterministic pseudo-random change hash generator so the property tests don't need an external rng dependency.
atomic-core/src/types/set_id.rs:392
↓ 4 callers
Function
change_bytes
Record without saving or applying: just the change.
atomic-repository/tests/it/remote_cache_parity_test.rs:47
↓ 4 callers
Method
change_count
Get the total number of changes.
atomic-core/src/record/detect.rs:650
↓ 4 callers
Function
change_metadata_projection
Privacy-limited metadata from the change already decoded by atomic-core. Values are recorded attribution, not verified billing or authorship.
libatomic/src/daemon/services_query.rs:227
↓ 4 callers
Method
changes
( &self, request: ChangeSourceRequest<'_>, )
atomic-repository/src/change_source/selected.rs:146
↓ 4 callers
Method
changes_with_provider
( &self, request: ChangeSourceRequest<'_>, provider: &dyn FilesystemProvider, )
atomic-repository/src/change_source/scan.rs:152
↓ 4 callers
Function
check_evidence_resolution
Resolve `urn:atomic:change:<hash>` evidence URNs against the change store at `repo_root`. One violation per URN that does not resolve. With no reposit
atomic-cli/src/commands/intent/validate.rs:204
↓ 4 callers
Function
checkpoint
()
atomic-cli/src/commands/git/guard.rs:982
↓ 4 callers
Function
chunk_by_heading
Chunk text by heading boundaries, then by paragraph, respecting a maximum token budget per chunk. Strategy: 1. Split on `#` headings (any level) 2. I
atomic-repository/src/repository/vault_embeddings.rs:215
↓ 4 callers
Function
chunk_content_with_stats
Split content into chunks and return chunking statistics. This is the same as [`chunk_content`] but also returns [`ChunkingStats`] for logging and pr
atomic-core/src/change/format_v3/chunking.rs:534
↓ 4 callers
Function
classify_commit
Classify an imported commit as normal, merge, or squash.
atomic-cli/src/commands/git/parallel.rs:8409
↓ 4 callers
Function
classify_enabled
Decide whether an agent's Atomic hooks are active, and on what evidence. "Installed" (a receipt exists) and "enabled" (hooks are in the agent's live
atomic-cli/src/commands/diagnostics/collect.rs:1199
↓ 4 callers
Method
clear_boundary_start
Clear the turn-start baseline when a new turn begins without one.
atomic-agent/src/turn/session.rs:486
↓ 4 callers
Method
clear_crdt_ops
Clear any CRDT operations/stats.
atomic-core/src/record/workflow/record/types.rs:473
↓ 4 callers
Method
code
Stable observability code for this degradation reason (RFC §13 Phase 13 task 5). Codes are fixed snake_case strings; details live in logs, never in st
atomic-repository/src/change_source/core.rs:60
↓ 4 callers
Method
collect_directories
Set whether to collect directories. # Arguments `collect` - Whether to include directories in results # Example ```rust use atomic_core::output::r
atomic-core/src/output/repo/tree.rs:229
↓ 4 callers
Method
collect_files
Set whether to collect files. # Arguments `collect` - Whether to include files in results # Example ```rust use atomic_core::output::repo::TreeCol
atomic-core/src/output/repo/tree.rs:248
↓ 4 callers
Function
collect_sorted_content_vertices_cached
( ctx: &mut GlobalizeContext<'_, T>, inode: Inode, inode_pos: Position<NodeId>, )
atomic-core/src/record/workflow/globalize/hunk.rs:813
↓ 4 callers
Method
combine_with
(&self, other: &Self)
atomic-core/src/record/workflow/graph_op/pending.rs:219
↓ 4 callers
Function
commit_file
(git: &git2::Repository, root: &Path, name: &str, content: &str)
atomic-agent/src/record/tests.rs:1240
↓ 4 callers
Function
commit_on
(git: &GitRepository, message: &str, parents: &[git2::Oid])
atomic-repository/src/repository/ref_mapping.rs:652
↓ 4 callers
Function
common_affixes
Find the length of common prefix and suffix between two sequences, applying the **suffix-limiting heuristic** used by the display path. This optimiza
atomic-core/src/diff/mod.rs:471
↓ 4 callers
Method
common_operation_lock_path
(&self)
atomic-repository/src/repository/locks.rs:295
↓ 4 callers
Method
compact_edge_update
Convert an `EdgeUpdate<Option<Hash>>` to a [`CompactEdgeUpdate`].
atomic-core/src/change/format_v3/compact/compactor.rs:134
↓ 4 callers
Function
compact_file
(path: &Path)
libatomic/src/daemon/services_maintenance/compact.rs:163
↓ 4 callers
Method
compact_insertion
Convert an `Insertion<Option<Hash>>` to a [`CompactInsertion`].
atomic-core/src/change/format_v3/compact/compactor.rs:95
↓ 4 callers
Function
compare_content_with_limit
Compare content with size limit check. Like `compare_content`, but treats files over the size limit as binary. # Arguments `old_content` - Content
atomic-core/src/record/workflow/compare.rs:376
↓ 4 callers
Method
complete_path_claim_migration
(&mut self)
atomic-core/src/pristine/txn/write/path_claim.rs:98
↓ 4 callers
Function
complete_semantic_replacement
A whole-file resolution supersedes every line identity observed in its parent closure. A line that one replay considers dead can still be alive in the
atomic-repository/src/repository/record.rs:768
↓ 4 callers
Method
compression_level
(&self)
atomic-core/src/change/format_v3/writer/options.rs:88
↓ 4 callers
Function
compute_cost
Compute the USD cost for a pair of token counts. Uses [`COST_PER_M_INPUT`] and [`COST_PER_M_OUTPUT`] so every layer that touches token accounting pro
atomic-agent/src/provenance/detail.rs:61
↓ 4 callers
Function
compute_token_changes
Compute token-level changes between two lines. This is the core of the token-level diff - it compares the tokens of two lines and produces a sequence
atomic-core/src/diff/semantic/diff_impl.rs:274
↓ 4 callers
Function
connect
Connect to whatever serves the daemon socket — never starting one: a remote sandbox has no daemon of its own to start.
atomic-cli/src/remote_sandbox.rs:141
↓ 4 callers
Method
consolidate_operation_heads_in_txn
( &self, txn: &mut atomic_core::pristine::WriteTxn<'_>, scope: OperationScope, )
atomic-repository/src/repository/operation.rs:1346
↓ 4 callers
Method
contains
(&self, hash: &[u8; 32])
atomic-core/src/change/format_v3/hash_table.rs:432
↓ 4 callers
Method
content_len
(&self)
atomic-core/src/crdt/leaf.rs:193
↓ 4 callers
Method
context_lines
(mut self, lines: usize)
atomic-core/src/record/workflow/record/options.rs:227
↓ 4 callers
Function
count_occurrences
(content: &str, pattern: &str)
atomic-repository/src/repository/tests/record_duplication_tests.rs:36
↓ 4 callers
Function
create_insertion_tokens
Create token changes for a line that was entirely added.
atomic-core/src/diff/semantic/diff_impl.rs:237
↓ 4 callers
Method
create_tag_with_metadata
Create a named tag with optional metadata on the current view. This is the full-featured variant of [`create_tag`](Self::create_tag) that allows atta
atomic-repository/src/repository/tags.rs:53
↓ 4 callers
Function
create_watcher
Create a [`FileWatcher`] using the best available backend. Attempts to connect to Watchman first. If Watchman is not running or the connection fails,
atomic-agent/src/watcher/mod.rs:393
↓ 4 callers
Function
current_snapshot
`view`'s snapshot as the repository has it now.
libatomic/src/daemon/services_sandbox.rs:171
↓ 4 callers
Method
database_path
(&self)
atomic-repository/src/repository/mod.rs:1163
↓ 4 callers
Method
debug
(message: string, extra?: Record<string, unknown>)
packages/opencode-atomic-hooks/src/log.ts:54
↓ 4 callers
Function
decode_file_index
(value: &[u8; 52])
atomic-core/src/pristine/tables.rs:565
↓ 4 callers
Function
decode_file_index_v2
(bytes: &[u8])
atomic-core/src/pristine/file_index_v2.rs:208
↓ 4 callers
Function
decode_leaf_id
(bytes: &[u8; 12])
atomic-core/src/crdt/tables.rs:319
↓ 4 callers
Function
decode_operation_heads
Decode a versioned canonical sorted multi-head value.
atomic-core/src/operation/codec.rs:218
↓ 4 callers
Method
deferred_tree_alignment_pending_path
(&self)
atomic-repository/src/repository/deferred_tree.rs:1469
↓ 4 callers
Method
del_conflicts
(&mut self, view_id: u64, inode: u64)
atomic-core/src/pristine/txn/write/mod.rs:1745
↓ 4 callers
Method
del_directory
(&mut self, inode: Inode)
atomic-core/src/pristine/txn/write/mod.rs:2150
↓ 4 callers
Method
del_tree
(&mut self, path: &str)
atomic-core/src/pristine/txn/write/mod.rs:1853
↓ 4 callers
Method
delegation_path
Path of a certificate, by its base32 id.
atomic-identity/src/store.rs:767
↓ 4 callers
Method
delete
DELETE request, returns `()` on success.
atomic-remote/src/storage.rs:220
↓ 4 callers
Method
delete_change
Delete a change from the store. Removes all entries for this change from CHANGE_META, CHANGE_GRAPH, CHANGE_SEMANTIC, CHANGE_CHUNKS, CHANGE_UNHASHED,
atomic-repository/src/redb_change_store/queries.rs:337
↓ 4 callers
Method
deleted_files
Get only deleted files.
atomic-repository/src/repository/status.rs:1247
↓ 4 callers
Function
deserialize_postcard
(bytes: &[u8])
atomic-core/src/change/provenance/mod.rs:345
↓ 4 callers
Method
detect
Classify the current process environment from the standard markers.
atomic-config/src/lib.rs:418
↓ 4 callers
Function
detect_encoding
Detect the encoding of content. # Arguments `content` - The content to analyze # Returns The detected encoding.
atomic-core/src/record/detect.rs:744
↓ 4 callers
Function
detect_encoding
Detect the encoding of file content. Simple heuristic: if the content contains null bytes, it's binary. Otherwise, check if it's valid UTF-8.
atomic-repository/src/semantic_regen.rs:427
↓ 4 callers
Function
diff_tokens
Compute an edit script transforming `old` into `new` at the token level. Returns a sequence of [`EditOp`]s. The algorithm uses dynamic-programming LC
atomic-core/src/merge/three_way.rs:176
↓ 4 callers
Function
disk_bytes
(temp: &TempDir, name: &str)
atomic-repository/src/repository/tests/merge_property_tests.rs:86
↓ 4 callers
Function
dump_crdt_line_mismatches
(repo: &Repository, path: &str, expected: &[u8])
atomic-repository/tests/it/content_roundtrip_fidelity_test.rs:1561
↓ 4 callers
Function
durable_view_id
The durable internal view id for `view` (mapping key identity).
atomic-cli/src/commands/git/ref_mapping.rs:40
↓ 4 callers
Function
edge
(change: NodeId, dest: u64)
atomic-core/src/pristine/txn/write/native_derived.rs:459
↓ 4 callers
Method
edges
All edges.
atomic-agent/src/provenance/accumulator/mod.rs:261
↓ 4 callers
Function
effect_at
(operation: &Operation, ordinal: u32)
atomic-repository/src/repository/operation.rs:4640
↓ 4 callers
Function
emit_html
Generate a self-contained HTML page with a D3.js force-directed graph.
atomic-cli/src/commands/query/mod.rs:683
↓ 4 callers
Function
encode_effect_receipt
Encode an immutable effect receipt and verify its derived ID.
atomic-core/src/operation/codec.rs:143
↓ 4 callers
Function
encode_effect_receipt_key
(operation: OperationId, receipt: EffectReceiptId)
atomic-core/src/pristine/tables.rs:1149
↓ 4 callers
Function
encode_operation_heads
Encode a versioned canonical sorted multi-head value.
atomic-core/src/operation/codec.rs:206
↓ 4 callers
Function
encode_operation_payload
( payload: &OperationPayload, encoding_version: u8, )
atomic-core/src/operation/codec.rs:31
↓ 4 callers
Method
end
(&self)
atomic-core/src/change/format_v3/chunking.rs:243
↓ 4 callers
Method
enrich_workflow_usage
Copy full-snapshot usage summaries into a selected subgraph. Aggregate scope does not shrink when the exported graph is capped or filtered.
atomic-repository/src/workflow_usage.rs:128
↓ 4 callers
Method
ensure
(self, **env)
tests/harness/train_tracks_github_test.py:178
↓ 4 callers
Function
ensure_deny_rule
(raw: &mut serde_json::Map<String, serde_json::Value>)
atomic-agent/src/hooks/claude_code/settings.rs:197
↓ 4 callers
Method
ensure_directories
Ensure all directories in a path exist.
atomic-core/src/output/memory.rs:442
↓ 4 callers
Method
ensure_union_state
Ensure every named change (with its dependency closure) is a member of `view` before a merge resolution assembles the union state. Multi-parent merge
atomic-repository/src/repository/synthesis.rs:1298
↓ 4 callers
Method
entity
(&self)
atomic-core/src/crdt/apply/conflict.rs:319
↓ 4 callers
Function
evaluate_binding_trust
Evaluate one binding: signature validity, signer trust, and content validity stay separate fields; provenance trust requires all three. `content_veri
atomic-repository/src/git_binding/trust.rs:66
↓ 4 callers
Method
exclude
Add an exclude pattern. # Arguments `pattern` - Pattern to exclude (simple prefix matching) # Example ```rust use atomic_core::output::repo::TreeC
atomic-core/src/output/repo/tree.rs:269
↓ 4 callers
Method
exclude
Add exclude patterns.
atomic-repository/src/archive.rs:337
↓ 4 callers
Method
exclusions_for
Changes in `target_view` (full ancestor chain included) that are NOT part of `sha`'s interpreted closure — the sibling lineages that must stay invisib
atomic-cli/src/commands/git/parallel.rs:944
↓ 4 callers
Method
execute_restore_path
( &self, operation_lock: &super::locks::WorkingCopyOperationLockGuard, prepared: &supe
atomic-repository/src/repository/switch.rs:1355
↓ 4 callers
Method
execute_shelve_path
( &self, operation_lock: &super::locks::WorkingCopyOperationLockGuard, prepared: &supe
atomic-repository/src/repository/switch.rs:1132
↓ 4 callers
Method
execute_with_repo
(&self, repo: &mut Repository, confirm: F)
atomic-cli/src/commands/view/split.rs:143
↓ 4 callers
Method
execute_with_repo
(&self, repo: &mut Repository, name: &str, confirm: F)
atomic-cli/src/commands/view/delete.rs:168
↓ 4 callers
Method
expand_insertion
Convert a [`CompactInsertion`] to an `Insertion<Option<Hash>>`.
atomic-core/src/change/format_v3/compact/compactor.rs:186
↓ 4 callers
Function
expect_type
(value: &Value, expected: &str)
atomic-canonical/src/delegation.rs:615
↓ 4 callers
Function
extractSessionId
* Extract the session ID from an OpenCode event's properties. * * OpenCode events carry their data in `event.properties`, but the * shape varies by
packages/opencode-atomic-hooks/src/handlers/event.ts:366
↓ 4 callers
Function
extract_change_hashes
Extract base32 change-hash tokens from a server error message. A "missing dependency/change" error from the manifest apply names the offending change
atomic-remote/src/http/upload.rs:25
↓ 4 callers
Function
extract_first_sentence
Extract the first sentence from a block of text. Splits on sentence-ending punctuation (`.`, `!`, `?`) followed by whitespace or end-of-string. Also
atomic-agent/src/record/message.rs:139
↓ 4 callers
Method
fail_find_block
(&mut self, pos: Position<NodeId>, fault: Fault)
atomic-core/src/output/alive/retrieve/tests.rs:62
↓ 4 callers
Method
file_metadata
(&self, path: &str)
atomic-core/src/output/memory.rs:506
↓ 4 callers
Method
files_in_turn
(mut self, files: Vec<String>)
atomic-core/src/change/envelope.rs:550
↓ 4 callers
Method
filesystem_effect_path
( &self, working_copy: WorkingCopyId, target: &EffectTarget, )
atomic-repository/src/repository/operation.rs:3762
↓ 4 callers
Method
filter_path
Add a path filter.
atomic-repository/src/status.rs:834
↓ 4 callers
Method
find_block
(&self, pos: Position<NodeId>)
atomic-core/src/output/alive/retrieve/tests.rs:123
↓ 4 callers
Method
find_block_end
Resolve the span ending at `target` (or, failing that, containing it), preferring an empty marker at exactly `target`, if this change is loaded.
atomic-core/src/pristine/span_index.rs:52
← previous
next →
2,701–2,800 of 25,138, ranked by callers