Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ functions
Functions
14,282 in github.com/atomicdotdev/atomic
⨍
Functions
14,282
◇
Types & classes
1,144
↓ 3 callers
Method
limit
Set the maximum number of entries to return. # Arguments `n` - Maximum number of entries
atomic-repository/src/history/types.rs:263
↓ 3 callers
Method
line_ops_mut
(&mut self)
atomic-core/src/change/ops.rs:212
↓ 3 callers
Method
list_all_tags
List all tags across all views.
atomic-repository/src/repository/tags.rs:211
↓ 3 callers
Method
list_dir
List files in a directory. Returns a sorted list of entries as `(filename, is_directory)` tuples. # Errors Returns an error if the path is not a di
atomic-core/src/output/filesystem/walk.rs:22
↓ 3 callers
Method
list_filtered
List identities matching a filter.
atomic-identity/src/store.rs:629
↓ 3 callers
Method
list_views
(&self)
atomic-core/src/record/context.rs:903
↓ 3 callers
Method
load
Load global configuration from the default location
atomic-config/src/lib.rs:363
↓ 3 callers
Method
load_full_content
Load the full content blob for a change by concatenating all chunks. This is equivalent to reading all CONTENT chunks and joining them. # Returns T
atomic-repository/src/redb_change_store/queries.rs:214
↓ 3 callers
Method
load_graph_sections
Load all graph sections for a change. Reads from CHANGE_GRAPH only. This is the "thin apply" path — the minimum data needed to apply a change to the
atomic-repository/src/redb_change_store/queries.rs:92
↓ 3 callers
Method
load_or_create_session
Load an existing session or create a new one. This is the resilient path — if a hook arrives for an unknown session (e.g., the session state was lost
atomic-agent/src/turn/orchestrator/session_start.rs:288
↓ 3 callers
Function
log
(msg: string)
packages/opencode-atomic-hooks/src/index.ts:71
↓ 3 callers
Method
lookup
Look up the index for a given hash. Returns `None` if the hash is not in the table. This is an O(1) operation using the internal `HashMap`. # Argume
atomic-core/src/change/format_v3/hash_table.rs:302
↓ 3 callers
Function
make_change_with_hunk
Helper: create a Change with a hunk.
atomic-repository/src/redb_change_store/tests.rs:23
↓ 3 callers
Function
make_commitment
(id: &str, summary: &str)
atomic-core/src/change/provenance_graph/tests.rs:25
↓ 3 callers
Function
make_edge
Helper to create a test edge.
atomic-core/tests/inode_graph_test.rs:33
↓ 3 callers
Function
make_goal
(id: &str, summary: &str)
atomic-core/src/change/provenance_graph/tests.rs:8
↓ 3 callers
Function
make_internal_position
(change: NodeId, pos: u64)
atomic-core/src/apply/insertion.rs:308
↓ 3 callers
Function
make_repo_orchestrator
Orchestrator rooted at a real initialized repository (recording works).
atomic-agent/src/turn/orchestrator/tests.rs:832
↓ 3 callers
Function
markSessionStarted
(sessionID: string)
packages/opencode-atomic-hooks/src/handlers/event.ts:49
↓ 3 callers
Method
mark_exhausted
(&mut self)
atomic-core/src/pristine/inode_graph/types.rs:194
↓ 3 callers
Method
mark_inode_recorded
Mark an inode as recorded at a specific position. This prevents duplicate recording of the same inode. # Arguments `inode` - The inode being record
atomic-core/src/record/builder.rs:341
↓ 3 callers
Method
materialize_paths
Materialize only specific files to the working copy. This is used after `insert` operations to only rewrite files that were actually affected by the
atomic-repository/src/repository/materialize.rs:146
↓ 3 callers
Method
materialize_view_to
Materialize a view's visible file content into `dir` (created if needed). Writes each visible file's bytes exactly as they appear on `view` (the view
atomic-repository/src/repository/sandbox.rs:206
↓ 3 callers
Method
max_diff_size
(mut self, size: usize)
atomic-core/src/record/workflow/detect/mod.rs:210
↓ 3 callers
Method
max_vertices
(mut self, max: usize)
atomic-core/src/output/repo/options.rs:265
↓ 3 callers
Method
merge
Merge stats from a single operation.
atomic-cli/src/commands/add.rs:529
↓ 3 callers
Method
merge
Merges another stats instance into this one.
atomic-core/src/record/workflow/crdt/convert/types.rs:250
↓ 3 callers
Method
merge
Merge another set of hashes into this table. This is useful during parallel recording where each thread collects referenced hashes independently, the
atomic-core/src/change/format_v3/hash_table.rs:666
↓ 3 callers
Method
merkle
Get the merkle state if the channel has state.
atomic-remote/src/types.rs:404
↓ 3 callers
Method
message
Get the change message.
atomic-core/src/change/change.rs:262
↓ 3 callers
Method
metadata
Get the file metadata.
atomic-core/src/record/item.rs:664
↓ 3 callers
Method
modified_count
(&self)
atomic-core/src/record/workflow/detect/types.rs:403
↓ 3 callers
Method
name
(&self)
atomic-agent/src/hooks/codex.rs:200
↓ 3 callers
Method
name
Returns a human-readable name for error messages.
atomic-core/src/change/format_v3/writer/state_machine.rs:56
↓ 3 callers
Function
needs_semantic_regen
Check whether a change needs semantic regeneration. Returns `true` if the change has GRAPH sections but no SEMANTIC sections in the redb store. Retur
atomic-repository/src/semantic_regen.rs:342
↓ 3 callers
Method
new_line_num
(&self)
atomic-core/src/change/ops.rs:526
↓ 3 callers
Method
next
(&mut self)
atomic-core/src/diff/token/tokenizer.rs:509
↓ 3 callers
Method
next_inode_adj
( &self, adj: &mut InodeAdjState, )
atomic-core/src/pristine/inode_graph/impls.rs:51
↓ 3 callers
Function
node_id_to_option_hash
(node_id: NodeId)
atomic-core/src/record/workflow/globalize/helpers.rs:120
↓ 3 callers
Method
offset
(&self, offset: usize)
atomic-core/src/types/position.rs:125
↓ 3 callers
Method
old_line_num
(&self)
atomic-core/src/change/ops.rs:520
↓ 3 callers
Method
old_tokens
(&self)
atomic-core/src/diff/word.rs:324
↓ 3 callers
Method
open
Open or create a pristine database at the given path This will create all necessary tables if they don't exist.
atomic-core/src/pristine/txn/pristine.rs:72
↓ 3 callers
Method
ordering
Returns the expected ordering index for this section type. Lower values must appear earlier in the file. Sections with the same ordering index (like
atomic-core/src/change/format_v3/types/section.rs:227
↓ 3 callers
Function
parse_vault_frontmatter
Parse a markdown file's YAML frontmatter and body. Expects the file to optionally start with `---\n...\n---\n`. Returns `(frontmatter_json, body)` wh
atomic-repository/src/repository/vault.rs:796
↓ 3 callers
Method
parse_visibility
(&self)
atomic-cli/src/commands/workspace/create.rs:64
↓ 3 callers
Function
path
Format a file path in bold. Use this for displaying file paths to make them stand out. # Arguments `text` - The path to format # Returns A styled
atomic-cli/src/output/colors.rs:362
↓ 3 callers
Method
path_ignored_for_import
(&self, path: &str)
atomic-cli/src/commands/git/parallel.rs:2112
↓ 3 callers
Method
populate_session_tables
Populate the session tables from a Sherpa provenance graph. Called during `save_provenance_graph` when the graph has `profile == "sherpa-trace/1.0.0"
atomic-core/src/pristine/txn/write/mod.rs:67
↓ 3 callers
Method
previous
Set the previous provenance graph hash (for session resume chaining).
atomic-core/src/change/provenance_graph/builder.rs:131
↓ 3 callers
Method
previous_attestation
Set the previous attestation hash (for session resume chaining).
atomic-core/src/change/attestation.rs:630
↓ 3 callers
Method
print_change_header
Print header information for a change diff. Displays the change hash, message, author, and timestamp before showing the actual diff content.
atomic-cli/src/commands/diff/helpers.rs:684
↓ 3 callers
Function
print_cross_view_outcome
Print the outcome of a cross-view insert operation.
atomic-cli/src/commands/insert.rs:537
↓ 3 callers
Method
process_equal
Process an equal (unchanged) region. Equal regions update position tracking but don't create changes. They may cause pending changes to be flushed if
atomic-core/src/record/workflow/graph_op/builder.rs:204
↓ 3 callers
Method
process_replace_params
Process a replacement with individual parameters. # Arguments `old_pos` - Starting position in old content `old_len` - Number of lines being replace
atomic-core/src/record/workflow/graph_op/builder.rs:243
↓ 3 callers
Function
progress_style
Get the default progress bar style. Format: `[████████░░░░░░░░] 50/100 Message (50%)`
atomic-cli/src/output/progress.rs:302
↓ 3 callers
Method
provenance
(mut self, provenance: Vec<Provenance>)
atomic-repository/src/record/options.rs:257
↓ 3 callers
Method
provenance_path
Get the filesystem path for a provenance graph with the given hash. Provenance graphs use the same two-level directory structure as changes and attes
atomic-repository/src/changestore/provenance.rs:20
↓ 3 callers
Method
push
Add an operation to the result.
atomic-core/src/diff/word.rs:440
↓ 3 callers
Method
put_branch
( &mut self, branch: &Branch, _after: Option<BranchId>, )
atomic-core/src/crdt/apply/traits.rs:556
↓ 3 callers
Method
put_crdt_leaf
(&mut self, key: &[u8; 12], value: &[u8; 22])
atomic-core/src/pristine/txn/write/mod.rs:1103
↓ 3 callers
Method
put_crdt_trunk
(&mut self, key: &[u8; 12], value: &[u8])
atomic-core/src/pristine/txn/write/mod.rs:1053
↓ 3 callers
Method
put_crdt_trunk_branch
( &mut self, trunk_key: &[u8; 12], branch_key: &[u8; 12], )
atomic-core/src/pristine/txn/write/mod.rs:1083
↓ 3 callers
Method
put_dep
(&mut self, change_id: NodeId, dep_id: NodeId)
atomic-core/src/pristine/txn/write/mod.rs:973
↓ 3 callers
Method
put_inode_graph
( &mut self, inode: Inode, node: GraphNode<NodeId>, edge: SerializedGraphEdge,
atomic-core/src/apply/graph_batch.rs:88
↓ 3 callers
Method
put_leaf
(&mut self, leaf: &Leaf, _after: Option<LeafId>)
atomic-core/src/crdt/apply/traits.rs:612
↓ 3 callers
Method
put_tag
(&mut self, tag: &TagRecord)
atomic-core/src/pristine/txn/write/tag.rs:132
↓ 3 callers
Method
read_all_and_verify
Read all remaining sections and verify the content hash in one call. This is a convenience method that combines [`read_all_sections`](Self::read_all_
atomic-core/src/change/format_v3/reader/sections.rs:296
↓ 3 callers
Function
read_existing_learnings
Collect all existing learning lines (flat list) for dedup checking.
atomic-agent/src/learnings.rs:261
↓ 3 callers
Function
read_hooks_file
(path: &Path)
atomic-agent/src/hooks/codex.rs:366
↓ 3 callers
Method
record_change_downloaded
Record a successfully downloaded change. Increments the download counter and adds the bytes to the transfer total. # Arguments `bytes` - The size o
atomic-cli/src/commands/pull/types.rs:353
↓ 3 callers
Method
record_conflict
Record a conflict with the given type.
atomic-core/src/output/repo/writer.rs:328
↓ 3 callers
Method
record_content_bytes
(&mut self, bytes: u64)
atomic-core/src/crdt/apply/context.rs:589
↓ 3 callers
Method
record_directory
Record that a directory was created.
atomic-core/src/output/repo/repository/mod.rs:123
↓ 3 callers
Method
record_empty_files
(mut self, record: bool)
atomic-repository/src/record/options.rs:163
↓ 3 callers
Method
record_error
Record an error.
atomic-core/src/output/repo/tree.rs:711
↓ 3 callers
Method
record_file
Record a processed file.
atomic-core/src/record/workflow/assembly/helpers.rs:51
↓ 3 callers
Method
record_skip
Record a skipped file.
atomic-core/src/record/workflow/assembly/helpers.rs:56
↓ 3 callers
Method
recorded_file_list
Returns the list of files that were recorded in this turn.
atomic-agent/src/record/options.rs:74
↓ 3 callers
Function
regenerate_batch
Regenerate SEMANTIC sections for all changes that need it. Scans the redb store for changes that have GRAPH sections but no SEMANTIC sections, and re
atomic-repository/src/semantic_regen.rs:750
↓ 3 callers
Function
regenerate_change
Regenerate SEMANTIC sections for a single change from its GRAPH + CONTENT. This is the core regeneration function. It: 1. Loads the GRAPH sections to
atomic-repository/src/semantic_regen.rs:473
↓ 3 callers
Method
register_tag
(&mut self, hash: &Hash)
atomic-core/src/pristine/txn/write/mod.rs:348
↓ 3 callers
Function
remove_from_tree
Remove a single file from tracking. This is the low-level function that actually modifies the database. # Arguments `txn` - A mutable transaction `
atomic-repository/src/tracking/tree_ops.rs:208
↓ 3 callers
Method
rename
(&self, from: &str, to: &str)
atomic-core/src/output/memory.rs:629
↓ 3 callers
Method
repository_pattern
Add a repository pattern.
atomic-identity/src/delegation.rs:335
↓ 3 callers
Method
resolve
Resolve an index back to its 32-byte hash. Returns `None` if the index is out of bounds or is the "none" sentinel ([`HASH_INDEX_NONE`]). # Arguments
atomic-core/src/change/format_v3/hash_table.rs:357
↓ 3 callers
Function
resolve_git_identity
Try to resolve identity from git config in the repository.
atomic-repository/src/repository/vault_identity.rs:89
↓ 3 callers
Function
resolve_identity_from_url
Pure identity resolution from a URL plus the configured server bindings. userinfo → server-host match (longest suffix) → first-label subdomain. Split
atomic-cli/src/commands/auth.rs:91
↓ 3 callers
Function
resolve_inode_to_position
Resolve an inode to its graph position. This function looks up the position in the repository graph where a file's content root is located. # Argume
atomic-core/src/record/workflow/globalize/resolve.rs:69
↓ 3 callers
Method
resolve_or_none
Resolve an index back to its hash, returning an error if not found. This is a convenience method that wraps [`resolve`](Self::resolve) and converts `
atomic-core/src/change/format_v3/hash_table.rs:382
↓ 3 callers
Method
resolve_required
Resolve an index to a hash, erroring if it's `NONE` or out of bounds. Unlike [`resolve_or_none`](Self::resolve_or_none), this method treats [`HASH_IN
atomic-core/src/change/format_v3/hash_table.rs:409
↓ 3 callers
Function
retrieve_content_with_filter_fast
( txn: &T, changes: &C, inode: Inode, position: Position<NodeId>, options: atomic_core::ou
atomic-repository/src/repository/content.rs:841
↓ 3 callers
Method
salt
(mut self, salt: u64)
atomic-core/src/output/repo/options.rs:303
↓ 3 callers
Method
save
Persist the graph to disk at `{session_dir}/graph.json`. Uses atomic write (temp file + rename) to prevent corruption.
atomic-agent/src/provenance/accumulator/convert.rs:143
↓ 3 callers
Method
save_change_bytes
Save a change using pre-serialized V3 bytes (hash-stable). This writes the exact V3 bytes to disk, ensuring the file hash matches the hash registered
atomic-repository/src/repository/changes.rs:106
↓ 3 callers
Function
save_lifecycle
(dir: &Path, lifecycle: &ManagedLifecycle)
atomic-cli/src/commands/agent/lifecycle.rs:509
↓ 3 callers
Function
search_content
Search the content index. Returns matching lines with file paths, line numbers, and content. Supports path filtering, file type filtering, and case-i
atomic-repository/src/content_search.rs:59
↓ 3 callers
Method
sections_of_type
Internal: read only sections of a specific type, skipping all others. Skipped sections are still fed through the hasher for verification.
atomic-core/src/change/format_v3/reader/sections.rs:395
↓ 3 callers
Function
seed_config
(default_org: &str)
atomic-cli/src/commands/org/set.rs:267
↓ 3 callers
Method
serialized_size
(&self)
atomic-core/src/change/format_v3/hash_table.rs:556
← previous
next →
1,501–1,600 of 14,282, ranked by callers