MCPcopy Create free account

hub / github.com/atomicdotdev/atomic / functions

Functions14,282 in github.com/atomicdotdev/atomic

↓ 5 callersFunctionformat_condensed
Format condensed entries as human-readable text. Output format: ```text [User] Fix the auth bug in login.rs [Assistant] I'll fix the token validation
atomic-agent/src/transcript/condense.rs:106
↓ 5 callersFunctionformat_learnings_markdown
Format learnings as individual list items grouped by category. Only includes **Repo** and **Workflow** learnings. Code learnings (with file:line refe
atomic-agent/src/learnings.rs:158
↓ 5 callersMethodformat_oneline
Format entries for oneline output. # Arguments `entries` - History entries to format `hash_length` - Number of hash characters to display # Returns
atomic-cli/src/commands/log/command.rs:339
↓ 5 callersMethodformat_short
Format the change for short output.
atomic-cli/src/commands/change/command.rs:487
↓ 5 callersFunctionformat_stat_graph
Build hunks from a diff result with context lines. This function groups diff operations into hunks with the specified number of context lines around
atomic-cli/src/commands/diff/output.rs:34
↓ 5 callersMethodgenerate
(&self, condensed_text: &str, _files: &[String])
atomic-agent/src/transcript/generator.rs:212
↓ 5 callersFunctiongenerate_diff
Generate diff operations between two content blobs. Converts content to lines and runs the specified diff algorithm. # Arguments `old_content` - Ol
atomic-core/src/record/workflow/compare.rs:405
↓ 5 callersMethodget_default
Get the default remote, if one is configured. Returns the first remote marked as default, or "origin" if it exists and no other default is set. # Ex
atomic-repository/src/remote.rs:430
↓ 5 callersMethodget_file_contents
Get the raw contents of a file. Returns `None` if the file doesn't exist or is a directory. # Example ```rust use atomic_core::output::Memory; let
atomic-core/src/output/memory.rs:377
↓ 5 callersMethodget_message
Get the message for the revised change.
atomic-cli/src/commands/revise.rs:361
↓ 5 callersMethodget_state
Get the Merkle state at a given sequence number.
atomic-remote/src/sync.rs:168
↓ 5 callersMethodget_tag
(&self, view: &str, name: &str)
atomic-core/src/pristine/txn/read.rs:2011
↓ 5 callersMethodget_view_by_id
(&self, _id: u64)
atomic-core/src/record/context.rs:895
↓ 5 callersFunctionharness_08_versions
()
atomic-repository/src/repository/tests/integration_tests.rs:691
↓ 5 callersMethodhash
(&self)
atomic-repository/src/record/assemble.rs:249
↓ 5 callersFunctionhash_line
(bytes: &[u8])
atomic-core/src/record/workflow/recipes/content_hash.rs:26
↓ 5 callersMethodidentity_type
Filter by identity type.
atomic-identity/src/store.rs:280
↓ 5 callersFunctionimport_graph_first_position
( txn: &T, pos: &Position<Option<Hash>>, change_id: NodeId, )
atomic-repository/src/repository/insert.rs:383
↓ 5 callersMethodinclude_deleted
Set whether to include deleted content.
atomic-core/src/record/workflow/retrieve.rs:86
↓ 5 callersMethodinclude_deleted
Set whether to include deleted vertices. # Arguments `include` - Whether to include deleted content # Example ```rust use atomic_core::output::rep
atomic-core/src/output/repo/file.rs:184
↓ 5 callersMethodinclude_unchanged
(mut self, include: bool)
atomic-core/src/record/workflow/detect/mod.rs:194
↓ 5 callersMethodinfo
(message: string, extra?: Record<string, unknown>)
packages/opencode-atomic-hooks/src/log.ts:55
↓ 5 callersMethodinit_embeddings
Initialize the embeddings table.
atomic-repository/src/repository/vault_embeddings.rs:32
↓ 5 callersMethodinsert_skip
Mark a vertex as "skip" — it belongs to a resolved SCC but is not the lead vertex.
atomic-core/src/merge/resolved.rs:88
↓ 5 callersMethodinto_iter
(self)
atomic-core/src/crdt/apply/conflict.rs:648
↓ 5 callersMethodis_alive
Returns true if the token is alive (not deleted).
atomic-core/src/output/crdt.rs:102
↓ 5 callersMethodis_alive
(&self)
atomic-core/src/crdt/leaf.rs:73
↓ 5 callersMethodis_directory
(&self)
atomic-core/src/record/workflow/record/types.rs:292
↓ 5 callersMethodis_dirty
Check if this status represents a change that needs to be recorded. Returns `true` for statuses that indicate uncommitted changes.
atomic-repository/src/status.rs:185
↓ 5 callersMethodis_dummy
(self)
atomic-core/src/output/alive/vertex.rs:96
↓ 5 callersMethodis_empty
Check if the builder is empty (no changes recorded). # Returns `true` if no hunks have been recorded yet.
atomic-core/src/record/context.rs:504
↓ 5 callersMethodis_empty
Check if no files were collected.
atomic-core/src/record/workflow/collect.rs:273
↓ 5 callersMethodis_empty
(&self)
atomic-core/src/output/alive/graph.rs:154
↓ 5 callersMethodis_empty
Check if the tracker is empty.
atomic-core/src/apply/conflict.rs:400
↓ 5 callersMethodis_exported
Determine if a declaration is exported (publicly visible). Walks the immediate children of the declaration node looking for access-level modifiers. S
atomic-semantic/src/parsers/swift.rs:383
↓ 5 callersFunctionis_generated_diff_skip_path
(path: &str)
atomic-cli/src/commands/git/parallel.rs:282
↓ 5 callersMethodis_hashed
(&self)
atomic-core/src/change/format_v3/reader/mod.rs:164
↓ 5 callersMethodis_root
(&self)
atomic-core/src/pristine/traits/view.rs:259
↓ 5 callersMethoditer
(&self)
atomic-core/src/crdt/apply/order.rs:340
↓ 5 callersMethoditer_attestations
Iterate over all attestation hashes on disk.
atomic-repository/src/changestore/attestation.rs:137
↓ 5 callersMethodlen
Returns the number of selected layers.
atomic-remote/src/streaming/layers.rs:199
↓ 5 callersMethodlen
Get the number of signatures.
atomic-identity/src/signing.rs:341
↓ 5 callersFunctionlist_tracked
List all tracked files. # Arguments `txn` - A transaction (read or write) # Returns A vector of all tracked files and directories.
atomic-repository/src/tracking/tree_ops.rs:324
↓ 5 callersMethodload_attestation
Load an attestation from the repository by hash.
atomic-repository/src/repository/changes.rs:300
↓ 5 callersMethodload_keypair
Load a keypair for an identity.
atomic-identity/src/store.rs:582
↓ 5 callersFunctionmake_empty_change
()
atomic-agent/src/transcript/tests.rs:516
↓ 5 callersFunctionmake_internal_position
(change: NodeId, pos: u64)
atomic-core/src/apply/edge.rs:446
↓ 5 callersFunctionmake_session_prefix
Create a short prefix from a session ID for use in node IDs. Takes up to the first 8 characters. If the session ID is a UUID, this is the first segme
atomic-agent/src/provenance/accumulator/helpers.rs:52
↓ 5 callersMethodmax_hunks
(mut self, count: usize)
atomic-core/src/record/workflow/assembly/types.rs:205
↓ 5 callersMethodmerge
Merge another outcome into this one. This is useful when collecting results from multiple output operations (e.g., outputting different subtrees). #
atomic-core/src/output/repo/outcome.rs:310
↓ 5 callersMethodmerge_file_result
Merge results from a file output.
atomic-core/src/output/repo/repository/mod.rs:97
↓ 5 callersFunctionmerge_items_into_section
Merge new items into existing section headings without duplicating headings. If `### Repo` already exists in the section, new repo items are appended
atomic-agent/src/learnings.rs:526
↓ 5 callersFunctionmerge_paths
Merge `source` paths into `target`, deduplicating.
atomic-agent/src/event.rs:606
↓ 5 callersMethodmodified
Iterate over modified files.
atomic-repository/src/status.rs:518
↓ 5 callersMethodmodified_lines
Iterate over modified lines.
atomic-core/src/diff/semantic/config.rs:221
↓ 5 callersFunctionnormalize_path
Normalize a path by resolving `.` and `..` components. Unlike `canonicalize()`, this doesn't require the path to exist.
atomic-core/src/output/filesystem/paths.rs:40
↓ 5 callersMethodoutput_line
(&mut self, node: GraphNode<NodeId>, get_contents: F)
atomic-core/src/output/repo/writer.rs:374
↓ 5 callersMethodparse_algorithm
Parse the algorithm string into an Algorithm enum.
atomic-cli/src/commands/record/builder.rs:32
↓ 5 callersMethodparse_algorithm
Parse the algorithm string into an Algorithm enum.
atomic-cli/src/commands/diff/command.rs:180
↓ 5 callersMethodparse_author
Parse the author string into an Author struct.
atomic-cli/src/commands/record/builder.rs:46
↓ 5 callersFunctionparse_changelist
Parse a changelist response into entries.
atomic-remote/src/http/mod.rs:292
↓ 5 callersMethodparse_error_body
(&self, status: u16, body: &str)
atomic-remote/src/storage.rs:221
↓ 5 callersMethodpasses_filter
Check if a change ID passes the filter. Returns true if: - No filter is set (all changes pass) - The change_id is ROOT (NodeId(0), always passes) - T
atomic-core/src/output/alive/retrieve/options.rs:146
↓ 5 callersMethodpermission
Add a permission.
atomic-identity/src/delegation.rs:314
↓ 5 callersMethodposition
Get the current byte position in the original content.
atomic-core/src/diff/split.rs:204
↓ 5 callersMethodposition_inode
(&self, _pos: Position<NodeId>)
atomic-core/src/record/context.rs:856
↓ 5 callersMethodprefix
(mut self, prefix: impl Into<String>)
atomic-core/src/record/workflow/detect/mod.rs:128
↓ 5 callersFunctionprint_section
Print a section header. Use this to visually separate different sections of output. # Arguments `title` - The section title # Example ```rust,ign
atomic-cli/src/output/mod.rs:176
↓ 5 callersMethodprint_short_format
Print the status in short (porcelain) format.
atomic-cli/src/commands/status.rs:375
↓ 5 callersMethodprocess_delete
Process a deletion. # Arguments `old_index` - Starting line in old content `new_index` - Position in new content (deletion point) `old_len` - Number
atomic-core/src/record/workflow/graph_op/builder.rs:229
↓ 5 callersMethodprompt_summary
Returns the prompt truncated to `max_len` characters. Useful for display purposes (commit messages, UI previews). Returns `None` if no prompt is pres
atomic-agent/src/event.rs:392
↓ 5 callersFunctionput_branch
( txn: &mut impl crate::pristine::MutTxnT, trunk_id: TrunkId, b: BranchId, aft
atomic-core/src/crdt/queries.rs:159
↓ 5 callersMethodput_vault_entry
(&mut self, path: &str, entry: &VaultEntry)
atomic-core/src/pristine/txn/write/vault.rs:125
↓ 5 callersFunctionrecord_deleted_file
Record a single deleted file. Creates a deletion graph_op for a file that no longer exists in the working copy. # Arguments `detected` - The detect
atomic-core/src/record/workflow/record/mod.rs:297
↓ 5 callersMethodrecord_downloaded
Record a successfully downloaded change. Increments the download counter. # Example ```rust use atomic::commands::clone::types::CloneProgress; let
atomic-cli/src/commands/clone/types.rs:130
↓ 5 callersFunctionrecord_turn
Record an agent turn as an Atomic change. This is the function that bridges the agent world into the VCS world. It builds a `ChangeHeader`, `Provenan
atomic-agent/src/record/mod.rs:136
↓ 5 callersMethodregister_entity
Register an entity in the identity tables. Creates INTERNAL (hash → id), EXTERNAL (id → hash), and NODE_TYPES (id → type) entries. Returns existing i
atomic-core/src/pristine/txn/write/mod.rs:309
↓ 5 callersMethodreinsert_change
( &mut self, view: &mut ViewState, change_id: NodeId, change_hash: &Hash,
atomic-core/src/pristine/txn/write/mod.rs:682
↓ 5 callersFunctionremove_deny_rule
(raw: &mut serde_json::Map<String, serde_json::Value>)
atomic-agent/src/hooks/claude_code/settings.rs:229
↓ 5 callersMethodremove_path
(&self, path: &str, recursive: bool)
atomic-core/src/output/memory.rs:596
↓ 5 callersMethodrename
Rename a file or directory.
atomic-core/src/output/filesystem/mod.rs:269
↓ 5 callersFunctionresolve_agent_author
Resolve the agent author for a turn change. Looks up the user's default identity and derives an agent author with a `+tag` email. Falls back to a pla
atomic-agent/src/identity.rs:101
↓ 5 callersMethodresolve_destination
Resolve the destination path. If destination is a directory, append the source filename.
atomic-cli/src/commands/mv.rs:156
↓ 5 callersFunctionresolve_embedding_provider
Resolve the best available embedding provider from environment.
atomic-repository/src/ai/mod.rs:58
↓ 5 callersFunctionresolve_identity_name
Extract the identity name from a remote URL alone (no server config). Tries URL userinfo first (`bob@host`), then the subdomain (`bob.host`). This is
atomic-cli/src/commands/auth.rs:397
↓ 5 callersFunctionresolve_identity_name_with_override
Resolve the identity name to authenticate as. Priority: 1. An explicit override (the `--identity` flag). 2. URL userinfo (`http://bob@host/...`). 3.
atomic-cli/src/commands/auth.rs:42
↓ 5 callersMethodresolve_vault_identity
Resolve the current identity for vault operations. Resolution order: 1. Atomic identity store (default identity) 2. Git config (user.name + user.emai
atomic-repository/src/repository/vault_identity.rs:55
↓ 5 callersFunctionresolve_workspace
Resolve the workspace slug for a command, with fallback to the org-scoped default workspace from global config. Uses the legacy (single-server) confi
atomic-cli/src/commands/client.rs:255
↓ 5 callersMethodrun
(&self)
atomic-cli/src/commands/view/delete.rs:103
↓ 5 callersMethodrun
(&self)
atomic-cli/src/commands/view/list.rs:76
↓ 5 callersMethodrun
(&self)
atomic-cli/src/commands/tag/create.rs:168
↓ 5 callersMethodrun_with_verifier
Inner runner that takes the slug-verification step as a parameter. Splitting this out lets tests inject a deterministic verifier (succeed / fail) wit
atomic-cli/src/commands/workspace/set.rs:101
↓ 5 callersMethodset_crdt_stats
Set the CRDT build statistics.
atomic-core/src/record/workflow/record/types.rs:347
↓ 5 callersMethodset_inode
Set the inode.
atomic-core/src/record/workflow/record/types.rs:332
↓ 5 callersMethodset_kind
Sets the token kind.
atomic-core/src/crdt/leaf.rs:230
↓ 5 callersMethodset_managed_run
Attach the managed-run context for this hook invocation (see [`ManagedRunContext`]).
atomic-agent/src/turn/orchestrator/mod.rs:307
↓ 5 callersMethodset_model_info
Set the AI vendor and model.
atomic-agent/src/turn/session.rs:276
↓ 5 callersFunctionset_permissions
(path: &Path, permissions: u16)
atomic-core/src/output/filesystem/paths.rs:83
↓ 5 callersFunctionshould_use_opaque_generated_vertices
Returns `true` for machine-generated files (lockfiles, checksums, bundled output) that should be treated as opaque blobs — skipping CRDT tokenization
atomic-core/src/record/workflow/globalize/hunk.rs:44
↓ 5 callersFunctionstrip_markdown_code_blocks
Strip markdown code block wrappers from a JSON string. Claude sometimes wraps JSON in ```json ... ``` blocks despite being asked not to. This strips
atomic-agent/src/transcript/generator.rs:318
← previousnext →901–1,000 of 14,282, ranked by callers