MCPcopy Create free account

hub / github.com/atomicdotdev/atomic / functions

Functions14,282 in github.com/atomicdotdev/atomic

↓ 14 callersMethodvault_goal_start
Start a new vault goal. Creates a goal directory under `.vault/goals/` with a `_goal.md` file containing initial metadata. Goal names are Docker-sty
atomic-repository/src/repository/vault_goal.rs:81
↓ 14 callersMethodverify
Verify the content hash by reading the trailer. Reads the 32-byte trailer from the source and compares it to the blake3 hash computed incrementally f
atomic-core/src/change/format_v3/reader/sections.rs:264
↓ 13 callersMethodbuild
Build the attestation.
atomic-core/src/change/attestation.rs:648
↓ 13 callersFunctiondiff
Compute the diff between two sequences using the Patience algorithm. This algorithm often produces more intuitive diffs for source code by using uniq
atomic-core/src/diff/patience.rs:80
↓ 13 callersFunctiondiff_text
Diff two byte slices as text, splitting on newlines. This is a convenience function that handles the common case of diffing two text files. It splits
atomic-core/src/diff/mod.rs:544
↓ 13 callersMethoddisplay
Format the stash entry for display. Returns a human-readable string like: `stash@{0}: On dev: Fix authentication bug`
atomic-cli/src/commands/stash.rs:223
↓ 13 callersMethodfinish
Consumes the context and returns the final outcome. # Example ```rust use atomic_core::crdt::apply::{ApplyContext, ApplyOptions}; let mut context =
atomic-core/src/crdt/apply/context.rs:633
↓ 13 callersMethodget_contents
( &self, hash_fn: F, node: GraphNode<NodeId>, buf: &mut [u8], )
atomic-core/src/change/store.rs:440
↓ 13 callersMethodget_file_content
Get the recorded content for a tracked file. This method builds a **change filter** that defines the current view's content perspective, then retriev
atomic-repository/src/repository/content.rs:27
↓ 13 callersMethodheader
Get the graph_op header in unified diff format. Returns a string like `@@ -1,5 +1,6 @@`
atomic-cli/src/commands/diff/types.rs:397
↓ 13 callersMethodis_deleted
(&self)
atomic-core/src/crdt/leaf.rs:79
↓ 13 callersMethoditer_forward
Iterate forward (non-parent) edges from a vertex. Returns typed [`ForwardEdge`] values. When `include_deleted` is true, deleted edges (`BlockDeleted`
atomic-core/src/pristine/traits/graph.rs:201
↓ 13 callersMethodkind
(&self)
atomic-core/src/record/workflow/crdt/line_ops/types.rs:400
↓ 13 callersFunctionmake_position
(change: u64, pos: u64)
atomic-core/src/apply/conflict.rs:469
↓ 13 callersMethodparse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/devin.rs:208
↓ 13 callersFunctionprint_error
Print an error message to stderr. The message is formatted in red with an X prefix. # Arguments `message` - The message to print # Example ```rus
atomic-cli/src/output/mod.rs:103
↓ 13 callersMethodput_vault_manifest
(&mut self, manifest: &VaultManifest)
atomic-core/src/pristine/txn/write/vault.rs:141
↓ 13 callersFunctionrecord_change
Helper to record a change with a message.
atomic-repository/tests/state_based_diff_test.rs:60
↓ 13 callersMethodrun
Execute the log command. This method: 1. Finds the repository root 2. Opens the repository 3. Queries history based on options 4. Formats and display
atomic-cli/src/commands/log/command.rs:478
↓ 13 callersMethodserialize
Serialize the provenance graph to bytes. Format: `[MAGIC: 4 bytes][postcard payload]` The hash is computed over the entire serialized output.
atomic-core/src/change/provenance_graph/mod.rs:253
↓ 13 callersMethodsuccess
Create a mock that returns a successful reasoning.
atomic-agent/src/transcript/generator.rs:421
↓ 13 callersMethodto_flags
(self)
atomic-core/src/types/edge_kind.rs:96
↓ 13 callersFunctionturn_start_event
(session_id: &str, prompt: &str)
atomic-agent/src/turn/orchestrator/tests.rs:30
↓ 13 callersMethodupsert_kg_node
(&mut self, node: &KgNode)
atomic-core/src/pristine/txn/write/triples.rs:201
↓ 13 callersMethodvault_list
List vault entries, optionally filtered by prefix and entry type.
atomic-repository/src/repository/vault.rs:272
↓ 13 callersMethodvendor
Set the AI vendor.
atomic-core/src/change/provenance/builder.rs:37
↓ 13 callersMethodwith_modified
(mut self, files: Vec<PathBuf>)
atomic-agent/src/event.rs:487
↓ 13 callersFunctionwriter_with_preamble
Helper: create a minimal writer with header + hash table already written.
atomic-core/src/change/format_v3/writer/tests.rs:12
↓ 12 callersMethodadd_file
Add statistics for a file. # Arguments `file_stats` - Statistics for the file to add
atomic-cli/src/commands/diff/types.rs:199
↓ 12 callersMethodadd_file
Adds a new file and returns its trunk ID. Creates a `TrunkOp::Create` for the file. Use [`add_line`](Self::add_line) to add content to the file.
atomic-core/src/record/workflow/crdt/builder/trunk.rs:152
↓ 12 callersMethodall
Create an empty filter (matches all).
atomic-identity/src/store.rs:269
↓ 12 callersFunctionapply_common_actions
Apply the common (non-strategy-specific) actions from a transition result to the given session state. This updates `phase`, `last_interaction`, and `
atomic-agent/src/turn/phase.rs:632
↓ 12 callersFunctionbuild_turn_envelope
Build a `SessionEnvelope` for embedding in `HashedChange.metadata`.
atomic-agent/src/record/provenance.rs:177
↓ 12 callersFunctionbuild_turn_provenance
Build a `Provenance` entry for an agent turn. Populates vendor, model, tool, suggestion type, session ID, and prompt hash. Token usage and cost can b
atomic-agent/src/record/provenance.rs:26
↓ 12 callersMethodcompact_graph_op
Convert a `GraphOp<Option<Hash>>` to a [`CompactGraphOp`]. This is the main entry point for compacting a full graph operation before serialization. I
atomic-core/src/change/format_v3/compact/convert.rs:26
↓ 12 callersFunctioncreate_and_add_file
Helper to create a file in the repository and add it.
atomic-repository/tests/state_based_diff_test.rs:52
↓ 12 callersFunctioncreate_test_branch
(txn: &mut MockTxn, change_id: u64, branch_idx: u32)
atomic-core/src/crdt/apply/leaf.rs:623
↓ 12 callersMethoddependencies
Get the change dependencies.
atomic-core/src/change/change.rs:267
↓ 12 callersMethoddest
(&self)
atomic-core/src/types/edge_kind.rs:330
↓ 12 callersFunctionempty_status
()
atomic-agent/src/record/tests.rs:77
↓ 12 callersFunctionencode_trunk_value
Encode trunk data as variable-length bytes for storage. # Layout ```text ┌────────────────────────────────────────────────┐ │ Bytes 0-7: inode (u64
atomic-core/src/crdt/tables.rs:725
↓ 12 callersFunctionencode_view_seq
(view_id: u64, seq: u64)
atomic-core/src/pristine/tables.rs:840
↓ 12 callersMethodfinish
Finishes building and returns the result.
atomic-core/src/record/workflow/crdt/builder/mod.rs:341
↓ 12 callersMethodget_vault_manifest
(&self)
atomic-core/src/pristine/txn/read.rs:740
↓ 12 callersMethodhas
* Check whether a session exists without creating it.
packages/opencode-atomic-hooks/src/session.ts:95
↓ 12 callersMethodid
(&self)
atomic-core/src/crdt/apply/order.rs:223
↓ 12 callersMethodis_empty
Returns `true` if there are no nodes.
atomic-agent/src/provenance/types.rs:455
↓ 12 callersMethodis_empty
Check if the view has any changes.
atomic-core/src/pristine/traits/view.rs:253
↓ 12 callersMethoditer_parents
Iterate parent (reverse) edges of a vertex. Returns typed [`ParentEdge`] values. When `include_deleted` is true, deleted parent edges are included; o
atomic-core/src/pristine/traits/graph.rs:242
↓ 12 callersMethodmodified
Create an input for a modified file.
atomic-repository/src/parallel_record/mod.rs:95
↓ 12 callersMethodnode_text
Get the text content of a node.
atomic-semantic/src/parsers/swift.rs:557
↓ 12 callersMethodnode_text
Get the text content of a node.
atomic-semantic/src/parsers/cpp.rs:688
↓ 12 callersMethodparse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/sherpa.rs:188
↓ 12 callersMethodpush_child_to_last
Push a child and increment the last span's child count. This is a convenience method that combines pushing a child and updating the count on the most
atomic-core/src/output/alive/graph.rs:212
↓ 12 callersMethodput_change
( &mut self, view: &mut ViewState, change_id: NodeId, change_hash: &Hash,
atomic-core/src/pristine/txn/write/mod.rs:512
↓ 12 callersMethodrecord_file
Record a file write. # Arguments `path` - The path of the file that was written `bytes` - The number of bytes written # Example ```rust use atomic
atomic-core/src/output/repo/outcome.rs:225
↓ 12 callersMethodrecord_skipped
(&mut self)
atomic-core/src/crdt/apply/context.rs:595
↓ 12 callersMethodregister
Register a new agent adapter. If an agent with the same name is already registered, the new one replaces it.
atomic-agent/src/hooks/mod.rs:310
↓ 12 callersMethodset
(&mut self, flag: u32)
atomic-core/src/change/format_v3/types/header.rs:79
↓ 12 callersMethodset_last_children_start
Set the children start index for the last span. This should be called before pushing that span's children. # Panics Panics if the graph has no vert
atomic-core/src/output/alive/graph.rs:226
↓ 12 callersMethodskip
Record a skipped path.
atomic-repository/src/tracking/mod.rs:265
↓ 12 callersMethodstate
(&self)
atomic-core/src/crdt/leaf.rs:205
↓ 12 callersMethodtimestamp
Set the timestamp (Unix epoch seconds). Defaults to now.
atomic-core/src/change/provenance_graph/builder.rs:137
↓ 12 callersMethodtruncate
Truncate text to fit within a maximum width.
atomic-cli/src/output/table.rs:422
↓ 12 callersMethodupsert_kg_edge
(&mut self, edge: &KgEdge)
atomic-core/src/pristine/txn/write/triples.rs:228
↓ 12 callersMethodvault_intent_update
Update an intent's fields.
atomic-repository/src/repository/vault_intent.rs:416
↓ 12 callersMethodwrite_semantic_section
Write a SEMANTIC section for a single file. Each modified file can have one SEMANTIC section containing its Trunk/Branch/Leaf operations for code rev
atomic-core/src/change/format_v3/writer/sections.rs:66
↓ 11 callersMethodadd_directory
Add a directory. # Example ```rust use atomic_core::output::{Memory, WorkingCopyRead}; let wc = Memory::new(); wc.add_directory("src/utils"); asse
atomic-core/src/output/memory.rs:339
↓ 11 callersMethodadd_line_op
Adds a line operation.
atomic-core/src/record/workflow/crdt/builder/trunk.rs:87
↓ 11 callersMethodadd_line_op
Adds a line operation.
atomic-core/src/change/ops.rs:217
↓ 11 callersMethodallow_duplicate_ids
(&self)
atomic-core/src/crdt/apply/options.rs:302
↓ 11 callersMethodas_str
Convert to string representation for storage
atomic-semantic/src/entity.rs:38
↓ 11 callersFunctioncompare_content
Compare two content blobs and produce a diff. This is the main entry point for content comparison. It handles: - Encoding detection for both contents
atomic-core/src/record/workflow/compare.rs:337
↓ 11 callersFunctioncondense_claude_transcript
Parse a Claude Code JSONL transcript into condensed entries. Reads each line as JSON, extracts user prompts, assistant text responses, and tool calls
atomic-agent/src/transcript/condense.rs:32
↓ 11 callersMethodcontents_chunks
Set the number of content chunks.
atomic-core/src/change/format_v3/types/builder.rs:82
↓ 11 callersFunctionconvert_remote_error
Convert a remote error to a CLI error. Maps the various remote error types to appropriate CLI error types with user-friendly messages and suggestions
atomic-cli/src/commands/clone/helpers.rs:380
↓ 11 callersFunctionconvert_remote_error
Convert a remote error to a CLI error. Maps the various remote error types to appropriate CLI error types with user-friendly messages and suggestions
atomic-cli/src/commands/pull/helpers.rs:243
↓ 11 callersFunctioncrdt_output
(repo: &Repository, path: &str)
atomic-repository/tests/content_roundtrip_fidelity_test.rs:1400
↓ 11 callersMethodcrdt_stats
(&self)
atomic-core/src/record/workflow/record/types.rs:418
↓ 11 callersFunctioncreate_progress_bar
Create a progress bar for operations with known total. Use this when you know ahead of time how many items will be processed or how many bytes will b
atomic-cli/src/output/progress.rs:118
↓ 11 callersFunctioncreate_test_change
Create a simple test change with the given message.
atomic-repository/src/changestore/tests.rs:25
↓ 11 callersFunctioncreate_test_entry_with_header
()
atomic-cli/src/commands/log/tests.rs:406
↓ 11 callersFunctioncreate_test_trunk
(txn: &mut MockTxn, node_id: u64)
atomic-core/src/crdt/apply/branch.rs:675
↓ 11 callersMethodexpand_graph_op
Convert a [`CompactGraphOp`] to a `GraphOp<Option<Hash>>`. This is the main entry point for expanding a compact graph operation after deserialization
atomic-core/src/change/format_v3/compact/convert.rs:181
↓ 11 callersMethodfile_ops
Get a reference to the file operations.
atomic-core/src/change/change.rs:218
↓ 11 callersMethodhas_modifier
Check if a node has a specific modifier (public, private, static, final, abstract, etc.).
atomic-semantic/src/parsers/java.rs:554
↓ 11 callersMethodinto_inner
Consume this writer and return the underlying writer.
atomic-core/src/output/traits.rs:651
↓ 11 callersMethodis_empty
(&self)
atomic-core/src/record/workflow/record/types.rs:467
↓ 11 callersMethoditer_changes
Iterate over all change hashes stored on disk. This scans the changes directory and yields the hash of each change file found. The iteration order is
atomic-repository/src/changestore/mod.rs:534
↓ 11 callersMethodlist_tracked_files
List all tracked files in the repository. # Example ```rust,ignore for file in repo.list_tracked_files()? { println!("{}: inode {}", file.path.displ
atomic-repository/src/repository/tracking.rs:508
↓ 11 callersMethodload_meta
Load the metadata for a change. This reads only from CHANGE_META — the cheapest possible read. Useful for `atomic log`, header inspection, dependency
atomic-repository/src/redb_change_store/mod.rs:410
↓ 11 callersFunctionmake_envelope
()
atomic-agent/src/envelope.rs:578
↓ 11 callersFunctionmake_forward_edge
(kind: EdgeKind, introduced_by: u64)
atomic-core/src/output/alive/retrieve/tests.rs:74
↓ 11 callersMethodmax_operations
(&self)
atomic-core/src/crdt/apply/options.rs:314
↓ 11 callersMethodnext
(&mut self)
atomic-core/src/record/workflow/crdt/tokenize/mod.rs:243
↓ 11 callersMethodops
Get the operations as a slice.
atomic-core/src/diff/ops.rs:465
↓ 11 callersMethodorg_slug
The org slug this client is scoped to.
atomic-remote/src/storage.rs:79
↓ 11 callersMethodput_directory
(&mut self, inode: Inode, flags: u8)
atomic-core/src/pristine/txn/write/mod.rs:1036
↓ 11 callersFunctionrecord_modified_file
( working_copy: &W, detected: &DetectedFile, old_content: &[u8], crdt_old_content: Option<&[u8
atomic-core/src/record/workflow/record/mod.rs:365
↓ 11 callersMethodreverse
Create the reverse edge modification. This creates an edge that undoes this modification: - Swaps `previous` and `flag` - Uses the given `introduced_
atomic-core/src/change/atom.rs:417
← previousnext →301–400 of 14,282, ranked by callers