MCPcopy Create free account

hub / github.com/atomicdotdev/atomic / functions

Functions14,282 in github.com/atomicdotdev/atomic

↓ 4 callersMethodexpand_insertion
Convert a [`CompactInsertion`] to an `Insertion<Option<Hash>>`.
atomic-core/src/change/format_v3/compact/compactor.rs:186
↓ 4 callersFunctionextractSessionId
* 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 callersFunctionextract_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 callersMethodfile_metadata
(&self, path: &str)
atomic-core/src/output/memory.rs:506
↓ 4 callersMethodfiles_in_turn
(mut self, files: Vec<String>)
atomic-agent/src/envelope.rs:531
↓ 4 callersMethodfind_block
(&self, pos: Position<NodeId>)
atomic-core/src/apply/graph_batch.rs:199
↓ 4 callersMethodfind_ended
Find all ended sessions.
atomic-agent/src/turn/session.rs:614
↓ 4 callersMethodfind_identity_dir
Find the directory for an identity by ID.
atomic-identity/src/store.rs:742
↓ 4 callersMethodfirst_line
Get the first line of a node's text (for signatures).
atomic-semantic/src/parsers/rust.rs:500
↓ 4 callersMethodformat
Set the archive format.
atomic-repository/src/archive.rs:307
↓ 4 callersFunctionformat_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 callersMethodformat_json
Format the change for JSON output.
atomic-cli/src/commands/change/command.rs:678
↓ 4 callersFunctionformat_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 callersFunctionget
(id: string)
packages/opencode-atomic-hooks/src/session.ts:180
↓ 4 callersMethodget_crdt_trunk
( &self, key: &[u8; 12], )
atomic-core/src/pristine/txn/read.rs:1147
↓ 4 callersMethodget_directory_flags
(&self, inode: Inode)
atomic-core/src/pristine/txn/write/tree.rs:15
↓ 4 callersMethodget_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 callersMethodget_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 callersMethodget_inode
(&self, _path: &str)
atomic-core/src/record/context.rs:840
↓ 4 callersMethodget_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 callersMethodget_internal
(&self, hash: &Hash)
atomic-core/src/apply/graph_batch.rs:172
↓ 4 callersMethodget_kg_node
(&self, id: &str)
atomic-core/src/pristine/txn/read.rs:778
↓ 4 callersMethodget_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 callersMethodget_status_options
Get status options based on command settings.
atomic-cli/src/commands/status.rs:231
↓ 4 callersMethodget_trunk
(&self, id: TrunkId)
atomic-core/src/crdt/apply/traits.rs:510
↓ 4 callersMethodget_visibility
Get the visibility modifier as a string ("public ", "private ", "protected ", or "").
atomic-semantic/src/parsers/java.rs:580
↓ 4 callersFunctionglobal_config_dir
Get the global configuration directory
atomic-config/src/lib.rs:352
↓ 4 callersMethodhandle_response
Handle a response: check status, parse `ApiResponse<T>`, unwrap data.
atomic-remote/src/storage.rs:185
↓ 4 callersMethodhas_changes
Check if this file has any changes.
atomic-cli/src/commands/diff/types.rs:150
↓ 4 callersFunctionhas_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 callersMethodhas_file_ops
Check if this change has semantic layer operations.
atomic-core/src/change/change.rs:223
↓ 4 callersMethodhas_vault
(&self)
atomic-core/src/pristine/txn/read.rs:761
↓ 4 callersFunctionhint
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 callersMethodhunk_count
Get the number of hunks.
atomic-core/src/change/change.rs:840
↓ 4 callersFunctionidentity_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 callersMethodignore_patterns
Returns the list of ignore patterns.
atomic-agent/src/watcher/mod.rs:178
↓ 4 callersMethodinclude_deleted
Set whether to include deleted content.
atomic-core/src/output/repo/repository/types.rs:115
↓ 4 callersMethodincrement
Increment the counter for the given node kind.
atomic-agent/src/provenance/types.rs:434
↓ 4 callersMethodinit_kg
Initialize the knowledge graph tables.
atomic-repository/src/repository/vault_triples.rs:14
↓ 4 callersMethodinsert
Creates a line insert operation with leaf operations.
atomic-core/src/record/workflow/crdt/builder/branch.rs:52
↓ 4 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
↓ 4 callersMethodinsert_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 callersMethodinstall
(&self, _repo_root: &Path)
atomic-agent/src/hooks/pi.rs:505
↓ 4 callersMethodinto_change
(self)
atomic-repository/src/record/assemble.rs:243
↓ 4 callersMethodinto_parts
Consumes and returns all parts.
atomic-core/src/change/ops.rs:263
↓ 4 callersMethodinto_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 callersMethodis_empty
`true` if no positions have been indexed.
atomic-core/src/record/workflow/recipes/content_hash.rs:107
↓ 4 callersMethodis_empty
(&self)
atomic-core/src/record/workflow/detect/types.rs:340
↓ 4 callersMethodis_empty
Check if the working copy is empty.
atomic-core/src/output/memory.rs:426
↓ 4 callersMethodis_empty
(&self)
atomic-core/src/crdt/apply/order.rs:322
↓ 4 callersMethodis_empty
Check if the channel is empty.
atomic-remote/src/types.rs:391
↓ 4 callersMethodis_empty
Returns `true` if no layers are selected.
atomic-remote/src/streaming/layers.rs:194
↓ 4 callersMethodis_empty
Check if the set is empty.
atomic-identity/src/signing.rs:346
↓ 4 callersMethodis_expired
(&self, now: i64)
atomic-cli/src/commands/agent/lifecycle.rs:147
↓ 4 callersFunctionis_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 callersMethodis_zombie
(self)
atomic-core/src/output/alive/vertex.rs:166
↓ 4 callersMethoditer_adjacent
( &self, node: GraphNode<NodeId>, min_flag: EdgeFlags, max_flag: EdgeFlags,
atomic-core/src/pristine/traits/tests/graph_tests.rs:49
↓ 4 callersMethodkg_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 callersMethodkind
(&self)
atomic-core/src/record/workflow/crdt/tokenize/types.rs:45
↓ 4 callersFunctionlayer_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 callersMethodlen
(&self)
atomic-core/src/diff/token/token_type.rs:156
↓ 4 callersMethodlist
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 callersFunctionlist_active
(dir: &Path, now: i64)
atomic-cli/src/commands/agent/lifecycle.rs:439
↓ 4 callersMethodlist_stashes
List all stash views, sorted by creation time (newest first).
atomic-cli/src/commands/stash.rs:284
↓ 4 callersMethodlist_tags_for_view
List tags in a specific view.
atomic-repository/src/repository/tags.rs:201
↓ 4 callersMethodlist_views
List all views in the repository. # Returns A vector of view names.
atomic-repository/src/repository/views.rs:341
↓ 4 callersMethodload_headers
Enable loading of change headers. This is slower but provides access to message, authors, etc.
atomic-repository/src/history/types.rs:271
↓ 4 callersFunctionmake_internal_vertex
(change: NodeId, start: u64, end: u64)
atomic-core/src/apply/insertion.rs:300
↓ 4 callersFunctionmake_position
(change: Option<Hash>, pos: u64)
atomic-core/src/apply/insertion.rs:293
↓ 4 callersFunctionmake_simple_graph
Create a minimal alive graph with one node
atomic-core/src/output/repo/content.rs:762
↓ 4 callersFunctionmake_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 callersFunctionmanaged_context
(view: Option<&str>)
atomic-agent/src/turn/orchestrator/tests.rs:819
↓ 4 callersFunctionmanifest_json
(target: &Path, prefix: &str)
atomic-agent/src/hooks/manifest.rs:351
↓ 4 callersMethodmark_binary_file
Mark that a binary file was recorded.
atomic-core/src/record/builder.rs:378
↓ 4 callersMethodmark_failed
Marks the apply as failed with a reason.
atomic-core/src/crdt/apply/context.rs:514
↓ 4 callersMethodmatches
Check if an identity matches this filter.
atomic-identity/src/store.rs:304
↓ 4 callersFunctionmaterialize_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 callersMethodmax_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 callersMethodmax_file_size
(mut self, size: usize)
atomic-core/src/record/workflow/record/options.rs:158
↓ 4 callersMethodmerge
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 callersMethodmodified_time
(&self, _path: &str)
atomic-core/src/output/traits.rs:576
↓ 4 callersFunctionmove_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 callersMethodnew_hunks
(&self)
atomic-core/src/diff/inline.rs:428
↓ 4 callersMethodnormalize_path
Normalize a path relative to the repository root.
atomic-cli/src/commands/mv.rs:135
↓ 4 callersMethodold_hunks
(&self)
atomic-core/src/diff/inline.rs:419
↓ 4 callersMethodopen
Open or create an identity store at the specified path.
atomic-identity/src/store.rs:369
↓ 4 callersFunctionopenai_messages
Convert [`ToolMessage`] list into OpenAI's messages array.
atomic-repository/src/ai/tools.rs:470
↓ 4 callersMethodparse
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 callersFunctionparse_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 callersMethodparse_author
Parse author string into name and email.
atomic-cli/src/commands/revise.rs:436
↓ 4 callersFunctionparse_commit_message
Parse a git commit message into subject and description.
atomic-cli/src/commands/git/parallel.rs:4024
↓ 4 callersFunctionparse_embedding_response
Parse the standard embedding API response format (shared by OpenAI and Voyage).
atomic-repository/src/ai/mod.rs:269
↓ 4 callersMethodparse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/mod.rs:475
↓ 4 callersFunctionparse_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 callersFunctionparse_markdown_frontmatter
(content: &str)
atomic-repository/src/repository/vault.rs:800
↓ 4 callersMethodparse_stash_ref
Parse a stash reference (e.g., "stash@{0}", "0", or view name).
atomic-cli/src/commands/stash.rs:342
↓ 4 callersMethodpartial_cmp
(&self, other: &Self)
atomic-core/src/crdt/apply/order.rs:247
↓ 4 callersMethodpaths
(mut self, paths: Vec<impl Into<String>>)
atomic-repository/src/record/options.rs:112
↓ 4 callersFunctionposition_to_option_hash
(pos: Position<NodeId>)
atomic-core/src/record/workflow/globalize/helpers.rs:26
↓ 4 callersMethodprint_name_only
Print file names only.
atomic-cli/src/commands/diff/format.rs:444
← previousnext →1,101–1,200 of 14,282, ranked by callers