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
↓ 4 callers
Method
expand_insertion
Convert a [`CompactInsertion`] to an `Insertion<Option<Hash>>`.
atomic-core/src/change/format_v3/compact/compactor.rs:186
↓ 4 callers
Function
extractSessionId
* Extract the session ID from an OpenCode event's properties. * * OpenCode events carry their data in `event.properties`, but the * shape varies by
packages/opencode-atomic-hooks/src/handlers/event.ts:366
↓ 4 callers
Function
extract_first_sentence
Extract the first sentence from a block of text. Splits on sentence-ending punctuation (`.`, `!`, `?`) followed by whitespace or end-of-string. Also
atomic-agent/src/record/message.rs:139
↓ 4 callers
Method
file_metadata
(&self, path: &str)
atomic-core/src/output/memory.rs:506
↓ 4 callers
Method
files_in_turn
(mut self, files: Vec<String>)
atomic-agent/src/envelope.rs:531
↓ 4 callers
Method
find_block
(&self, pos: Position<NodeId>)
atomic-core/src/apply/graph_batch.rs:199
↓ 4 callers
Method
find_ended
Find all ended sessions.
atomic-agent/src/turn/session.rs:614
↓ 4 callers
Method
find_identity_dir
Find the directory for an identity by ID.
atomic-identity/src/store.rs:742
↓ 4 callers
Method
first_line
Get the first line of a node's text (for signatures).
atomic-semantic/src/parsers/rust.rs:500
↓ 4 callers
Method
format
Set the archive format.
atomic-repository/src/archive.rs:307
↓ 4 callers
Function
format_hash
Format a hash for display. By default, hashes are truncated to [`DEFAULT_HASH_LENGTH`] characters for readability. Use `full = true` to show the comp
atomic-cli/src/commands/mod.rs:395
↓ 4 callers
Method
format_json
Format the change for JSON output.
atomic-cli/src/commands/change/command.rs:678
↓ 4 callers
Function
format_local_state
Format the local state for display. # Arguments `entries` - Local history entries # Returns A formatted string like "at ABC123... (10 changes)" or
atomic-cli/src/commands/pull/helpers.rs:354
↓ 4 callers
Function
get
(id: string)
packages/opencode-atomic-hooks/src/session.ts:180
↓ 4 callers
Method
get_crdt_trunk
( &self, key: &[u8; 12], )
atomic-core/src/pristine/txn/read.rs:1147
↓ 4 callers
Method
get_directory_flags
(&self, inode: Inode)
atomic-core/src/pristine/txn/write/tree.rs:15
↓ 4 callers
Method
get_file_content_via_crdt
Get file content using the CRDT-driven walker (task #24). Walks the `Trunk → Branch` chain in file order and fetches each alive branch's bytes from i
atomic-repository/src/repository/content.rs:135
↓ 4 callers
Method
get_file_content_with_filter
Internal helper to retrieve file content with a change filter. This method handles the common logic for state-based content retrieval: 1. Check if fi
atomic-repository/src/repository/content.rs:754
↓ 4 callers
Method
get_inode
(&self, _path: &str)
atomic-core/src/record/context.rs:840
↓ 4 callers
Method
get_inode_and_position
Look up a file's inode and graph position from the pristine. Returns `None` if the file is not tracked or has no graph position.
atomic-repository/src/repository/record.rs:958
↓ 4 callers
Method
get_internal
(&self, hash: &Hash)
atomic-core/src/apply/graph_batch.rs:172
↓ 4 callers
Method
get_kg_node
(&self, id: &str)
atomic-core/src/pristine/txn/read.rs:778
↓ 4 callers
Method
get_merged
Look up merged content for a vertex. Returns `Some(bytes)` if `vid` is the lead vertex of a resolved SCC.
atomic-core/src/merge/resolved.rs:95
↓ 4 callers
Method
get_status_options
Get status options based on command settings.
atomic-cli/src/commands/status.rs:231
↓ 4 callers
Method
get_trunk
(&self, id: TrunkId)
atomic-core/src/crdt/apply/traits.rs:510
↓ 4 callers
Method
get_visibility
Get the visibility modifier as a string ("public ", "private ", "protected ", or "").
atomic-semantic/src/parsers/java.rs:580
↓ 4 callers
Function
global_config_dir
Get the global configuration directory
atomic-config/src/lib.rs:352
↓ 4 callers
Method
handle_response
Handle a response: check status, parse `ApiResponse<T>`, unwrap data.
atomic-remote/src/storage.rs:185
↓ 4 callers
Method
has_changes
Check if this file has any changes.
atomic-cli/src/commands/diff/types.rs:150
↓ 4 callers
Function
has_content
Check if a position has any content. This is a lighter-weight check than full retrieval, useful for quickly determining if a file exists in the graph
atomic-core/src/record/workflow/retrieve.rs:279
↓ 4 callers
Method
has_file_ops
Check if this change has semantic layer operations.
atomic-core/src/change/change.rs:223
↓ 4 callers
Method
has_vault
(&self)
atomic-core/src/pristine/txn/read.rs:761
↓ 4 callers
Function
hint
Format a hint/suggestion message in dim style. Use this for supplementary information, suggestions, or less important details. # Arguments `text` -
atomic-cli/src/output/colors.rs:253
↓ 4 callers
Method
hunk_count
Get the number of hunks.
atomic-core/src/change/change.rs:840
↓ 4 callers
Function
identity_to_author
Check if stdin is a terminal (for interactive prompts). Convert an atomic_identity::Identity to atomic_core::change::Author. This bridges the two Aut
atomic-cli/src/commands/record/command.rs:119
↓ 4 callers
Method
ignore_patterns
Returns the list of ignore patterns.
atomic-agent/src/watcher/mod.rs:178
↓ 4 callers
Method
include_deleted
Set whether to include deleted content.
atomic-core/src/output/repo/repository/types.rs:115
↓ 4 callers
Method
increment
Increment the counter for the given node kind.
atomic-agent/src/provenance/types.rs:434
↓ 4 callers
Method
init_kg
Initialize the knowledge graph tables.
atomic-repository/src/repository/vault_triples.rs:14
↓ 4 callers
Method
insert
Creates a line insert operation with leaf operations.
atomic-core/src/record/workflow/crdt/builder/branch.rs:52
↓ 4 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
↓ 4 callers
Method
insert_change
Insert a change into the current view. This is the high-level method for inserting a single change into the repository. It loads the change from the
atomic-repository/src/repository/insert.rs:1561
↓ 4 callers
Method
install
(&self, _repo_root: &Path)
atomic-agent/src/hooks/pi.rs:505
↓ 4 callers
Method
into_change
(self)
atomic-repository/src/record/assemble.rs:243
↓ 4 callers
Method
into_parts
Consumes and returns all parts.
atomic-core/src/change/ops.rs:263
↓ 4 callers
Method
into_push_delta
Convert this delta into a `PushDelta`. # Arguments `local_changes` - All changes in the local view that should be considered for upload. The functio
atomic-remote/src/sync.rs:350
↓ 4 callers
Method
is_empty
`true` if no positions have been indexed.
atomic-core/src/record/workflow/recipes/content_hash.rs:107
↓ 4 callers
Method
is_empty
(&self)
atomic-core/src/record/workflow/detect/types.rs:340
↓ 4 callers
Method
is_empty
Check if the working copy is empty.
atomic-core/src/output/memory.rs:426
↓ 4 callers
Method
is_empty
(&self)
atomic-core/src/crdt/apply/order.rs:322
↓ 4 callers
Method
is_empty
Check if the channel is empty.
atomic-remote/src/types.rs:391
↓ 4 callers
Method
is_empty
Returns `true` if no layers are selected.
atomic-remote/src/streaming/layers.rs:194
↓ 4 callers
Method
is_empty
Check if the set is empty.
atomic-identity/src/signing.rs:346
↓ 4 callers
Method
is_expired
(&self, now: i64)
atomic-cli/src/commands/agent/lifecycle.rs:147
↓ 4 callers
Function
is_vertex_alive
Check if a node is alive (not fully deleted). A node is alive if it has at least one non-deleted, non-pseudo-only parent edge. For empty vertices (in
atomic-core/src/output/alive/retrieve/classify.rs:82
↓ 4 callers
Method
is_zombie
(self)
atomic-core/src/output/alive/vertex.rs:166
↓ 4 callers
Method
iter_adjacent
( &self, node: GraphNode<NodeId>, min_flag: EdgeFlags, max_flag: EdgeFlags,
atomic-core/src/pristine/traits/tests/graph_tests.rs:49
↓ 4 callers
Method
kg_enrich_from_vcs
Enrich the KG from all VCS data (views, changes, files, deps). This is the main entry point for populating the KG from the repository's version contr
atomic-repository/src/repository/vault_kg_enrich.rs:26
↓ 4 callers
Method
kind
(&self)
atomic-core/src/record/workflow/crdt/tokenize/types.rs:45
↓ 4 callers
Function
layer_from_dir
Build a gzipped tar layer from a directory's contents (recursive). Paths inside the tar are relative to `dir`. Regular files and symlinks are include
atomic-repository/src/oci.rs:82
↓ 4 callers
Method
len
(&self)
atomic-core/src/diff/token/token_type.rs:156
↓ 4 callers
Method
list
Returns a list of all registered agent names, sorted alphabetically. # Example ```rust use atomic_agent::hooks::AgentRegistry; let registry = Agent
atomic-agent/src/hooks/mod.rs:359
↓ 4 callers
Function
list_active
(dir: &Path, now: i64)
atomic-cli/src/commands/agent/lifecycle.rs:439
↓ 4 callers
Method
list_stashes
List all stash views, sorted by creation time (newest first).
atomic-cli/src/commands/stash.rs:284
↓ 4 callers
Method
list_tags_for_view
List tags in a specific view.
atomic-repository/src/repository/tags.rs:201
↓ 4 callers
Method
list_views
List all views in the repository. # Returns A vector of view names.
atomic-repository/src/repository/views.rs:341
↓ 4 callers
Method
load_headers
Enable loading of change headers. This is slower but provides access to message, authors, etc.
atomic-repository/src/history/types.rs:271
↓ 4 callers
Function
make_internal_vertex
(change: NodeId, start: u64, end: u64)
atomic-core/src/apply/insertion.rs:300
↓ 4 callers
Function
make_position
(change: Option<Hash>, pos: u64)
atomic-core/src/apply/insertion.rs:293
↓ 4 callers
Function
make_simple_graph
Create a minimal alive graph with one node
atomic-core/src/output/repo/content.rs:762
↓ 4 callers
Function
make_simple_order
Create a simple order result with one SCC containing one vertex Note: index 0 is DUMMY, so our vertex is at index 1
atomic-core/src/output/repo/content.rs:773
↓ 4 callers
Function
managed_context
(view: Option<&str>)
atomic-agent/src/turn/orchestrator/tests.rs:819
↓ 4 callers
Function
manifest_json
(target: &Path, prefix: &str)
atomic-agent/src/hooks/manifest.rs:351
↓ 4 callers
Method
mark_binary_file
Mark that a binary file was recorded.
atomic-core/src/record/builder.rs:378
↓ 4 callers
Method
mark_failed
Marks the apply as failed with a reason.
atomic-core/src/crdt/apply/context.rs:514
↓ 4 callers
Method
matches
Check if an identity matches this filter.
atomic-identity/src/store.rs:304
↓ 4 callers
Function
materialize_view
Materialize the repository view (or prefix) to the working copy. This is the main entry point for synchronizing the working copy with the repository
atomic-core/src/output/repo/repository/mod.rs:205
↓ 4 callers
Method
max_depth
Set the maximum traversal depth. # Arguments `depth` - Maximum depth (0 = only root level) # Example ```rust use atomic_core::output::repo::TreeCo
atomic-core/src/output/repo/tree.rs:210
↓ 4 callers
Method
max_file_size
(mut self, size: usize)
atomic-core/src/record/workflow/record/options.rs:158
↓ 4 callers
Method
merge
Merge another `TurnChanges` into this one. Used when combining sub-turn changes (e.g., from multiple tool invocations within a single turn). Deduplic
atomic-agent/src/event.rs:554
↓ 4 callers
Method
modified_time
(&self, _path: &str)
atomic-core/src/output/traits.rs:576
↓ 4 callers
Function
move_tracked
Move/rename a tracked file. This updates the path → inode mapping while preserving the inode, so the file's history is maintained. # Arguments `txn
atomic-repository/src/tracking/tree_ops.rs:389
↓ 4 callers
Method
new_hunks
(&self)
atomic-core/src/diff/inline.rs:428
↓ 4 callers
Method
normalize_path
Normalize a path relative to the repository root.
atomic-cli/src/commands/mv.rs:135
↓ 4 callers
Method
old_hunks
(&self)
atomic-core/src/diff/inline.rs:419
↓ 4 callers
Method
open
Open or create an identity store at the specified path.
atomic-identity/src/store.rs:369
↓ 4 callers
Function
openai_messages
Convert [`ToolMessage`] list into OpenAI's messages array.
atomic-repository/src/ai/tools.rs:470
↓ 4 callers
Method
parse
Parse a change identifier from a string. # Arguments `s` - The identifier string # Returns The parsed `ChangeIdentifier`. # Parsing Rules - If t
atomic-cli/src/commands/change/types.rs:92
↓ 4 callers
Function
parse_author
Parse an author string in the format `"Name <email>"` or just `"Name"`. # Arguments `s` - The author string to parse # Returns A tuple of (name, o
atomic-cli/src/commands/tag/create.rs:59
↓ 4 callers
Method
parse_author
Parse author string into name and email.
atomic-cli/src/commands/revise.rs:436
↓ 4 callers
Function
parse_commit_message
Parse a git commit message into subject and description.
atomic-cli/src/commands/git/parallel.rs:4024
↓ 4 callers
Function
parse_embedding_response
Parse the standard embedding API response format (shared by OpenAI and Voyage).
atomic-repository/src/ai/mod.rs:269
↓ 4 callers
Method
parse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/mod.rs:475
↓ 4 callers
Function
parse_git_config_user_section
Parse a git config file's `[user]` section for `name` and `email`. Only fills in values that are currently `None`, so local config values take preced
atomic-repository/src/repository/vault_identity.rs:126
↓ 4 callers
Function
parse_markdown_frontmatter
(content: &str)
atomic-repository/src/repository/vault.rs:800
↓ 4 callers
Method
parse_stash_ref
Parse a stash reference (e.g., "stash@{0}", "0", or view name).
atomic-cli/src/commands/stash.rs:342
↓ 4 callers
Method
partial_cmp
(&self, other: &Self)
atomic-core/src/crdt/apply/order.rs:247
↓ 4 callers
Method
paths
(mut self, paths: Vec<impl Into<String>>)
atomic-repository/src/record/options.rs:112
↓ 4 callers
Function
position_to_option_hash
(pos: Position<NodeId>)
atomic-core/src/record/workflow/globalize/helpers.rs:26
↓ 4 callers
Method
print_name_only
Print file names only.
atomic-cli/src/commands/diff/format.rs:444
← previous
next →
1,101–1,200 of 14,282, ranked by callers