Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ functions
Functions
15,897 in github.com/atomicdotdev/atomic
⨍
Functions
15,897
◇
Types & classes
1,311
↓ 4 callers
Function
detect_source
Determine the install source for a binary at `current_exe`. Manifest is consulted first under the trust gate (canonicalized path must match current_e
atomic-cli/src/commands/update.rs:185
↓ 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:85
↓ 4 callers
Function
dump_crdt_line_mismatches
(repo: &Repository, path: &str, expected: &[u8])
atomic-repository/tests/content_roundtrip_fidelity_test.rs:1546
↓ 4 callers
Method
edges
All edges.
atomic-agent/src/provenance/accumulator/mod.rs:262
↓ 4 callers
Method
emit_session_node
Upsert the session node with its current lifecycle metadata.
atomic-core/src/pristine/txn/write/session_kg.rs:300
↓ 4 callers
Method
ensure_directories
Ensure all directories in a path exist.
atomic-core/src/output/memory.rs:442
↓ 4 callers
Method
entity
(&self)
atomic-core/src/crdt/apply/conflict.rs:319
↓ 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
expand_insertion
Convert a [`CompactInsertion`] to an `Insertion<Option<Hash>>`.
atomic-core/src/change/format_v3/compact/compactor.rs:186
↓ 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
file_metadata
(&self, path: &str)
atomic-core/src/output/memory.rs:506
↓ 4 callers
Method
files_in_turn
(mut self, files: Vec<String>)
atomic-agent/src/envelope.rs:531
↓ 4 callers
Method
find_block
(&self, pos: Position<NodeId>)
atomic-core/src/apply/graph_batch.rs:199
↓ 4 callers
Method
find_ended
Find all ended sessions.
atomic-agent/src/turn/session.rs:614
↓ 4 callers
Method
find_identity_dir
Find the directory for an identity by ID.
atomic-identity/src/store.rs:742
↓ 4 callers
Method
first_line
Get the first line of a node's text (for signatures).
atomic-semantic/src/parsers/rust.rs:500
↓ 4 callers
Method
fork_session
Create a forked session from a parent at a turn boundary. The child inherits the parent's turn records through `fork_turn` as an immutable ledger pre
atomic-repository/src/repository/changes.rs:616
↓ 4 callers
Method
format
Set the archive format.
atomic-repository/src/archive.rs:307
↓ 4 callers
Function
format_local_state
Format the local state for display. # Arguments `entries` - Local history entries # Returns A formatted string like "at ABC123... (10 changes)" or
atomic-cli/src/commands/pull/helpers.rs:354
↓ 4 callers
Function
get
(id: string)
packages/opencode-atomic-hooks/src/session.ts:180
↓ 4 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
↓ 4 callers
Method
get_crdt_trunk
( &self, key: &[u8; 12], )
atomic-core/src/pristine/txn/read.rs:1321
↓ 4 callers
Method
get_directory_flags
(&self, inode: Inode)
atomic-core/src/pristine/txn/write/tree.rs:15
↓ 4 callers
Method
get_file_content_via_crdt
Get file content using the CRDT-driven walker (task #24). Walks the `Trunk → Branch` chain in file order and fetches each alive branch's bytes from i
atomic-repository/src/repository/content.rs:135
↓ 4 callers
Method
get_file_content_with_filter
Internal helper to retrieve file content with a change filter. This method handles the common logic for state-based content retrieval: 1. Check if fi
atomic-repository/src/repository/content.rs:754
↓ 4 callers
Method
get_inode
(&self, _path: &str)
atomic-core/src/record/context.rs:840
↓ 4 callers
Method
get_inode_and_position
Look up a file's inode and graph position from the pristine. Returns `None` if the file is not tracked or has no graph position.
atomic-repository/src/repository/record.rs:1193
↓ 4 callers
Method
get_internal
(&self, hash: &Hash)
atomic-core/src/apply/graph_batch.rs:172
↓ 4 callers
Method
get_kg_edges_from
(&self, node_id: &str)
atomic-core/src/pristine/txn/write/triples.rs:178
↓ 4 callers
Method
get_kg_node
(&self, id: &str)
atomic-core/src/pristine/txn/write/triples.rs:157
↓ 4 callers
Method
get_merged
Look up merged content for a vertex. Returns `Some(bytes)` if `vid` is the lead vertex of a resolved SCC.
atomic-core/src/merge/resolved.rs:95
↓ 4 callers
Method
get_state
Get the Merkle state at a given sequence number.
atomic-remote/src/sync.rs:168
↓ 4 callers
Method
get_status_options
Get status options based on command settings.
atomic-cli/src/commands/status.rs:231
↓ 4 callers
Method
get_trunk
(&self, id: TrunkId)
atomic-core/src/crdt/apply/traits.rs:510
↓ 4 callers
Method
get_visibility
Get the visibility modifier as a string ("public ", "private ", "protected ", or "").
atomic-semantic/src/parsers/java.rs:580
↓ 4 callers
Method
get_workspace
Get a single workspace by slug.
atomic-remote/src/storage.rs:293
↓ 4 callers
Function
goal_node
A prov node so the graph is non-trivial (the projection ignores nodes, but a real graph carries them).
atomic-cli/tests/provenance_integration_test.rs:56
↓ 4 callers
Function
goal_node
(id: &str, summary: &str)
atomic-cli/tests/session_integration_test.rs:43
↓ 4 callers
Method
handle_response
Handle a response: check status, parse `ApiResponse<T>`, unwrap data.
atomic-remote/src/storage.rs:210
↓ 4 callers
Function
has_content
Check if a position has any content. This is a lighter-weight check than full retrieval, useful for quickly determining if a file exists in the graph
atomic-core/src/record/workflow/retrieve.rs:279
↓ 4 callers
Method
has_file_ops
Check if this change has semantic layer operations.
atomic-core/src/change/change.rs:223
↓ 4 callers
Method
has_vault
(&self)
atomic-core/src/pristine/txn/read.rs:917
↓ 4 callers
Method
has_vault
Check if this repository has a vault initialized.
atomic-repository/src/repository/vault.rs:18
↓ 4 callers
Function
hash
(label: &str)
atomic-repository/src/repository/deferred_tree.rs:762
↓ 4 callers
Method
hunk_count
Get the number of hunks.
atomic-core/src/change/change.rs:840
↓ 4 callers
Function
identity_to_author
Check if stdin is a terminal (for interactive prompts). Convert an atomic_identity::Identity to atomic_core::change::Author. This bridges the two Aut
atomic-cli/src/commands/record/command.rs:152
↓ 4 callers
Method
ignore_patterns
Returns the list of ignore patterns.
atomic-agent/src/watcher/mod.rs:178
↓ 4 callers
Method
include_deleted
Set whether to include deleted content.
atomic-core/src/output/repo/repository/types.rs:115
↓ 4 callers
Method
increment
Increment the counter for the given node kind.
atomic-agent/src/provenance/types.rs:434
↓ 4 callers
Method
index_git_sha
Record a Git SHA → Atomic change mapping in the GIT_SHA_INDEX. Called after each commit is imported to enable O(1) incremental lookups. The `change_h
atomic-repository/src/repository/insert.rs:2731
↓ 4 callers
Method
insert
Creates a line insert operation with leaf operations.
atomic-core/src/record/workflow/crdt/builder/branch.rs:52
↓ 4 callers
Method
install
(&self, _repo_root: &Path)
atomic-agent/src/hooks/pi.rs:505
↓ 4 callers
Function
install_hooks_at
(path: &Path, force: bool)
atomic-agent/src/hooks/codex.rs:379
↓ 4 callers
Method
into_change
(self)
atomic-repository/src/record/assemble.rs:243
↓ 4 callers
Method
into_parts
Consumes and returns all parts.
atomic-core/src/change/ops.rs:263
↓ 4 callers
Method
into_push_delta
Convert this delta into a `PushDelta`. # Arguments `local_changes` - All changes in the local view that should be considered for upload. The functio
atomic-remote/src/sync.rs:350
↓ 4 callers
Method
is_draft
(self)
atomic-core/src/pristine/traits/view.rs:73
↓ 4 callers
Method
is_empty
`true` if no positions have been indexed.
atomic-core/src/record/workflow/recipes/content_hash.rs:107
↓ 4 callers
Method
is_empty
(&self)
atomic-core/src/record/workflow/detect/types.rs:340
↓ 4 callers
Method
is_empty
Check if the working copy is empty.
atomic-core/src/output/memory.rs:426
↓ 4 callers
Method
is_empty
(&self)
atomic-core/src/crdt/apply/order.rs:322
↓ 4 callers
Method
is_empty
Check if the channel is empty.
atomic-remote/src/types.rs:423
↓ 4 callers
Method
is_empty
Check if the set is empty.
atomic-identity/src/signing.rs:346
↓ 4 callers
Method
is_expired
(&self, now: i64)
atomic-cli/src/commands/agent/lifecycle.rs:147
↓ 4 callers
Function
is_file_only_on_view
Check whether a file's creating change exists ONLY on the given view (and no other view). Returns `true` when it is safe to remove the file's TREE /
atomic-repository/src/repository/insert.rs:26
↓ 4 callers
Method
is_ignored
Check if a path should be ignored. This is a convenience method that loads ignore rules and checks the path. If you need to check multiple paths, use
atomic-repository/src/repository/changes.rs:54
↓ 4 callers
Method
is_zombie
(self)
atomic-core/src/output/alive/vertex.rs:166
↓ 4 callers
Method
iter_adjacent
( &self, node: GraphNode<NodeId>, min_flag: EdgeFlags, max_flag: EdgeFlags,
atomic-core/src/pristine/traits/tests/graph_tests.rs:49
↓ 4 callers
Method
iter_conflicts
( &self, _view_id: u64, )
atomic-core/src/record/context.rs:915
↓ 4 callers
Method
iter_provenance_graphs
Iterate over all provenance graph hashes on disk.
atomic-repository/src/changestore/provenance.rs:126
↓ 4 callers
Method
kg_enrich_from_vcs
Enrich the KG from all VCS data (views, changes, files, deps). This is the main entry point for populating the KG from the repository's version contr
atomic-repository/src/repository/vault_kg_enrich.rs:46
↓ 4 callers
Method
kind
(&self)
atomic-core/src/record/workflow/crdt/tokenize/types.rs:45
↓ 4 callers
Function
lanes_from_bytes
(bytes: &[u8; 32])
atomic-core/src/types/set_id.rs:104
↓ 4 callers
Function
layer_from_dir
Build a gzipped tar layer from a directory's contents (recursive). Paths inside the tar are relative to `dir`. Regular files and symlinks are include
atomic-repository/src/oci.rs:82
↓ 4 callers
Method
len
(&self)
atomic-core/src/diff/token/token_type.rs:156
↓ 4 callers
Method
list
Returns a list of all registered agent names, sorted alphabetically. # Example ```rust use atomic_agent::hooks::AgentRegistry; let registry = Agent
atomic-agent/src/hooks/mod.rs:394
↓ 4 callers
Function
list_active
(dir: &Path, now: i64)
atomic-cli/src/commands/agent/lifecycle.rs:439
↓ 4 callers
Method
list_stashes
List all stash views, sorted by creation time (newest first).
atomic-cli/src/commands/stash.rs:284
↓ 4 callers
Method
load_headers
Enable loading of change headers. This is slower but provides access to message, authors, etc.
atomic-repository/src/history/types.rs:271
↓ 4 callers
Method
load_session_turns_for_write
( &self, session_id: &str, )
atomic-core/src/pristine/txn/write/mod.rs:310
↓ 4 callers
Function
make_internal_vertex
(change: NodeId, start: u64, end: u64)
atomic-core/src/apply/insertion.rs:300
↓ 4 callers
Function
make_position
(change: Option<Hash>, pos: u64)
atomic-core/src/apply/insertion.rs:293
↓ 4 callers
Function
make_simple_graph
Create a minimal alive graph with one node
atomic-core/src/output/repo/content.rs:795
↓ 4 callers
Function
make_simple_order
Create a simple order result with one SCC containing one vertex Note: index 0 is DUMMY, so our vertex is at index 1
atomic-core/src/output/repo/content.rs:806
↓ 4 callers
Function
managed_context
(view: Option<&str>)
atomic-agent/src/turn/orchestrator/tests.rs:987
↓ 4 callers
Function
manifest_json
(target: &Path, prefix: &str)
atomic-agent/src/hooks/manifest.rs:389
↓ 4 callers
Method
mark_binary_file
Mark that a binary file was recorded.
atomic-core/src/record/builder.rs:378
↓ 4 callers
Method
mark_failed
Marks the apply as failed with a reason.
atomic-core/src/crdt/apply/context.rs:514
↓ 4 callers
Method
materialize_paths
Materialize only specific files to the working copy. This is used after `insert` operations to only rewrite files that were actually affected by the
atomic-repository/src/repository/materialize.rs:360
↓ 4 callers
Function
materialize_view
Materialize the repository view (or prefix) to the working copy. This is the main entry point for synchronizing the working copy with the repository
atomic-core/src/output/repo/repository/mod.rs:208
↓ 4 callers
Method
max_depth
Set the maximum traversal depth. # Arguments `depth` - Maximum depth (0 = only root level) # Example ```rust use atomic_core::output::repo::TreeCo
atomic-core/src/output/repo/tree.rs:210
↓ 4 callers
Method
max_file_size
(mut self, size: usize)
atomic-core/src/record/workflow/record/options.rs:158
↓ 4 callers
Method
merge
Merge another `TurnChanges` into this one. Used when combining sub-turn changes (e.g., from multiple tool invocations within a single turn). Deduplic
atomic-agent/src/event.rs:562
↓ 4 callers
Function
merge_candidate
( candidates: &mut HashMap<String, CandidateScore>, node_id: &str, path: Option<String>, base:
atomic-cli/src/commands/vault/context.rs:427
↓ 4 callers
Method
modified_time
(&self, _path: &str)
atomic-core/src/output/traits.rs:576
↓ 4 callers
Function
move_tracked
Move/rename a tracked file. This updates the path → inode mapping while preserving the inode, so the file's history is maintained. # Arguments `txn
atomic-repository/src/tracking/tree_ops.rs:389
← previous
next →
1,301–1,400 of 15,897, ranked by callers