MCPcopy Create free account

hub / github.com/atomicdotdev/atomic / functions

Functions14,266 in github.com/atomicdotdev/atomic

↓ 19 callersMethodnext
(&mut self)
atomic-repository/src/history/iter.rs:74
↓ 19 callersMethodparse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/pi.rs:320
↓ 19 callersMethodresolve_path
Resolve a relative path to an absolute path within the root. This method sanitizes the path to prevent directory traversal attacks. # Errors Return
atomic-core/src/output/filesystem/mod.rs:70
↓ 19 callersMethodsort
Sort entries by path.
atomic-repository/src/archive.rs:538
↓ 19 callersMethodwith_files
Builder: set the files to add.
atomic-cli/src/commands/add.rs:208
↓ 19 callersFunctionwrite_full_change
Helper: write a full change file with all section types.
atomic-core/src/change/format_v3/reader/tests.rs:132
↓ 18 callersMethodadd_entry
Add a file status entry.
atomic-repository/src/status.rs:479
↓ 18 callersFunctionencode_inode_vertex
(inode: u64, change_id: u64, start: u64, end: u64)
atomic-core/src/pristine/tables.rs:802
↓ 18 callersMethodextract
(&mut self, source: &str, file_path: &str)
atomic-semantic/src/parsers/rust.rs:590
↓ 18 callersMethodextract
(&mut self, source: &str, file_path: &str)
atomic-semantic/src/parsers/java.rs:644
↓ 18 callersMethodgraph_section_count
Set the number of GRAPH sections (one per modified file).
atomic-core/src/change/format_v3/types/builder.rs:68
↓ 18 callersMethodinode_position
(&self, _inode: Inode)
atomic-core/src/record/context.rs:852
↓ 18 callersMethodis_empty
Returns true if the reasoning is essentially empty (no useful content).
atomic-agent/src/transcript/reasoning.rs:48
↓ 18 callersMethodlen
(&self)
atomic-core/src/crdt/apply/order.rs:316
↓ 18 callersFunctionlines
Helper to create lines from strings
atomic-core/src/diff/myers.rs:198
↓ 18 callersMethodload_change
Load a change from the repository. If the change is in the cache, it's returned directly. Otherwise, it's loaded from disk, verified, and cached. #
atomic-repository/src/repository/changes.rs:145
↓ 18 callersFunctionmake_hash
Helper: make a Hash from a byte pattern.
atomic-core/src/change/format_v3/compact/tests.rs:20
↓ 18 callersFunctionmake_hook
()
atomic-agent/src/hooks/kiro.rs:459
↓ 18 callersFunctionmake_orchestrator
Create a test orchestrator with a real FallbackWatcher.
atomic-agent/src/turn/orchestrator/tests.rs:15
↓ 18 callersFunctionstorage_err
(err: E, context: &str)
atomic-core/src/crdt/apply/error.rs:64
↓ 18 callersFunctionthree_way_merge
Perform a three-way merge of token sequences. `base` — the common ancestor's tokens `left` — one side's tokens `right` — the other side's tokens R
atomic-core/src/merge/three_way.rs:99
↓ 18 callersMethodwith_raw_json
(mut self, raw: serde_json::Value)
atomic-agent/src/event.rs:378
↓ 18 callersFunctionwith_writer
Helper to create a writer and run a test function, then return the buffer contents
atomic-core/src/output/repo/writer.rs:484
↓ 18 callersMethodwrite_file_header
Write the 64-byte file header. This MUST be the first write operation. The header is written uncompressed and is NOT included in the content hash. #
atomic-core/src/change/format_v3/writer/state_machine.rs:217
↓ 18 callersFunctionwrite_minimal_change
()
atomic-core/src/change/format_v3/reader/tests.rs:9
↓ 17 callersMethodcmp
(&self, other: &Self)
atomic-core/src/crdt/apply/order.rs:241
↓ 17 callersMethodcreate_view
Create a new view. # Arguments `name` - The name of the view to create # Errors Returns an error if: - The view already exists - The database oper
atomic-repository/src/repository/views.rs:68
↓ 17 callersFunctiondiff
Compute the diff between two sequences using the LCS-based algorithm. This finds the operations needed to transform `old` into `new`. # Arguments `
atomic-core/src/diff/myers.rs:37
↓ 17 callersMethodentries
Get all entries.
atomic-repository/src/status.rs:491
↓ 17 callersMethodextract
(&mut self, source: &str, file_path: &str)
atomic-semantic/src/parsers/go.rs:394
↓ 17 callersMethodfinish
(mut self)
atomic-cli/src/commands/git/parallel.rs:833
↓ 17 callersMethoditer
Returns an iterator over the selected layers.
atomic-remote/src/streaming/layers.rs:204
↓ 17 callersMethodlog
Get a forward history log for the current view. For **draft** views, only changes that are "new" on this view are returned — inherited changes from a
atomic-repository/src/repository/history.rs:34
↓ 17 callersFunctionmake_config
(dir: &TempDir)
atomic-agent/src/watcher/fallback.rs:274
↓ 17 callersFunctionmake_hook
()
atomic-agent/src/hooks/sherpa.rs:329
↓ 17 callersFunctionmake_store
()
atomic-agent/src/turn/session.rs:691
↓ 17 callersMethodmaterialize
Materialize the working copy to match the current view's state. This synchronizes the working copy files with the repository graph state for the curr
atomic-repository/src/repository/materialize.rs:96
↓ 17 callersMethodnext_section
Read the next section, decompressing its payload. Returns `None` if all sections have been read. The returned [`ReadSection`] contains the decompress
atomic-core/src/change/format_v3/reader/sections.rs:113
↓ 17 callersFunctionnormalize_path
- Removes trailing slashes - Strips absolute path prefix if it matches repo root - No trailing slash (except for root) - Relative to repository root
atomic-repository/src/tracking/helpers.rs:14
↓ 17 callersMethodrun
Execute the add command. This method: 1. Finds and opens the repository 2. Collects files to add (from arguments or --all) 3. Adds each file to track
atomic-cli/src/commands/add.rs:408
↓ 17 callersFunctionrun_consolidate
( nodes: &mut Vec<GraphNode>, edges: &mut Vec<GraphEdge>, stats: &mut GraphStats,
atomic-agent/src/provenance/consolidate.rs:785
↓ 17 callersMethodstart_pos
(&self)
atomic-core/src/types/graph_node.rs:129
↓ 17 callersFunctiontest_branch_id
(idx: u32)
atomic-core/src/change/ops.rs:817
↓ 17 callersMethodvault_materialize
Materialize a single vault entry to disk. Reads the entry from redb and writes it as a markdown file with YAML frontmatter to `.vault/<path>`. # Err
atomic-repository/src/repository/vault.rs:348
↓ 17 callersMethodwith_message
Builder: set the commit message.
atomic-cli/src/commands/record/mod.rs:263
↓ 17 callersMethodwrite_graph_section
Write a GRAPH section for a single file. Each modified file in the change gets one GRAPH section containing its graph operations (vertex insertions,
atomic-core/src/change/format_v3/writer/sections.rs:32
↓ 16 callersMethodadd_simple
(&mut self, kind: ConflictKind, description: impl Into<String>)
atomic-core/src/crdt/apply/conflict.rs:541
↓ 16 callersMethodextract
Parse source code and extract all entities
atomic-semantic/src/parser.rs:44
↓ 16 callersMethodinsert
(old_index: usize, new_start: usize, new_len: usize)
atomic-core/src/record/workflow/graph_op/pending.rs:68
↓ 16 callersMethodmessage
(mut self, message: impl Into<String>)
atomic-repository/src/record/options.rs:184
↓ 16 callersMethodnode_text
Get text content of a node
atomic-semantic/src/parser.rs:939
↓ 16 callersMethodparse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/opencode.rs:394
↓ 16 callersFunctiontest_new_vertex
()
atomic-core/src/change/graph_op.rs:659
↓ 16 callersMethodto_bytes
Serialize this header to a 64-byte array. All multi-byte fields are little-endian. # Examples ```rust use atomic_core::change::format_v3::FileHeade
atomic-core/src/change/format_v3/types/header.rs:244
↓ 16 callersMethodwrite_hash_table
Write the hash deduplication table. The hash table is written uncompressed immediately after the file header. Its bytes ARE fed through the blake3 ha
atomic-core/src/change/format_v3/writer/state_machine.rs:245
↓ 15 callersMethodbegin_turn
( &mut self, session_id: &str, )
atomic-agent/src/watcher/fallback.rs:217
↓ 15 callersMethodbuild
Build the provenance graph.
atomic-core/src/change/provenance_graph/builder.rs:143
↓ 15 callersMethodcount
Builder: set count limit.
atomic-cli/src/commands/log/command.rs:663
↓ 15 callersFunctioncreate_test_repo
Create a test repository with a single recorded file.
atomic-repository/tests/state_based_diff_test.rs:42
↓ 15 callersFunctiondeserialize_view_state
Deserialize bytes to a ViewState Backward-compatible: if the v2 fields (`kind`, `parent`) are missing (i.e., the data was written by an older version
atomic-core/src/pristine/txn/helpers.rs:87
↓ 15 callersMethodextract
(&mut self, source: &str, file_path: &str)
atomic-semantic/src/parsers/python.rs:419
↓ 15 callersMethodget_file_content_after_change
Get file content as it was AFTER a specific change was applied. This method retrieves the content of a file at the state immediately after a change w
atomic-repository/src/repository/content.rs:650
↓ 15 callersFunctionlines
Helper to create lines from strings
atomic-core/src/diff/patience.rs:380
↓ 15 callersMethodnext
(&mut self)
atomic-core/src/pristine/txn/helpers.rs:182
↓ 15 callersMethodnode_text
Get the text content of a node.
atomic-semantic/src/parsers/rust.rs:489
↓ 15 callersMethodopen_or_create_view
(&mut self, name: &str)
atomic-core/src/pristine/txn/write/mod.rs:420
↓ 15 callersMethodparse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/claude_code/mod.rs:205
↓ 15 callersFunctionparse_plan
Parse a query plan from JSON.
atomic-repository/src/query_plan.rs:452
↓ 15 callersMethodread_all_sections
Read all remaining sections, returning them as a vector. This is a convenience method that calls [`next_section`](Self::next_section) in a loop until
atomic-core/src/change/format_v3/reader/sections.rs:226
↓ 15 callersFunctionrecord_added_file
Record a single added file from the working copy. Reads the file content and creates appropriate hunks for a new file. # Arguments `working_copy` -
atomic-core/src/record/workflow/record/mod.rs:216
↓ 15 callersFunctionsample_graph
()
atomic-core/src/change/provenance_graph/tests.rs:84
↓ 15 callersMethodupdate
(&mut self, data: &[u8])
atomic-core/src/types/hash.rs:77
↓ 15 callersMethodwith_change_filter
Set a change filter for state-based content retrieval. Only vertices from changes in this set (or ROOT) will be included. This enables retrieving fil
atomic-core/src/output/alive/retrieve/options.rs:126
↓ 15 callersMethodwrite_content_chunk
Write a CONTENT chunk. Content is split into chunks (typically via FastCDC). Each chunk is independently compressed and content-addressed by its blak
atomic-core/src/change/format_v3/writer/sections.rs:102
↓ 14 callersMethodadd_row
Add a row to the table. # Arguments `row` - The row data # Returns Self for method chaining. # Example ```rust,ignore table.add_row(vec!["main",
atomic-cli/src/output/table.rs:378
↓ 14 callersMethodbuild
Build the identity, generating a keypair if needed.
atomic-identity/src/identity.rs:469
↓ 14 callersMethodchange_id
(&self)
atomic-core/src/crdt/ids.rs:72
↓ 14 callersFunctioncreate_spinner
Create a spinner for operations with unknown duration. Spinners are used when we don't know how long an operation will take or how much work remains.
atomic-cli/src/output/progress.rs:85
↓ 14 callersMethodcreate_view
( &mut self, name: &str, kind: ViewScope, parent: Option<u64>, )
atomic-core/src/pristine/txn/write/mod.rs:444
↓ 14 callersMethodend_pos
(&self)
atomic-core/src/types/graph_node.rs:141
↓ 14 callersMethodend_turn
(&mut self)
atomic-agent/src/watcher/fallback.rs:231
↓ 14 callersFunctionget_ignore_template
Get the .atomicignore content for a given project kind. This function returns appropriate ignore patterns for common project types, helping users sta
atomic-cli/src/commands/init.rs:94
↓ 14 callersMethodget_inode
Get the inode for a file. Returns `None` if the file doesn't exist.
atomic-core/src/output/memory.rs:391
↓ 14 callersMethodis_empty
Check if the view has any changes.
atomic-repository/src/history/types.rs:357
↓ 14 callersMethoditer
Iterate over the hunks.
atomic-core/src/record/workflow/graph_op/hunk.rs:472
↓ 14 callersMethodlen
(&self)
atomic-core/src/change/atom.rs:218
↓ 14 callersMethodline_ops
(&self)
atomic-core/src/change/ops.rs:206
↓ 14 callersFunctionmake_agent
()
atomic-core/src/change/attestation.rs:746
↓ 14 callersFunctionmake_attestation
()
atomic-core/src/change/attestation.rs:750
↓ 14 callersFunctionmake_minimal_envelope
()
atomic-agent/src/envelope.rs:597
↓ 14 callersFunctionmake_vertex
(change: u64, start: u64, end: u64)
atomic-core/src/apply/conflict.rs:461
↓ 14 callersMethodnode_text
Get the text content of a node.
atomic-semantic/src/parsers/java.rs:593
↓ 14 callersMethodparse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/codex.rs:208
↓ 14 callersMethodrun
Execute the diff command. This method: 1. Finds and opens the repository 2. Gets the status of the working copy 3. Computes diffs for modified files
atomic-cli/src/commands/diff/command.rs:219
↓ 14 callersMethodsave
Save global configuration to the default location
atomic-config/src/lib.rs:379
↓ 14 callersMethodset_state
Sets the leaf's state.
atomic-core/src/crdt/leaf.rs:225
↓ 14 callersFunctionsummarize_tool_call
Generate a one-line summary for a tool call node. The summary is human-readable and concise, suitable for display in the provenance graph and compact
atomic-agent/src/provenance/classify.rs:152
↓ 14 callersMethodtokens
(&self)
atomic-core/src/record/workflow/crdt/tokenize/types.rs:177
↓ 14 callersMethodupdate_view
(&mut self, view: &ViewState)
atomic-core/src/pristine/txn/write/mod.rs:793
↓ 14 callersMethodvault_goal_start
Start a new vault goal. Creates a goal directory under `.vault/goals/` with a `_goal.md` file containing initial metadata. Goal names are Docker-sty
atomic-repository/src/repository/vault_goal.rs:81
← previousnext →201–300 of 14,266, ranked by callers