MCPcopy Create free account

hub / github.com/atomicdotdev/atomic / functions

Functions14,282 in github.com/atomicdotdev/atomic

↓ 5 callersFunctiontemp_dir
Create a temporary directory for testing.
atomic-core/src/output/filesystem/tests.rs:12
↓ 5 callersFunctiontest_edge_map
()
atomic-core/src/change/graph_op.rs:670
↓ 5 callersMethodto_node
Convert this entry to a Node. Respects the `tagged` field: tagged entries become `Node::tag`, regular entries become `Node::change`.
atomic-remote/src/types.rs:260
↓ 5 callersMethodto_provenance_graph
Convert the accumulated graph to a content-addressed `ProvenanceGraph` suitable for storage in the Atomic graph alongside changes and attestations. P
atomic-agent/src/provenance/accumulator/convert.rs:49
↓ 5 callersMethodto_retrieve_options
Convert to retrieve options for the alive graph module.
atomic-core/src/output/repo/file.rs:228
↓ 5 callersFunctiontokenize_single_file
Tokenize a single file's content. This runs on a rayon worker thread for parallel regeneration.
atomic-repository/src/semantic_regen.rs:612
↓ 5 callersFunctiontrace_git_import
(message: impl AsRef<str>)
atomic-cli/src/commands/git/parallel.rs:783
↓ 5 callersMethoduninstall
(&self, _repo_root: &Path)
atomic-agent/src/hooks/pi.rs:509
↓ 5 callersFunctionvalidate_session_id
Validate a session ID to prevent path traversal. Rejects IDs containing `..`, `/`, `\`, or null bytes.
atomic-agent/src/turn/session.rs:648
↓ 5 callersFunctionvalue_at
(raw: &Value, path: &[&str])
atomic-agent/src/hooks/hermes.rs:182
↓ 5 callersFunctionvalue_string
(raw: &Value, key: &str)
atomic-agent/src/hooks/hermes.rs:178
↓ 5 callersMethodvault_delete
Delete a vault entry by path. Also updates the manifest.
atomic-repository/src/repository/vault.rs:287
↓ 5 callersMethodvault_embed
Embed a single vault entry using the provided embedding function. Chunks the content by heading/paragraph, computes embeddings via `embed_fn`, and st
atomic-repository/src/repository/vault_embeddings.rs:51
↓ 5 callersMethodvault_extract_kg
Extract KG nodes and edges from a vault entry. Returns `(Vec<KgNode>, Vec<KgEdge>)`. Does **not** store them — call `vault_store_kg` for persistence.
atomic-repository/src/repository/vault_triples.rs:30
↓ 5 callersMethodvault_intent_delete
Delete an unstarted backlog intent. This is intentionally conservative: only backlog intents with no linked goals can be deleted. Started work should
atomic-repository/src/repository/vault_intent.rs:327
↓ 5 callersMethodwith_code_aware
Sets whether to use code-aware tokenization.
atomic-core/src/record/workflow/crdt/convert/types.rs:75
↓ 5 callersMethodwith_code_aware
Sets whether to use code-aware tokenization. When enabled, the tokenizer recognizes multi-character operators, string literals, numeric literals, and
atomic-core/src/record/workflow/crdt/tokenize/rules.rs:80
↓ 5 callersMethodwith_dry_run
Builder: set the dry-run flag.
atomic-cli/src/commands/record/mod.rs:315
↓ 5 callersMethodwith_files
Builder: set files to diff.
atomic-cli/src/commands/diff/command.rs:103
↓ 5 callersMethodwith_force
Builder: set the `--force` flag.
atomic-cli/src/commands/add.rs:230
↓ 5 callersMethodwith_format
Builder: set the output format.
atomic-cli/src/commands/change/command.rs:117
↓ 5 callersMethodwith_from
Builder: set the starting sequence number.
atomic-cli/src/commands/log/command.rs:165
↓ 5 callersMethodwith_full_hash
Builder: set full hash display.
atomic-cli/src/commands/log/command.rs:171
↓ 5 callersMethodwith_include_empty_files
(mut self, include: bool)
atomic-core/src/record/workflow/globalize/options.rs:78
↓ 5 callersMethodwith_max_file_size
Set the maximum file size for diffing. Files larger than this are treated as binary. # Arguments `size` - Maximum size in bytes, or `None` for no l
atomic-core/src/record/workflow/options.rs:221
↓ 5 callersMethodwith_mtime
Set the modification time.
atomic-core/src/record/workflow/collect.rs:204
↓ 5 callersMethodwith_name_only
Builder: set the name-only flag.
atomic-cli/src/commands/diff/command.rs:143
↓ 5 callersMethodwith_no_color
Builder: set the no-color flag.
atomic-cli/src/commands/diff/command.rs:137
↓ 5 callersMethodwith_no_untracked
Builder: set whether to hide untracked files.
atomic-cli/src/commands/status.rs:225
↓ 5 callersMethodwith_remote_state
Builder: set the remote state.
atomic-cli/src/commands/clone/types.rs:476
↓ 5 callersMethodwith_tags_only
Builder: set tags-only filter.
atomic-cli/src/commands/log/command.rs:141
↓ 5 callersMethodwith_warning
Add a warning.
atomic-agent/src/turn/orchestrator/mod.rs:172
↓ 5 callersMethodwrite
(&mut self, buf: &[u8])
atomic-repository/src/archive.rs:714
↓ 4 callersMethodadd
Add another `PhaseTokens` into `self` (used for running totals).
atomic-agent/src/provenance/detail.rs:92
↓ 4 callersMethodadd
Add a credit to the statistics.
atomic-core/src/change/credit.rs:468
↓ 4 callersMethodadd_branch_op
Adds a branch operation with its ID.
atomic-core/src/record/workflow/crdt/convert/types.rs:372
↓ 4 callersMethodadd_directory
Add a directory item.
atomic-core/src/output/repo/tree.rs:697
↓ 4 callersFunctionadd_hook_to_matcher
( matchers: &mut Vec<ClaudeHookMatcher>, matcher_name: &str, command: &str, )
atomic-agent/src/hooks/claude_code/settings.rs:165
↓ 4 callersMethodadd_inode_update
Associate an inode update with a graph_op. When the change is applied locally, this update will be used to maintain the tree/inode database tables.
atomic-core/src/record/builder.rs:329
↓ 4 callersMethodadd_leaf_op
Adds a leaf operation with its ID.
atomic-core/src/record/workflow/crdt/convert/types.rs:378
↓ 4 callersMethodadd_line
Adds a new line to a file and returns its branch ID. # Arguments `trunk_id` - The file to add the line to `after` - The branch to insert after (None
atomic-core/src/record/workflow/crdt/builder/branch.rs:211
↓ 4 callersMethodadd_line
Adds a line to this file.
atomic-core/src/output/crdt.rs:216
↓ 4 callersMethodadd_missing_up_context
Record a missing up-context position.
atomic-core/src/apply/workspace.rs:593
↓ 4 callersMethodadd_pending_edge
Add a pending edge to be created.
atomic-core/src/apply/workspace.rs:517
↓ 4 callersMethodadd_provenance
(mut self, entry: Provenance)
atomic-repository/src/record/options.rs:264
↓ 4 callersMethodadded
Create statistics for an added file. # Arguments `path` - The file path `lines` - Number of lines in the new file
atomic-cli/src/commands/diff/types.rs:119
↓ 4 callersFunctionaggregate_tool_usage
Aggregate tool usage from condensed entries.
atomic-agent/src/transcript/condense.rs:139
↓ 4 callersMethodall
Create options that include everything.
atomic-repository/src/status.rs:685
↓ 4 callersMethodappend_content
Append content to the buffer and return the position range. # Arguments `data` - Content bytes to append # Returns A tuple of (start_position, end
atomic-core/src/record/workflow/globalize/context.rs:132
↓ 4 callersMethodappend_contents
Append content to the contents blob. Returns the starting position of the appended content.
atomic-core/src/change/change.rs:250
↓ 4 callersFunctionassert_content_after_change
Assert content after a specific change matches.
atomic-repository/tests/content_roundtrip_fidelity_test.rs:67
↓ 4 callersFunctionbuild_context_string
Build a compact text representation of KG nodes and edges for the LLM prompt. Groups nodes by kind and renders edges as relationship sentences. Hard
atomic-repository/src/ai/mod.rs:439
↓ 4 callersMethodbuild_filter
Build an identity filter from the command arguments.
atomic-cli/src/commands/identity/list.rs:76
↓ 4 callersMethodbuild_prompt
Build the summarization prompt from the condensed transcript.
atomic-agent/src/transcript/generator.rs:182
↓ 4 callersMethodbuild_remote_config
Build the HTTP remote configuration. `identity_hint` — explicit identity name to use (from `--identity` or `RemoteEntry.identity`). When `None`, fall
atomic-cli/src/commands/push/command.rs:261
↓ 4 callersMethodbuild_remote_config
Build the HTTP remote configuration. Creates an `HttpRemoteConfig` with the timeout and security settings specified by the user.
atomic-cli/src/commands/clone/command.rs:203
↓ 4 callersMethodbuild_remote_config
Build the HTTP remote configuration. `identity_hint` — explicit identity name to use (from `--identity` or `RemoteEntry.identity`). When `None`, fall
atomic-cli/src/commands/pull/command.rs:295
↓ 4 callersFunctionbuild_tree_hierarchy
Build a tree structure from flat paths. Organizes items into a hierarchical structure by parent-child relationships. # Arguments `items` - Flat lis
atomic-core/src/output/repo/tree.rs:938
↓ 4 callersMethodcancel_turn
(&mut self)
atomic-agent/src/watcher/fallback.rs:253
↓ 4 callersMethodchange_path
Get the path where a change file should be stored. Changes are stored in a two-level directory structure based on their hash: `.atomic/changes/AB/CDE
atomic-repository/src/repository/mod.rs:712
↓ 4 callersMethodchanges
Iterate over only the change operations (non-Equal).
atomic-core/src/diff/ops.rs:460
↓ 4 callersFunctionchunk_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:201
↓ 4 callersFunctionchunk_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 callersMethodcollect_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 callersMethodcollect_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 callersFunctioncollect_view_change_ids
Collect all change `NodeId`s inserted into a view into a `HashSet`. This is the canonical helper for building a **change filter** — the set of change
atomic-repository/src/repository/filter.rs:20
↓ 4 callersMethodcombine_with
(&self, other: &Self)
atomic-core/src/record/workflow/graph_op/pending.rs:219
↓ 4 callersFunctioncommon_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 callersMethodcompact_insertion
Convert an `Insertion<Option<Hash>>` to a [`CompactInsertion`].
atomic-core/src/change/format_v3/compact/compactor.rs:95
↓ 4 callersFunctioncompare_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 callersMethodcompression_level
(&self)
atomic-core/src/change/format_v3/writer/options.rs:88
↓ 4 callersFunctioncompute_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 callersFunctioncompute_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 callersMethodcontent
(&self)
atomic-core/src/record/workflow/record/types.rs:382
↓ 4 callersMethodcontent
(&self)
atomic-core/src/diff/line.rs:210
↓ 4 callersMethodcontext_lines
(mut self, lines: usize)
atomic-core/src/record/workflow/record/options.rs:218
↓ 4 callersFunctioncreate_insertion_tokens
Create token changes for a line that was entirely added.
atomic-core/src/diff/semantic/diff_impl.rs:237
↓ 4 callersMethoddata
(&self, source: &'a [u8])
atomic-core/src/change/format_v3/chunking.rs:259
↓ 4 callersMethoddebug
(message: string, extra?: Record<string, unknown>)
packages/opencode-atomic-hooks/src/log.ts:54
↓ 4 callersFunctiondecode_file_index
(value: &[u8; 52])
atomic-core/src/pristine/tables.rs:367
↓ 4 callersFunctiondecode_position
(key: &[u8; 16])
atomic-core/src/pristine/tables.rs:832
↓ 4 callersMethoddel_change
( &mut self, view: &mut ViewState, change_id: NodeId, _change_hash: &Hash,
atomic-core/src/pristine/txn/write/mod.rs:555
↓ 4 callersMethoddel_embeddings
(&mut self, path: &str)
atomic-core/src/pristine/txn/write/embeddings.rs:187
↓ 4 callersMethoddel_file_index
Remove a file from the FILE_INDEX. Call this when a file is deleted (e.g., during git import cleanup) so that `status` doesn't show it as a stale ent
atomic-repository/src/repository/tracking.rs:526
↓ 4 callersMethoddelegated_by
Set the delegating identity (for delegated identities).
atomic-identity/src/identity.rs:450
↓ 4 callersMethoddelete_change
Delete a change from the store. Removes all entries for this change from CHANGE_META, CHANGE_GRAPH, CHANGE_SEMANTIC, CHANGE_CHUNKS, and CHANGE_UNHASH
atomic-repository/src/redb_change_store/queries.rs:322
↓ 4 callersMethoddeleted
Create statistics for a deleted file. # Arguments `path` - The file path `lines` - Number of lines in the deleted file
atomic-cli/src/commands/diff/types.rs:129
↓ 4 callersMethoddeserialize
Deserialize the payload from postcard format. Convenience wrapper around [`postcard::from_bytes`] that handles the error conversion. # Type Paramete
atomic-core/src/change/format_v3/reader/mod.rs:158
↓ 4 callersFunctiondetect_encoding
Detect the encoding of content. # Arguments `content` - The content to analyze # Returns The detected encoding.
atomic-core/src/record/detect.rs:744
↓ 4 callersFunctiondetect_sandbox
Walk up from `start` looking for a [`SANDBOX_POINTER`] file. If found, return `(working_root, canonical_root, view)`.
atomic-repository/src/repository/sandbox.rs:99
↓ 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 callersMethoddot_dir
(&self)
atomic-repository/src/repository/mod.rs:553
↓ 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:256
↓ 4 callersMethodend_turn
Mark the end of the current turn and increment the turn count. Returns the turn number that just completed (1-indexed).
atomic-agent/src/turn/session.rs:357
↓ 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
← previousnext →1,001–1,100 of 14,282, ranked by callers