Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ functions
Functions
15,497 in github.com/atomicdotdev/atomic
⨍
Functions
15,497
◇
Types & classes
1,261
↓ 5 callers
Method
end_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 callers
Function
ensure_deny_rule
(raw: &mut serde_json::Map<String, serde_json::Value>)
atomic-agent/src/hooks/claude_code/settings.rs:203
↓ 5 callers
Function
ensure_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 callers
Method
extension
Get the file extension for this format.
atomic-repository/src/archive.rs:170
↓ 5 callers
Function
extract_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 callers
Function
fake_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 callers
Method
file_metadata
Get metadata for a file or directory.
atomic-core/src/output/filesystem/walk.rs:98
↓ 5 callers
Method
filter_path
Filter to a specific path prefix.
atomic-cli/src/commands/status.rs:579
↓ 5 callers
Method
finalize
Recompute the contents hash after modifying contents.
atomic-core/src/change/change.rs:257
↓ 5 callers
Method
find_block_in_inode
( &self, inode: Inode, pos: Position<NodeId>, )
atomic-core/src/pristine/txn/read.rs:1764
↓ 5 callers
Function
find_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 callers
Function
find_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 callers
Function
finish_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 callers
Function
first_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 callers
Function
format_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 callers
Function
format_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 callers
Method
format_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 callers
Method
format_short
Format the change for short output.
atomic-cli/src/commands/change/command.rs:453
↓ 5 callers
Function
format_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 callers
Method
gather_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 callers
Function
gen_lines
(rng: &mut StdRng, n: usize)
atomic-repository/src/repository/tests/merge_property_tests.rs:63
↓ 5 callers
Method
generate
(&self, condensed_text: &str, _files: &[String])
atomic-agent/src/transcript/generator.rs:212
↓ 5 callers
Function
generate_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 callers
Method
get_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 callers
Method
get_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 callers
Method
get_kg_edges_from
(&self, node_id: &str)
atomic-core/src/pristine/txn/read.rs:953
↓ 5 callers
Method
get_message
Get the message for the revised change.
atomic-cli/src/commands/revise.rs:357
↓ 5 callers
Method
get_state
Get the Merkle state at a given sequence number.
atomic-remote/src/sync.rs:168
↓ 5 callers
Method
get_tag
(&self, view: &str, name: &str)
atomic-core/src/pristine/txn/read.rs:2200
↓ 5 callers
Function
global_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 callers
Function
guarded_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 callers
Function
harness_08_versions
()
atomic-repository/src/repository/tests/integration_tests.rs:691
↓ 5 callers
Function
hash_line
(bytes: &[u8])
atomic-core/src/record/workflow/recipes/content_hash.rs:26
↓ 5 callers
Method
identity_type
Filter by identity type.
atomic-identity/src/store.rs:280
↓ 5 callers
Function
import_graph_first_position
( txn: &T, pos: &Position<Option<Hash>>, change_id: NodeId, )
atomic-repository/src/repository/insert.rs:384
↓ 5 callers
Method
include_deleted
Set whether to include deleted content.
atomic-core/src/record/workflow/retrieve.rs:86
↓ 5 callers
Method
include_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 callers
Method
include_unchanged
(mut self, include: bool)
atomic-core/src/record/workflow/detect/mod.rs:194
↓ 5 callers
Method
info
(message: string, extra?: Record<string, unknown>)
packages/opencode-atomic-hooks/src/log.ts:55
↓ 5 callers
Method
init_embeddings
Initialize the embeddings table.
atomic-repository/src/repository/vault_embeddings.rs:32
↓ 5 callers
Method
init_inode_adj
( &self, inode: Inode, node: GraphNode<NodeId>, min_flag: EdgeFlags, m
atomic-core/src/pristine/txn/read.rs:1712
↓ 5 callers
Method
insert
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 callers
Method
insert_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 callers
Method
is_alive
Returns true if the token is alive (not deleted).
atomic-core/src/output/crdt.rs:102
↓ 5 callers
Method
is_alive
(&self)
atomic-core/src/crdt/leaf.rs:73
↓ 5 callers
Method
is_directory
(&self)
atomic-core/src/record/workflow/record/types.rs:292
↓ 5 callers
Method
is_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 callers
Method
is_dummy
(self)
atomic-core/src/output/alive/vertex.rs:96
↓ 5 callers
Method
is_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 callers
Method
is_empty
Check if no files were collected.
atomic-core/src/record/workflow/collect.rs:273
↓ 5 callers
Method
is_empty
(&self)
atomic-core/src/output/alive/graph.rs:154
↓ 5 callers
Method
is_empty
Check if the tracker is empty.
atomic-core/src/apply/conflict.rs:400
↓ 5 callers
Method
is_empty
Returns `true` if no layers are selected.
atomic-remote/src/streaming/layers.rs:194
↓ 5 callers
Function
is_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 callers
Method
is_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 callers
Function
is_generated_diff_skip_path
(path: &str)
atomic-cli/src/commands/git/parallel.rs:351
↓ 5 callers
Method
is_hashed
(&self)
atomic-core/src/change/format_v3/reader/mod.rs:164
↓ 5 callers
Method
is_ignored
Check if this error is because a path is ignored
atomic-repository/src/error.rs:193
↓ 5 callers
Method
is_root
(&self)
atomic-core/src/pristine/traits/view.rs:259
↓ 5 callers
Method
iter
(&self)
atomic-core/src/crdt/apply/order.rs:340
↓ 5 callers
Method
iter_changes
( &self, _view: &ViewState, _from_seq: u64, )
atomic-core/src/record/context.rs:938
↓ 5 callers
Method
len
Returns the number of selected layers.
atomic-remote/src/streaming/layers.rs:199
↓ 5 callers
Method
len
Get the number of signatures.
atomic-identity/src/signing.rs:341
↓ 5 callers
Function
lift
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 callers
Method
list_conflicts
( &self, )
atomic-repository/src/repository/status.rs:532
↓ 5 callers
Method
list_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 callers
Function
list_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 callers
Function
load_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 callers
Function
make_empty_change
()
atomic-agent/src/transcript/tests.rs:516
↓ 5 callers
Function
make_internal_position
(change: NodeId, pos: u64)
atomic-core/src/apply/edge.rs:446
↓ 5 callers
Function
make_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 callers
Method
matches
Check if an identity matches this filter.
atomic-identity/src/store.rs:304
↓ 5 callers
Method
max_hunks
(mut self, count: usize)
atomic-core/src/record/workflow/assembly/types.rs:205
↓ 5 callers
Method
merge
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 callers
Method
merge_file_result
Merge results from a file output.
atomic-core/src/output/repo/repository/mod.rs:100
↓ 5 callers
Function
merge_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 callers
Function
merge_paths
Merge `source` paths into `target`, deduplicating.
atomic-agent/src/event.rs:614
↓ 5 callers
Method
modified
Iterate over modified files.
atomic-repository/src/status.rs:530
↓ 5 callers
Method
modified_lines
Iterate over modified lines.
atomic-core/src/diff/semantic/config.rs:221
↓ 5 callers
Method
next_inode_adj
( &self, adj: &mut crate::pristine::InodeAdjState, )
atomic-core/src/pristine/txn/read.rs:1746
↓ 5 callers
Function
normalize_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 callers
Method
output_line
(&mut self, node: GraphNode<NodeId>, get_contents: F)
atomic-core/src/output/repo/writer.rs:374
↓ 5 callers
Method
parse_algorithm
Parse the algorithm string into an Algorithm enum.
atomic-cli/src/commands/record/builder.rs:33
↓ 5 callers
Method
parse_algorithm
Parse the algorithm string into an Algorithm enum.
atomic-cli/src/commands/diff/command.rs:184
↓ 5 callers
Method
parse_author
Parse the author string into an Author struct.
atomic-cli/src/commands/record/builder.rs:47
↓ 5 callers
Function
parse_changelist
Parse a changelist response into entries.
atomic-remote/src/http/mod.rs:292
↓ 5 callers
Method
parse_error_body
(&self, status: u16, body: &str)
atomic-remote/src/storage.rs:248
↓ 5 callers
Function
parse_markdown_frontmatter
(content: &str)
atomic-repository/src/repository/vault.rs:1111
↓ 5 callers
Method
partial_cmp
(&self, other: &Self)
atomic-core/src/crdt/apply/order.rs:247
↓ 5 callers
Method
passes_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 callers
Method
permission
Add a permission.
atomic-identity/src/delegation.rs:314
↓ 5 callers
Method
prefix
(mut self, prefix: impl Into<String>)
atomic-core/src/record/workflow/detect/mod.rs:128
↓ 5 callers
Function
print_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 callers
Method
print_short_format
Print the status in short (porcelain) format.
atomic-cli/src/commands/status.rs:375
↓ 5 callers
Method
process_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 callers
Method
prompt_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 callers
Function
put_branch
( txn: &mut impl crate::pristine::MutTxnT, trunk_id: TrunkId, b: BranchId, aft
atomic-core/src/crdt/queries.rs:159
↓ 5 callers
Function
record_all
(repo: &Repository, message: &str)
atomic-repository/src/repository/tests/merge_property_tests.rs:31
↓ 5 callers
Function
record_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 callers
Method
record_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
← previous
next →
1,001–1,100 of 15,497, ranked by callers