MCPcopy Create free account

hub / github.com/atomicdotdev/atomic / functions

Functions15,897 in github.com/atomicdotdev/atomic

↓ 4 callersFunctiondetect_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 callersFunctiondiff_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 callersFunctiondisk_bytes
(temp: &TempDir, name: &str)
atomic-repository/src/repository/tests/merge_property_tests.rs:85
↓ 4 callersFunctiondump_crdt_line_mismatches
(repo: &Repository, path: &str, expected: &[u8])
atomic-repository/tests/content_roundtrip_fidelity_test.rs:1546
↓ 4 callersMethodedges
All edges.
atomic-agent/src/provenance/accumulator/mod.rs:262
↓ 4 callersMethodemit_session_node
Upsert the session node with its current lifecycle metadata.
atomic-core/src/pristine/txn/write/session_kg.rs:300
↓ 4 callersMethodensure_directories
Ensure all directories in a path exist.
atomic-core/src/output/memory.rs:442
↓ 4 callersMethodentity
(&self)
atomic-core/src/crdt/apply/conflict.rs:319
↓ 4 callersMethodexclude
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 callersMethodexclude
Add exclude patterns.
atomic-repository/src/archive.rs:337
↓ 4 callersMethodexpand_insertion
Convert a [`CompactInsertion`] to an `Insertion<Option<Hash>>`.
atomic-core/src/change/format_v3/compact/compactor.rs:186
↓ 4 callersFunctionextractSessionId
* 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 callersFunctionextract_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 callersFunctionextract_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 callersMethodfile_metadata
(&self, path: &str)
atomic-core/src/output/memory.rs:506
↓ 4 callersMethodfiles_in_turn
(mut self, files: Vec<String>)
atomic-agent/src/envelope.rs:531
↓ 4 callersMethodfind_block
(&self, pos: Position<NodeId>)
atomic-core/src/apply/graph_batch.rs:199
↓ 4 callersMethodfind_ended
Find all ended sessions.
atomic-agent/src/turn/session.rs:614
↓ 4 callersMethodfind_identity_dir
Find the directory for an identity by ID.
atomic-identity/src/store.rs:742
↓ 4 callersMethodfirst_line
Get the first line of a node's text (for signatures).
atomic-semantic/src/parsers/rust.rs:500
↓ 4 callersMethodfork_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 callersMethodformat
Set the archive format.
atomic-repository/src/archive.rs:307
↓ 4 callersFunctionformat_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 callersFunctionget
(id: string)
packages/opencode-atomic-hooks/src/session.ts:180
↓ 4 callersMethodget_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 callersMethodget_crdt_trunk
( &self, key: &[u8; 12], )
atomic-core/src/pristine/txn/read.rs:1321
↓ 4 callersMethodget_directory_flags
(&self, inode: Inode)
atomic-core/src/pristine/txn/write/tree.rs:15
↓ 4 callersMethodget_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 callersMethodget_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 callersMethodget_inode
(&self, _path: &str)
atomic-core/src/record/context.rs:840
↓ 4 callersMethodget_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 callersMethodget_internal
(&self, hash: &Hash)
atomic-core/src/apply/graph_batch.rs:172
↓ 4 callersMethodget_kg_edges_from
(&self, node_id: &str)
atomic-core/src/pristine/txn/write/triples.rs:178
↓ 4 callersMethodget_kg_node
(&self, id: &str)
atomic-core/src/pristine/txn/write/triples.rs:157
↓ 4 callersMethodget_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 callersMethodget_state
Get the Merkle state at a given sequence number.
atomic-remote/src/sync.rs:168
↓ 4 callersMethodget_status_options
Get status options based on command settings.
atomic-cli/src/commands/status.rs:231
↓ 4 callersMethodget_trunk
(&self, id: TrunkId)
atomic-core/src/crdt/apply/traits.rs:510
↓ 4 callersMethodget_visibility
Get the visibility modifier as a string ("public ", "private ", "protected ", or "").
atomic-semantic/src/parsers/java.rs:580
↓ 4 callersMethodget_workspace
Get a single workspace by slug.
atomic-remote/src/storage.rs:293
↓ 4 callersFunctiongoal_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 callersFunctiongoal_node
(id: &str, summary: &str)
atomic-cli/tests/session_integration_test.rs:43
↓ 4 callersMethodhandle_response
Handle a response: check status, parse `ApiResponse<T>`, unwrap data.
atomic-remote/src/storage.rs:210
↓ 4 callersFunctionhas_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 callersMethodhas_file_ops
Check if this change has semantic layer operations.
atomic-core/src/change/change.rs:223
↓ 4 callersMethodhas_vault
(&self)
atomic-core/src/pristine/txn/read.rs:917
↓ 4 callersMethodhas_vault
Check if this repository has a vault initialized.
atomic-repository/src/repository/vault.rs:18
↓ 4 callersFunctionhash
(label: &str)
atomic-repository/src/repository/deferred_tree.rs:762
↓ 4 callersMethodhunk_count
Get the number of hunks.
atomic-core/src/change/change.rs:840
↓ 4 callersFunctionidentity_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 callersMethodignore_patterns
Returns the list of ignore patterns.
atomic-agent/src/watcher/mod.rs:178
↓ 4 callersMethodinclude_deleted
Set whether to include deleted content.
atomic-core/src/output/repo/repository/types.rs:115
↓ 4 callersMethodincrement
Increment the counter for the given node kind.
atomic-agent/src/provenance/types.rs:434
↓ 4 callersMethodindex_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 callersMethodinsert
Creates a line insert operation with leaf operations.
atomic-core/src/record/workflow/crdt/builder/branch.rs:52
↓ 4 callersMethodinstall
(&self, _repo_root: &Path)
atomic-agent/src/hooks/pi.rs:505
↓ 4 callersFunctioninstall_hooks_at
(path: &Path, force: bool)
atomic-agent/src/hooks/codex.rs:379
↓ 4 callersMethodinto_change
(self)
atomic-repository/src/record/assemble.rs:243
↓ 4 callersMethodinto_parts
Consumes and returns all parts.
atomic-core/src/change/ops.rs:263
↓ 4 callersMethodinto_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 callersMethodis_draft
(self)
atomic-core/src/pristine/traits/view.rs:73
↓ 4 callersMethodis_empty
`true` if no positions have been indexed.
atomic-core/src/record/workflow/recipes/content_hash.rs:107
↓ 4 callersMethodis_empty
(&self)
atomic-core/src/record/workflow/detect/types.rs:340
↓ 4 callersMethodis_empty
Check if the working copy is empty.
atomic-core/src/output/memory.rs:426
↓ 4 callersMethodis_empty
(&self)
atomic-core/src/crdt/apply/order.rs:322
↓ 4 callersMethodis_empty
Check if the channel is empty.
atomic-remote/src/types.rs:423
↓ 4 callersMethodis_empty
Check if the set is empty.
atomic-identity/src/signing.rs:346
↓ 4 callersMethodis_expired
(&self, now: i64)
atomic-cli/src/commands/agent/lifecycle.rs:147
↓ 4 callersFunctionis_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 callersMethodis_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 callersMethodis_zombie
(self)
atomic-core/src/output/alive/vertex.rs:166
↓ 4 callersMethoditer_adjacent
( &self, node: GraphNode<NodeId>, min_flag: EdgeFlags, max_flag: EdgeFlags,
atomic-core/src/pristine/traits/tests/graph_tests.rs:49
↓ 4 callersMethoditer_conflicts
( &self, _view_id: u64, )
atomic-core/src/record/context.rs:915
↓ 4 callersMethoditer_provenance_graphs
Iterate over all provenance graph hashes on disk.
atomic-repository/src/changestore/provenance.rs:126
↓ 4 callersMethodkg_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 callersMethodkind
(&self)
atomic-core/src/record/workflow/crdt/tokenize/types.rs:45
↓ 4 callersFunctionlanes_from_bytes
(bytes: &[u8; 32])
atomic-core/src/types/set_id.rs:104
↓ 4 callersFunctionlayer_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 callersMethodlen
(&self)
atomic-core/src/diff/token/token_type.rs:156
↓ 4 callersMethodlist
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 callersFunctionlist_active
(dir: &Path, now: i64)
atomic-cli/src/commands/agent/lifecycle.rs:439
↓ 4 callersMethodlist_stashes
List all stash views, sorted by creation time (newest first).
atomic-cli/src/commands/stash.rs:284
↓ 4 callersMethodload_headers
Enable loading of change headers. This is slower but provides access to message, authors, etc.
atomic-repository/src/history/types.rs:271
↓ 4 callersMethodload_session_turns_for_write
( &self, session_id: &str, )
atomic-core/src/pristine/txn/write/mod.rs:310
↓ 4 callersFunctionmake_internal_vertex
(change: NodeId, start: u64, end: u64)
atomic-core/src/apply/insertion.rs:300
↓ 4 callersFunctionmake_position
(change: Option<Hash>, pos: u64)
atomic-core/src/apply/insertion.rs:293
↓ 4 callersFunctionmake_simple_graph
Create a minimal alive graph with one node
atomic-core/src/output/repo/content.rs:795
↓ 4 callersFunctionmake_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 callersFunctionmanaged_context
(view: Option<&str>)
atomic-agent/src/turn/orchestrator/tests.rs:987
↓ 4 callersFunctionmanifest_json
(target: &Path, prefix: &str)
atomic-agent/src/hooks/manifest.rs:389
↓ 4 callersMethodmark_binary_file
Mark that a binary file was recorded.
atomic-core/src/record/builder.rs:378
↓ 4 callersMethodmark_failed
Marks the apply as failed with a reason.
atomic-core/src/crdt/apply/context.rs:514
↓ 4 callersMethodmaterialize_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 callersFunctionmaterialize_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 callersMethodmax_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 callersMethodmax_file_size
(mut self, size: usize)
atomic-core/src/record/workflow/record/options.rs:158
↓ 4 callersMethodmerge
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 callersFunctionmerge_candidate
( candidates: &mut HashMap<String, CandidateScore>, node_id: &str, path: Option<String>, base:
atomic-cli/src/commands/vault/context.rs:427
↓ 4 callersMethodmodified_time
(&self, _path: &str)
atomic-core/src/output/traits.rs:576
↓ 4 callersFunctionmove_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
← previousnext →1,301–1,400 of 15,897, ranked by callers