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
entries_from
Get all entries at or after a given sequence number.
atomic-remote/src/sync.rs:224
↓ 3 callers
Function
error
Format an error message in red. Use this for error messages, failures, and critical issues. # Arguments `text` - The text to format # Returns A s
atomic-cli/src/output/colors.rs:211
↓ 3 callers
Method
expand_atom
Convert a [`CompactAtom`] to an `Atom<Option<Hash>>`.
atomic-core/src/change/format_v3/compact/compactor.rs:240
↓ 3 callers
Method
expand_edge_update
Convert a [`CompactEdgeUpdate`] to an `EdgeUpdate<Option<Hash>>`.
atomic-core/src/change/format_v3/compact/compactor.rs:225
↓ 3 callers
Method
expand_new_edge
Convert a [`CompactNewEdge`] to a `NewEdge<Option<Hash>>`.
atomic-core/src/change/format_v3/compact/compactor.rs:210
↓ 3 callers
Function
explicit_with_children
()
atomic-core/src/pristine/tables.rs:206
↓ 3 callers
Method
export_v3_bytes
Export a change from redb to V3 bytes in memory. This is the core export method used by both file export and network transfer.
atomic-repository/src/redb_change_store/queries.rs:377
↓ 3 callers
Method
extract
Extract the content of this hunk from a byte slice. # Panics Panics if the hunk range is out of bounds for the slice.
atomic-core/src/diff/inline.rs:284
↓ 3 callers
Function
extract_command
Extract the command string from tool input JSON. Tries several common field names: `command`, `cmd`, `script`, `input`.
atomic-agent/src/provenance/classify.rs:224
↓ 3 callers
Function
extract_frontmatter_kg
Extract KG edges (and populate node summary) from frontmatter fields.
atomic-repository/src/repository/vault_triples.rs:579
↓ 3 callers
Function
extract_prompts
Extract user prompts from condensed entries.
atomic-agent/src/transcript/condense.rs:130
↓ 3 callers
Function
fallback_agent_author
Fallback author when no user identity is configured.
atomic-agent/src/identity.rs:134
↓ 3 callers
Method
file_metadata
(&self, _path: &str)
atomic-core/src/output/traits.rs:568
↓ 3 callers
Function
fill_gaps
Fill gaps between hunks with unchanged hunks.
atomic-core/src/diff/inline.rs:777
↓ 3 callers
Function
filter_files
Filter files based on record options.
atomic-repository/src/record/assemble.rs:403
↓ 3 callers
Method
find_active
Find all active (non-ended) sessions. Returns sessions where `phase != Ended`.
atomic-agent/src/turn/session.rs:608
↓ 3 callers
Method
find_block_end
(&self, pos: Position<NodeId>)
atomic-core/src/apply/graph_batch.rs:222
↓ 3 callers
Function
find_hooks_dir
Find the .git/hooks directory.
atomic-cli/src/commands/git/hooks.rs:82
↓ 3 callers
Function
find_local_only_changes
Find all local-only change hashes. Returns the base32-encoded hashes of all changes that exist locally but not on the remote. # Arguments `local_en
atomic-cli/src/commands/pull/helpers.rs:156
↓ 3 callers
Method
find_provenance_for_change
Find all provenance graphs that explain a specific change. Uses REV_DEPS to find nodes that depend on the given change, then filters by `node_type::P
atomic-repository/src/repository/changes.rs:713
↓ 3 callers
Method
flush
(&mut self)
atomic-core/src/output/memory.rs:211
↓ 3 callers
Method
flush_after_write
Set whether to flush the writer after output. # Arguments `flush` - Whether to flush after writing # Example ```rust use atomic_core::output::repo
atomic-core/src/output/repo/file.rs:222
↓ 3 callers
Function
format_hashes
Format a list of hashes for display.
atomic-repository/src/apply/types.rs:94
↓ 3 callers
Method
from_sequence
(mut self, seq: u64)
atomic-cli/src/commands/log/command.rs:694
↓ 3 callers
Function
generate_goal_name
Generate a Docker-style goal name: adjective-noun-4hex. Examples: "swift-meadow-a3f2", "calm-river-b7e1", "brave-sunset-04dc" The 4 hex suffix ensur
atomic-repository/src/repository/vault_names.rs:209
↓ 3 callers
Function
get_changes_up_to_sequence
Get all change NodeIds applied up to (but not including) a given sequence. This function returns a set of internal NodeIds for all changes that were
atomic-repository/src/history/operations.rs:300
↓ 3 callers
Method
get_contents
( &self, hash_fn: F, span: GraphNode<NodeId>, buf: &mut [u8], )
atomic-repository/src/changestore/trait_impl.rs:23
↓ 3 callers
Method
get_contents_ext
( &self, node: GraphNode<Option<Hash>>, buf: &mut [u8], )
atomic-core/src/change/store.rs:483
↓ 3 callers
Method
get_crdt_branch_after
(&self, branch_key: &[u8; 12])
atomic-core/src/pristine/txn/read.rs:1186
↓ 3 callers
Method
get_crdt_branch_vertex
( &self, branch_key: &[u8; 12], )
atomic-core/src/pristine/txn/read.rs:1257
↓ 3 callers
Method
get_crdt_inode_trunk
(&self, inode: u64)
atomic-core/src/pristine/txn/read.rs:1163
↓ 3 callers
Method
get_crdt_leaf
( &self, key: &[u8; 12], )
atomic-core/src/pristine/txn/read.rs:1193
↓ 3 callers
Method
get_default_for_usage
Get the default identity ID for a specific usage.
atomic-identity/src/store.rs:102
↓ 3 callers
Method
get_directory_flags
(&self, _inode: Inode)
atomic-core/src/record/context.rs:844
↓ 3 callers
Method
get_embedding
(&self, path: &str, chunk_idx: u32)
atomic-core/src/pristine/txn/write/embeddings.rs:40
↓ 3 callers
Method
get_inode
(&self, path: &str)
atomic-core/src/apply/graph_batch.rs:282
↓ 3 callers
Method
get_leaf
(&self, id: LeafId)
atomic-core/src/crdt/apply/traits.rs:622
↓ 3 callers
Method
get_node_type
(&self, _id: NodeId)
atomic-core/src/merge/engine.rs:372
↓ 3 callers
Function
get_org
Fetch an organization by slug. # Errors Returns [`TeamsError::OrgNotFound`](crate::error::TeamsError::OrgNotFound) if the slug does not match any or
atomic-teams/src/org.rs:51
↓ 3 callers
Method
get_output_config
Create a DiffOutputConfig from the command settings.
atomic-cli/src/commands/diff/command.rs:192
↓ 3 callers
Method
get_rev_deps
(&self, _dep_id: NodeId)
atomic-core/src/merge/engine.rs:403
↓ 3 callers
Method
get_skip_binary
(&self)
atomic-core/src/record/workflow/record/options.rs:264
↓ 3 callers
Method
get_tag
Look up a tag by name in the current view.
atomic-repository/src/repository/tags.rs:165
↓ 3 callers
Method
get_tag_from_view
Look up a tag by name in a specific view.
atomic-repository/src/repository/tags.rs:170
↓ 3 callers
Method
get_trunk
(&self, id: TrunkId)
atomic-core/tests/crdt_integration_test.rs:84
↓ 3 callers
Method
get_trunk_by_path
(&self, path: &str)
atomic-core/src/crdt/apply/trunk.rs:434
↓ 3 callers
Method
get_view
(&self, name: &str)
atomic-core/src/pristine/txn/write/view.rs:18
↓ 3 callers
Function
get_working_file
Get the working copy state for a single file. Checks if a file exists in the working copy and collects its metadata. # Arguments `working_copy` - W
atomic-core/src/record/workflow/collect.rs:588
↓ 3 callers
Method
get_workspace
Get a single workspace by slug.
atomic-remote/src/storage.rs:266
↓ 3 callers
Method
graph_sections
Read only GRAPH sections, skipping everything else. This is the "thin pull" pattern: read only the storage/merge layer needed to apply a change, with
atomic-core/src/change/format_v3/reader/sections.rs:332
↓ 3 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:101
↓ 3 callers
Method
has_conflicts
Check if any conflicts were detected. # Returns `true` if at least one conflict exists. # Example ```rust use atomic_core::output::repo::FileOutpu
atomic-core/src/output/repo/file.rs:337
↓ 3 callers
Method
has_provenance
Check if this change has AI provenance.
atomic-core/src/change/change.rs:243
↓ 3 callers
Method
has_vault
Check if this repository has a vault initialized.
atomic-repository/src/repository/vault.rs:18
↓ 3 callers
Method
hash_table
(&self)
atomic-core/src/change/format_v3/reader/mod.rs:429
↓ 3 callers
Method
hash_to_index
Convert an `Option<Hash>` to a `HashIndex`. - `None` → `HASH_INDEX_NONE` - `Some(hash)` → looked up in the dedup table
atomic-core/src/change/format_v3/compact/compactor.rs:253
↓ 3 callers
Function
host_arch
Map the host architecture (`std::env::consts::ARCH`) to its OCI name. `"aarch64"` becomes `"arm64"`, `"x86_64"` becomes `"amd64"`; any other value is
atomic-repository/src/oci.rs:66
↓ 3 callers
Method
hunks
(&self)
atomic-core/src/record/workflow/assembly/mod.rs:307
↓ 3 callers
Method
if_modified_since
(mut self, time: Option<SystemTime>)
atomic-core/src/output/repo/options.rs:203
↓ 3 callers
Method
import_line_index_seed
Rebuild ordered line vertex metadata for a tracked file from the current view's graph. Git import uses this as a conservative repair path when its in-
atomic-repository/src/repository/insert.rs:554
↓ 3 callers
Function
import_seed_edge_visible
(edge: &SerializedGraphEdge, visible: &HashSet<NodeId>)
atomic-repository/src/repository/insert.rs:261
↓ 3 callers
Method
include
Add include patterns.
atomic-repository/src/archive.rs:331
↓ 3 callers
Method
include_empty_files
(mut self, include: bool)
atomic-core/src/record/workflow/assembly/types.rs:225
↓ 3 callers
Method
include_hidden
Set whether to include hidden files. # Arguments `include` - Whether to include files starting with '.' # Example ```rust use atomic_core::output:
atomic-core/src/output/repo/tree.rs:191
↓ 3 callers
Method
increment_scanned
Increment the files scanned counter.
atomic-core/src/record/workflow/detect/types.rs:329
↓ 3 callers
Method
index_git_sha
Record a Git SHA → Atomic change mapping in the GIT_SHA_INDEX. Called after each commit is imported to enable O(1) incremental lookups. The `change_h
atomic-repository/src/repository/insert.rs:2581
↓ 3 callers
Method
index_to_hash
Convert a `HashIndex` to an `Option<Hash>`. - `HASH_INDEX_NONE` → `None` - Valid index → `Some(Hash)`
atomic-core/src/change/format_v3/compact/compactor.rs:267
↓ 3 callers
Function
infer_repo_name
Infer the repository name from a URL. Extracts a suitable directory name from various URL formats: - `https://example.com/org/project/code` → `proje
atomic-cli/src/commands/clone/helpers.rs:62
↓ 3 callers
Function
info
Format an informational message in cyan. Use this for informational messages, tips, and neutral status updates. # Arguments `text` - The text to fo
atomic-cli/src/output/colors.rs:232
↓ 3 callers
Method
insert
Insert a single line at `position`.
atomic-core/src/record/workflow/recipes/content_hash.rs:66
↓ 3 callers
Method
insert_change_rec
Insert a change with automatic dependency resolution. This method attempts to insert a change and all its missing dependencies. Dependencies are inse
atomic-repository/src/repository/insert.rs:1828
↓ 3 callers
Method
insertions
Get the number of lines inserted by this operation.
atomic-core/src/diff/ops.rs:210
↓ 3 callers
Function
install_hooks_at
(path: &Path, force: bool)
atomic-agent/src/hooks/codex.rs:339
↓ 3 callers
Function
install_single_hook
Install a single hook. Returns Ok(true) if newly installed, Ok(false) if already present.
atomic-cli/src/commands/git/hooks.rs:125
↓ 3 callers
Method
installed
Returns all agents that have hooks currently installed.
atomic-agent/src/hooks/mod.rs:401
↓ 3 callers
Function
isSessionStarted
(sessionID: string)
packages/opencode-atomic-hooks/src/handlers/event.ts:54
↓ 3 callers
Method
is_active
Returns `true` if the phase represents an active agent turn. An active turn means the agent is currently working on a prompt and file changes should
atomic-agent/src/turn/phase.rs:116
↓ 3 callers
Method
is_directory
Returns `true` if this is a directory operation.
atomic-repository/src/parallel_record/mod.rs:164
↓ 3 callers
Method
is_empty
Check if this row has no cells.
atomic-cli/src/output/table.rs:206
↓ 3 callers
Method
is_empty
(&self)
atomic-core/src/record/workflow/crdt/tokenize/types.rs:74
↓ 3 callers
Method
is_empty
(&self)
atomic-core/src/record/workflow/crdt/builder/mod.rs:210
↓ 3 callers
Method
is_empty
Check if the separator is empty.
atomic-core/src/diff/split.rs:105
↓ 3 callers
Method
is_empty
Check if this change has any hunks.
atomic-core/src/change/change.rs:835
↓ 3 callers
Method
is_empty
Check if the cache is empty (no prior sync).
atomic-remote/src/sync.rs:183
↓ 3 callers
Method
is_empty
Check if manifest is empty.
atomic-repository/src/archive.rs:523
↓ 3 callers
Method
is_ended
Returns `true` if the session has ended.
atomic-agent/src/turn/session.rs:372
↓ 3 callers
Function
is_file_only_on_view
Check whether a file's creating change exists ONLY on the given view (and no other view). Returns `true` when it is safe to remove the file's TREE /
atomic-repository/src/repository/insert.rs:26
↓ 3 callers
Method
is_inserted
(&self)
atomic-core/src/diff/semantic/types.rs:183
↓ 3 callers
Method
is_installed_global
(&self)
atomic-agent/src/hooks/codex.rs:144
↓ 3 callers
Method
is_not_found
Check if this error indicates something was not found.
atomic-cli/src/error.rs:387
↓ 3 callers
Method
is_resolved
(&self)
atomic-core/src/crdt/apply/conflict.rs:331
↓ 3 callers
Method
is_sandbox
(&self)
atomic-repository/src/repository/mod.rs:582
↓ 3 callers
Method
is_vertex_alive
Check if a vertex is alive by examining all its parent edges. A vertex is alive if it has at least one live parent AND was not deleted by a change in
atomic-core/src/output/alive/retrieve/options.rs:219
↓ 3 callers
Method
is_zero
(&self)
atomic-core/src/types/hash.rs:136
↓ 3 callers
Method
iter_adjacent
( &self, _vertex: GraphNode<NodeId>, _min_flag: EdgeFlags, _ma
atomic-core/src/record/workflow/retrieve.rs:519
↓ 3 callers
Method
kg_enrich_views
Enrich the KG with view hierarchy data. For each view in the repository, creates a `view:{name}` node and a `CHILD_OF` edge to its parent view (if an
atomic-repository/src/repository/vault_kg_enrich.rs:63
↓ 3 callers
Method
kind
(&self)
atomic-core/src/record/workflow/record/types.rs:394
↓ 3 callers
Method
label
Short label for display and logging.
atomic-agent/src/provenance/types.rs:118
↓ 3 callers
Method
len
Get the length of the separator in bytes.
atomic-core/src/diff/split.rs:95
↓ 3 callers
Function
lifecycle_path
(dir: &Path, run_id: &str)
atomic-cli/src/commands/agent/lifecycle.rs:403
← previous
next →
1,401–1,500 of 14,282, ranked by callers