MCPcopy Create free account

hub / github.com/atomicdotdev/atomic / functions

Functions15,497 in github.com/atomicdotdev/atomic

↓ 5 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
↓ 5 callersFunctionensure_deny_rule
(raw: &mut serde_json::Map<String, serde_json::Value>)
atomic-agent/src/hooks/claude_code/settings.rs:203
↓ 5 callersFunctionensure_workspace_dir
Ensure the workspace directory for a view exists. Creates `.atomic/workspaces/<view_name>/` and any intermediate directories. This is called from `i
atomic-repository/src/repository/switch.rs:17
↓ 5 callersMethodextension
Get the file extension for this format.
atomic-repository/src/archive.rs:170
↓ 5 callersFunctionextract_unhashed
Extract unhashed turn data from a change. Returns `None` if the change has no unhashed data or no `"agent_turn"` key.
atomic-agent/src/transcript/storage.rs:140
↓ 5 callersFunctionfake_package
Build a fake package in a tempdir: manifest + two files + a settings manifest. Returns (pkg_dir, dst_dir) tempdirs.
atomic-agent/src/integrations/install.rs:335
↓ 5 callersMethodfile_metadata
Get metadata for a file or directory.
atomic-core/src/output/filesystem/walk.rs:98
↓ 5 callersMethodfilter_path
Filter to a specific path prefix.
atomic-cli/src/commands/status.rs:579
↓ 5 callersMethodfinalize
Recompute the contents hash after modifying contents.
atomic-core/src/change/change.rs:257
↓ 5 callersMethodfind_block_in_inode
( &self, inode: Inode, pos: Position<NodeId>, )
atomic-core/src/pristine/txn/read.rs:1764
↓ 5 callersFunctionfind_sequences
Indices of unclassified tool-derived nodes grouped into sequences separated by structural boundaries (goals, patches, human gates, errors).
atomic-agent/src/provenance/consolidate.rs:127
↓ 5 callersFunctionfind_unique_matches
Find lines that appear exactly once in both sequences and match. Returns a list of matches sorted by position in the old sequence.
atomic-core/src/diff/patience.rs:165
↓ 5 callersFunctionfinish_error
Finish a progress bar with an error message. This clears the progress bar and displays an error message in red. # Arguments `pb` - The progress bar
atomic-cli/src/output/progress.rs:303
↓ 5 callersFunctionfirst_conflict_marker_line
Return the 1-based line number of the first Atomic conflict-start marker (`>>>>>>>`) in `content`, or `None` if the content has no markers. This is t
atomic-repository/src/repository/materialize.rs:10
↓ 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:190
↓ 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:160
↓ 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:343
↓ 5 callersMethodformat_short
Format the change for short output.
atomic-cli/src/commands/change/command.rs:453
↓ 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 callersMethodgather_candidates
Gather candidate memory nodes from all seeds. Returns a map of memory node id -> accumulated candidate score. With no seeds at all, falls back to the
atomic-cli/src/commands/vault/context.rs:226
↓ 5 callersFunctiongen_lines
(rng: &mut StdRng, n: usize)
atomic-repository/src/repository/tests/merge_property_tests.rs:63
↓ 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_kg_edges_from
(&self, node_id: &str)
atomic-core/src/pristine/txn/read.rs:953
↓ 5 callersMethodget_message
Get the message for the revised change.
atomic-cli/src/commands/revise.rs:357
↓ 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:2200
↓ 5 callersFunctionglobal_config_dir
Get the global configuration directory. Resolution order: 1. The `ATOMIC_CONFIG_DIR` environment variable, if set — used verbatim as the config direc
atomic-config/src/lib.rs:421
↓ 5 callersFunctionguarded_hook_command
Wrap an `atomic agent hooks …` invocation in the shell guard that installed hooks run behind. The hook must only fire where Atomic's graph is reachab
atomic-agent/src/hooks/mod.rs:104
↓ 5 callersFunctionharness_08_versions
()
atomic-repository/src/repository/tests/integration_tests.rs:691
↓ 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:384
↓ 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 callersMethodinit_inode_adj
( &self, inode: Inode, node: GraphNode<NodeId>, min_flag: EdgeFlags, m
atomic-core/src/pristine/txn/read.rs:1712
↓ 5 callersMethodinsert
Creates a line insert operation with leaf operations. # Arguments `branch_id` - The branch ID for this new line `after` - Insert after this branch I
atomic-core/src/change/ops.rs:368
↓ 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 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_empty
Returns `true` if no layers are selected.
atomic-remote/src/streaming/layers.rs:194
↓ 5 callersFunctionis_enrichment_internal
True if `path` lives in an Atomic-internal directory that must never be enriched into the knowledge graph or indexed for content search. Covers the a
atomic-repository/src/ignore.rs:445
↓ 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:351
↓ 5 callersMethodis_hashed
(&self)
atomic-core/src/change/format_v3/reader/mod.rs:164
↓ 5 callersMethodis_ignored
Check if this error is because a path is ignored
atomic-repository/src/error.rs:193
↓ 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_changes
( &self, _view: &ViewState, _from_seq: u64, )
atomic-core/src/record/context.rs:938
↓ 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 callersFunctionlift
Lift the given inputs into a canonical `MemoryNode`, mapping a lift failure (missing `uid`, missing `memoryKind`, …) to a clean argument error.
atomic-cli/src/commands/memory/bridge.rs:114
↓ 5 callersMethodlist_conflicts
( &self, )
atomic-repository/src/repository/status.rs:532
↓ 5 callersMethodlist_enrichable_files
List tracked files eligible for knowledge-graph enrichment. Filters [`list_tracked_files`](Self::list_tracked_files) to exclude: - Atomic/Git interna
atomic-repository/src/repository/vault_kg_enrich.rs:89
↓ 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 callersFunctionload_attestation
Load an intent's attestation sidecar and classify it against the current source (`inputs`). A missing sidecar is `None`; a corrupt/malformed one is tr
atomic-cli/src/commands/intent/bridge.rs:203
↓ 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:53
↓ 5 callersMethodmatches
Check if an identity matches this filter.
atomic-identity/src/store.rs:304
↓ 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:100
↓ 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:528
↓ 5 callersFunctionmerge_paths
Merge `source` paths into `target`, deduplicating.
atomic-agent/src/event.rs:614
↓ 5 callersMethodmodified
Iterate over modified files.
atomic-repository/src/status.rs:530
↓ 5 callersMethodmodified_lines
Iterate over modified lines.
atomic-core/src/diff/semantic/config.rs:221
↓ 5 callersMethodnext_inode_adj
( &self, adj: &mut crate::pristine::InodeAdjState, )
atomic-core/src/pristine/txn/read.rs:1746
↓ 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:33
↓ 5 callersMethodparse_algorithm
Parse the algorithm string into an Algorithm enum.
atomic-cli/src/commands/diff/command.rs:184
↓ 5 callersMethodparse_author
Parse the author string into an Author struct.
atomic-cli/src/commands/record/builder.rs:47
↓ 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:248
↓ 5 callersFunctionparse_markdown_frontmatter
(content: &str)
atomic-repository/src/repository/vault.rs:1111
↓ 5 callersMethodpartial_cmp
(&self, other: &Self)
atomic-core/src/crdt/apply/order.rs:247
↓ 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:176
↓ 5 callersMethodpermission
Add a permission.
atomic-identity/src/delegation.rs:314
↓ 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:400
↓ 5 callersFunctionput_branch
( txn: &mut impl crate::pristine::MutTxnT, trunk_id: TrunkId, b: BranchId, aft
atomic-core/src/crdt/queries.rs:159
↓ 5 callersFunctionrecord_all
(repo: &Repository, message: &str)
atomic-repository/src/repository/tests/merge_property_tests.rs:31
↓ 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
← previousnext →1,001–1,100 of 15,497, ranked by callers