MCPcopy Create free account

hub / github.com/atomicdotdev/atomic / functions

Functions14,282 in github.com/atomicdotdev/atomic

↓ 2 callersMethodcontent_len
(&self)
atomic-core/src/record/workflow/globalize/context.rs:216
↓ 2 callersMethodcontent_str
Returns the token content as a string (lossy UTF-8 conversion).
atomic-core/src/output/crdt.rs:97
↓ 2 callersMethodcontent_without_newline
(&self)
atomic-core/src/diff/line.rs:227
↓ 2 callersFunctioncontext_file_for_agent
Returns the context file name for a given agent. Each agent reads a specific markdown file at session start for project context. Learnings are append
atomic-agent/src/learnings.rs:121
↓ 2 callersFunctioncontext_file_path
Returns the full path to the agent's context file in a repository.
atomic-agent/src/learnings.rs:133
↓ 2 callersMethodcontext_lines
(mut self, lines: usize)
atomic-core/src/record/workflow/graph_op/options.rs:143
↓ 2 callersMethodcontext_lines
(mut self, lines: usize)
atomic-repository/src/record/options.rs:170
↓ 2 callersMethodconvert_line_insert
Converts a line insertion to CRDT operations. # Arguments `trunk_id` - The file containing the line `after_branch` - The branch to insert after (Non
atomic-core/src/record/workflow/crdt/convert/converter.rs:264
↓ 2 callersMethodconvert_tokens_to_inserts
Convert token changes to insert-only LeafOps (for added/deleted lines).
atomic-core/src/diff/semantic_to_crdt.rs:522
↓ 2 callersFunctioncount_occurrences
(content: &str, pattern: &str)
atomic-repository/src/repository/tests/cross_view_merge_tests.rs:15
↓ 2 callersFunctioncreateSessionState
(now?: number)
packages/opencode-atomic-hooks/src/session.ts:64
↓ 2 callersFunctioncreate_alive_vertex
Create an AliveVertex from an already-resolved span, if it's alive. This function: 1. Checks if the span is alive (has non-deleted edges) 2. Checks i
atomic-core/src/output/alive/retrieve/classify.rs:27
↓ 2 callersMethodcreate_branch
Creates a new branch (line) in a trunk. # Arguments `id` - The branch ID `trunk_id` - The parent trunk `after` - Insert after this branch, or `None`
atomic-core/src/crdt/apply/traits.rs:410
↓ 2 callersFunctioncreate_content_vertex
Create a Insertion for file content. This creates a span containing actual file content, with proper up and down context for positioning in the graph
atomic-core/src/record/workflow/globalize/vertex.rs:130
↓ 2 callersMethodcreate_dir_all
(&self, _path: &str)
atomic-core/src/output/traits.rs:592
↓ 2 callersMethodcreate_directory
(&mut self, path: &str, _mode: u32, _mtime: u64)
atomic-repository/src/archive.rs:751
↓ 2 callersMethodcreate_leaf
Creates a new leaf (token) in a branch. # Arguments `id` - The leaf ID `branch_id` - The parent branch `kind` - The token kind `content_range` - Byt
atomic-core/src/crdt/apply/traits.rs:440
↓ 2 callersMethodcreate_project
Create a new project in a workspace.
atomic-remote/src/storage.rs:298
↓ 2 callersMethodcreate_workspace
Create a new workspace.
atomic-remote/src/storage.rs:258
↓ 2 callersFunctionctx
( old: &'a [u8], new: &'a [u8], existing: Option<&'a [crate::crdt::BranchId]>, )
atomic-core/src/record/workflow/recipes/detector.rs:122
↓ 2 callersFunctioncurrent_dir_canonical
()
atomic-cli/src/commands/agent/lifecycle.rs:434
↓ 2 callersFunctioncurrent_git_branch
(git_repo: &GitRepository)
atomic-cli/src/commands/git/import.rs:153
↓ 2 callersMethodcurrent_turn_duration_ms
Returns the duration of the current turn in milliseconds, if a turn is active.
atomic-agent/src/turn/session.rs:364
↓ 2 callersFunctiondecode_token_kind
(byte: u8)
atomic-core/src/crdt/tables.rs:480
↓ 2 callersFunctiondeep_merge
Deep-merge `extra` into `root`: objects merge recursively, arrays union by value (no duplicates), scalars overwrite. Used for non-hook settings such a
atomic-agent/src/hooks/manifest.rs:317
↓ 2 callersFunctiondefault_session
Keep the default random view_name; do not pin it to `dev`.
atomic-agent/tests/record_view_mismatch_regression.rs:15
↓ 2 callersMethoddel_kg_edges_for_node
(&mut self, node_id: &str)
atomic-core/src/pristine/txn/write/triples.rs:294
↓ 2 callersMethoddel_kg_node
(&mut self, id: &str)
atomic-core/src/pristine/txn/write/triples.rs:249
↓ 2 callersMethoddelete
Marks the leaf as deleted.
atomic-core/src/crdt/leaf.rs:241
↓ 2 callersMethoddelete
DELETE request, returns `()` on success.
atomic-remote/src/storage.rs:163
↓ 2 callersFunctiondelete_all_content
Build an [`EdgeUpdate`] that marks every content vertex in the file as deleted. This is the single place where "find all content vertices → create de
atomic-core/src/record/workflow/globalize/hunk.rs:579
↓ 2 callersMethoddelete_line
Marks a line for deletion. Note: This creates a delete without content. For deletes with content (for diff display), use the `LineOps::delete()` cons
atomic-core/src/record/workflow/crdt/builder/branch.rs:277
↓ 2 callersMethoddelete_tag
Delete a tag by name from the current view.
atomic-repository/src/repository/tags.rs:230
↓ 2 callersMethoddeleted
Create an input for a deleted file.
atomic-repository/src/parallel_record/mod.rs:113
↓ 2 callersMethoddeleted_count
(&self)
atomic-core/src/record/workflow/detect/types.rs:397
↓ 2 callersMethoddependencies
(&self)
atomic-core/src/record/workflow/globalize/context.rs:178
↓ 2 callersMethoddescription
Get a human-readable description.
atomic-identity/src/identity.rs:134
↓ 2 callersMethoddest
(&self)
atomic-core/src/types/graph_edge.rs:242
↓ 2 callersMethoddetect
Detect the encoding of the given content. This function analyzes the content to determine its encoding: 1. Checks for BOM (Byte Order Mark) 2. Check
atomic-core/src/change/encoding.rs:108
↓ 2 callersMethoddetect_moves
(mut self, detect: bool)
atomic-core/src/record/workflow/detect/mod.rs:178
↓ 2 callersFunctiondiff_with_options
( old: &[Line<'a>], new: &[Line<'a>], algorithm: Algorithm, rewrite_shifts: bool, )
atomic-core/src/diff/mod.rs:188
↓ 2 callersMethoddownload_change
Download a change file by hash. # Arguments `hash` - The base32-encoded hash of the change. # Returns The raw change file data.
atomic-remote/src/http/queries.rs:174
↓ 2 callersMethodembed
Embed a batch of texts using the resolved provider. Returns one vector per input text.
atomic-repository/src/ai/mod.rs:140
↓ 2 callersFunctionencode_token_kind
(kind: TokenKind)
atomic-core/src/crdt/tables.rs:462
↓ 2 callersMethodencoding
(&self)
atomic-core/src/record/workflow/record/types.rs:388
↓ 2 callersMethodendTool
* Complete a tool invocation and return the elapsed duration. * * Removes the start time entry from the session. If the tool call * was not p
packages/opencode-atomic-hooks/src/session.ts:153
↓ 2 callersMethodend_cyclic_conflict
(&mut self, id: usize)
atomic-core/src/output/repo/writer.rs:467
↓ 2 callersMethodend_offset
(&self)
atomic-core/src/diff/token/token_type.rs:194
↓ 2 callersMethodend_zombie_conflict
(&mut self, id: usize)
atomic-core/src/output/repo/writer.rs:463
↓ 2 callersFunctionensure
(id: string)
packages/opencode-atomic-hooks/src/index.ts:159
↓ 2 callersMethodensure_loaded
Ensure all of `change_id`'s spans are loaded into the in-memory index. Runs a single GRAPH range scan the first time a change is queried; later calls
atomic-core/src/apply/graph_batch.rs:55
↓ 2 callersMethodensure_span_index
Load `change_id`'s spans into the in-memory index on first access.
atomic-core/src/pristine/txn/read.rs:1332
↓ 2 callersFunctionentry_subject
Derive a subject URI from a vault path and entry type.
atomic-repository/src/repository/vault_triples.rs:520
↓ 2 callersFunctionerror_style
Get the error completion style. Format: `✗ Message` (in red)
atomic-cli/src/output/progress.rs:323
↓ 2 callersMethodexceeds_max_size
(&self, size: usize)
atomic-core/src/record/workflow/record/options.rs:288
↓ 2 callersMethodexecute
(&self, call: &ToolCall)
atomic-repository/src/ai/tools.rs:839
↓ 2 callersMethodexit_code
Get the exit code that should be used for this error. Different errors have different severity levels, reflected in their exit codes: - 1: General e
atomic-cli/src/error.rs:569
↓ 2 callersMethodexpand_graph_node
Convert a [`CompactGraphNode`] to a `GraphNode<Option<Hash>>`.
atomic-core/src/change/format_v3/compact/compactor.rs:173
↓ 2 callersFunctionexpand_target
(target: &str)
atomic-agent/src/hooks/manifest.rs:192
↓ 2 callersMethodexpect_state
Check that the writer is in the expected state.
atomic-core/src/change/format_v3/writer/helpers.rs:14
↓ 2 callersMethodexport_v3_file
Export a change from redb to V3 `.change` file format. Reads all sections from redb and assembles a complete V3 change file. This is used for push/pu
atomic-repository/src/redb_change_store/queries.rs:367
↓ 2 callersFunctionextractPrompt
(parts: MessagePart[])
packages/opencode-atomic-hooks/src/handlers/chat.ts:243
↓ 2 callersFunctionextract_command
Extract a command string from a verification node's detail.
atomic-agent/src/provenance/consolidate.rs:621
↓ 2 callersFunctionextract_filename
(path: &str)
atomic-core/src/record/workflow/globalize/helpers.rs:149
↓ 2 callersFunctionextract_first_sentence_from_paragraph
Extract the first sentence from a single paragraph of text. Looks for sentence-ending punctuation followed by whitespace or EOF. Skips known abbrevia
atomic-agent/src/record/message.rs:222
↓ 2 callersMethodfiles_in_session
(mut self, count: u32)
atomic-agent/src/envelope.rs:538
↓ 2 callersMethodfiles_to_restore
Get the files that need to be restored, paired with their status. Derives the list from a status that was already computed by the caller (so restore
atomic-cli/src/commands/restore.rs:200
↓ 2 callersMethodfilter_path
Add a path filter.
atomic-repository/src/status.rs:702
↓ 2 callersMethodfinalize
( self, content: Vec<u8>, provenance: Vec<Provenance>, metadata_bytes: Vec<u8>
atomic-core/src/record/workflow/assembly/mod.rs:259
↓ 2 callersFunctionfinalize_hunks
Finalize hunks by converting them to the serializable format. This validates that all hunks are properly formed and ready for serialization. # Argum
atomic-core/src/record/workflow/assembly/helpers.rs:170
↓ 2 callersMethodfind_attestations_for_change
Find all attestations that cover a specific change. Uses REV_DEPS to find nodes that depend on the given change, then filters by `node_type::ATTESTAT
atomic-repository/src/repository/changes.rs:326
↓ 2 callersMethodfind_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
↓ 2 callersMethodfind_block_in_inode
( &self, inode: Inode, pos: Position<NodeId>, )
atomic-core/src/pristine/inode_graph/impls.rs:113
↓ 2 callersFunctionfind_change_sequence
Find the sequence number for a change by its hash. # Arguments `txn` - Read transaction `view` - View to search `hash` - Hash of the change to find
atomic-repository/src/history/operations.rs:193
↓ 2 callersFunctionfind_change_sequence
Find the sequence number for a change by its hash. # Arguments `txn` - Read transaction `view` - View to search `hash` - Hash of the change to find
atomic-repository/src/history/iter.rs:312
↓ 2 callersFunctionfind_content_vertices_global
Retrieve content vertices via global GRAPH DFS.
atomic-core/src/record/workflow/globalize/hunk.rs:1319
↓ 2 callersMethodfind_first_simple_identifier
Find the first `simple_identifier` child of a node.
atomic-semantic/src/parsers/swift.rs:546
↓ 2 callersFunctionfind_insert_position
Finds the insertion position for a new element among concurrent insertions. Given a new element ID and a list of existing elements that were all inse
atomic-core/src/crdt/apply/order.rs:159
↓ 2 callersMethodfind_sequence_for_hash
Find the sequence number for a hash in the current view.
atomic-cli/src/commands/change/command.rs:209
↓ 2 callersMethodfind_type_identifier
Find the `type_identifier` child of a declaration node.
atomic-semantic/src/parsers/swift.rs:190
↓ 2 callersMethodfinish
Flush and close the writer, returning any errors. This is automatically called when the writer is dropped, but calling it explicitly allows you to ha
atomic-core/src/output/filesystem/mod.rs:136
↓ 2 callersFunctionfinish_layer
Finalize an uncompressed tar buffer into an [`OciLayer`]: compute the uncompressed digest (`diff_id`), gzip the bytes, and compute the gzipped digest
atomic-repository/src/oci.rs:267
↓ 2 callersFunctionfixed_header
Helper: create a ChangeHeader with a fixed timestamp for deterministic tests.
atomic-core/src/change/format_v3/writer/tests.rs:544
↓ 2 callersMethodflush
(&mut self)
atomic-core/src/output/repo/writer.rs:366
↓ 2 callersMethodflush
(&mut self)
atomic-core/src/output/filesystem/mod.rs:146
↓ 2 callersMethodforce_rediff
(mut self, force: bool)
atomic-core/src/record/workflow/detect/mod.rs:226
↓ 2 callersFunctionformat_duration_ms
Format a duration in milliseconds to a human-readable string.
atomic-core/src/change/attestation.rs:713
↓ 2 callersFunctionformat_local_state
Format the local state for display.
atomic-cli/src/commands/push/helpers.rs:498
↓ 2 callersFunctionformat_remote_state
Format the remote state for display. # Arguments `state` - The remote's state response `entries` - The remote's changelist entries # Returns A for
atomic-cli/src/commands/pull/helpers.rs:387
↓ 2 callersMethodget_branch
(&self, id: BranchId)
atomic-core/src/crdt/apply/traits.rs:570
↓ 2 callersFunctionget_change_at_sequence
Get a specific change by sequence number. # Arguments `txn` - Read transaction `view` - View to query `sequence` - Sequence number to retrieve # Re
atomic-repository/src/history/iter.rs:253
↓ 2 callersMethodget_change_deps
(&self, change_id: NodeId)
atomic-core/src/pristine/txn/read.rs:268
↓ 2 callersMethodget_chunk_manifest
Get the chunk manifest for a change. Returns the ordered list of (chunk_index, chunk_hash) pairs. This is used for delta transfer negotiation.
atomic-repository/src/redb_change_store/queries.rs:280
↓ 2 callersMethodget_external
(&self, id: NodeId)
atomic-core/src/pristine/txn/write/graph.rs:8
↓ 2 callersMethodget_external
(&self, id: NodeId)
atomic-core/src/apply/graph_batch.rs:168
↓ 2 callersFunctionget_file_content
Get file content from a git tree.
atomic-cli/src/commands/git/parallel.rs:4001
↓ 2 callersFunctionget_file_lines_by_trunk
Retrieve all lines for a file by trunk ID.
atomic-core/src/output/crdt.rs:331
↓ 2 callersFunctionget_files_in_change
Get the files modified by a specific change. This function returns the paths of all files that were added, modified, or deleted by a specific change.
atomic-repository/src/history/operations.rs:379
↓ 2 callersMethodget_hash_length
Get the hash display length.
atomic-cli/src/commands/change/command.rs:153
↓ 2 callersMethodget_kg_edges_from
(&self, node_id: &str)
atomic-core/src/pristine/txn/write/triples.rs:34
← previousnext →1,801–1,900 of 14,282, ranked by callers