MCPcopy Create free account

hub / github.com/atomicdotdev/atomic / functions

Functions14,266 in github.com/atomicdotdev/atomic

↓ 32 callersMethodhash
Compute the hash of this change without writing it. This serializes the change to a temporary buffer using the V3 format and returns the content hash
atomic-core/src/change/change.rs:284
↓ 32 callersMethoditer
Iterate over elements.
atomic-core/src/output/alive/order.rs:215
↓ 32 callersMethodlen
Get the number of elements in the path.
atomic-core/src/output/alive/order.rs:210
↓ 32 callersFunctionmake_options
(session: &'a AgentSession, event: &'a TurnEvent)
atomic-agent/src/record/tests.rs:31
↓ 31 callersMethodget_external
(&self, node_id: NodeId)
atomic-core/src/record/workflow/globalize/context.rs:236
↓ 31 callersMethodlen
(&self)
atomic-core/src/change/format_v3/hash_table.rs:450
↓ 30 callersMethodinto_iter
(self)
atomic-cli/src/commands/diff/types.rs:254
↓ 30 callersFunctiontest_hash_position
(pos: u64)
atomic-core/src/change/atom.rs:482
↓ 30 callersMethodvault_manifest
Get the vault manifest.
atomic-repository/src/repository/vault.rs:314
↓ 29 callersMethodapply_after_record
(mut self, apply: bool)
atomic-repository/src/record/options.rs:191
↓ 29 callersMethodas_slice
(&self)
atomic-core/src/crdt/apply/order.rs:346
↓ 29 callersMethodinsert
Inserts an element at its correct position. # Arguments `id` - The ID of the element to insert `after` - The ID this element should be inserted afte
atomic-core/src/crdt/apply/order.rs:360
↓ 29 callersMethoditer
Iterate over recorded files.
atomic-core/src/record/workflow/record/types.rs:628
↓ 29 callersFunctionprint_info
Print an informational message to stdout. The message is formatted in cyan with an info prefix. # Arguments `message` - The message to print # Exa
atomic-cli/src/output/mod.rs:139
↓ 29 callersMethodreplace
Create a Replace operation.
atomic-core/src/diff/ops.rs:141
↓ 29 callersMethodsave_to_store
(mut self, save: bool)
atomic-repository/src/record/options.rs:198
↓ 29 callersMethodstatus
Compute the status of the working copy. Optimized for repositories with tens of thousands of files: 1. **Single TREE pass** — builds tracked_paths +
atomic-repository/src/repository/status.rs:24
↓ 28 callersFunctioninit_repo_with_vault
(dir: &std::path::Path)
atomic-repository/src/repository/vault_intent.rs:761
↓ 28 callersMethodinsert
Insert a hash into the table, returning its index. If the hash is already in the table, returns its existing index without inserting a duplicate (ide
atomic-core/src/change/format_v3/hash_table.rs:267
↓ 28 callersFunctionmake_compactor_and_table
Helper: create a Compactor with a known set of hashes.
atomic-core/src/change/format_v3/compact/tests.rs:42
↓ 28 callersFunctiontemp_store
Helper: create a temporary redb store.
atomic-repository/src/redb_change_store/tests.rs:10
↓ 28 callersMethodto_le_bytes
(self)
atomic-core/src/types/node_id.rs:32
↓ 28 callersMethodvault_intent_create
Create a new vault intent. Allocates a JIRA-style ID (e.g., "PIMO-1") and creates an intent directory with an `intent.md` scaffold. The prefix is de
atomic-repository/src/repository/vault_intent.rs:105
↓ 28 callersMethodwith_prompt
(mut self, prompt: impl Into<String>)
atomic-agent/src/event.rs:350
↓ 27 callersMethodget_internal
(&self, _hash: &Hash)
atomic-core/src/merge/engine.rs:368
↓ 27 callersMethodload_change
Load a change from disk. If the change is in the cache, it's returned directly. Otherwise, it's loaded from disk, verified, and added to the cache.
atomic-repository/src/changestore/mod.rs:360
↓ 27 callersFunctionmake_hook
()
atomic-agent/src/hooks/opencode.rs:679
↓ 27 callersMethodvault_retrieve
Retrieve a vault entry by path.
atomic-repository/src/repository/vault.rs:258
↓ 26 callersMethodencode
Encode the envelope for storage in `HashedChange.metadata`. Format: `[MAGIC: 4 bytes][postcard payload]` # Errors Returns `AgentError::EnvelopeCode
atomic-agent/src/envelope.rs:232
↓ 26 callersMethodfile_name
Get the file name portion of the path.
atomic-core/src/change/local.rs:99
↓ 26 callersMethodtext
Get the full text if available.
atomic-core/src/change/provenance/types.rs:479
↓ 26 callersFunctionword_diff
Compute word-level diff between two byte slices. This is the main entry point for word-level diffing. It tokenizes both inputs and computes the optim
atomic-core/src/diff/word.rs:552
↓ 25 callersMethodappend_tool_call
( &mut self, tool_name: &str, tool_call_id: Option<&str>, tool_input: Option<&
atomic-agent/src/provenance/accumulator/append.rs:55
↓ 25 callersFunctionapply_trunk_op
Applies a TrunkOp to the pristine database. This is the main entry point for applying file-level operations. # Arguments `txn` - The transaction to
atomic-core/src/crdt/apply/trunk.rs:72
↓ 25 callersMethodbuild
Build the [`FileHeader`], auto-computing flags.
atomic-core/src/change/format_v3/types/builder.rs:110
↓ 25 callersMethoddispatch
Dispatch a turn event through the orchestrator. This is the main entry point called by the CLI hook handler. It: 1. Routes the event to the appropria
atomic-agent/src/turn/orchestrator/mod.rs:351
↓ 25 callersMethodextract
(&mut self, source: &str, file_path: &str)
atomic-semantic/src/parsers/cpp.rs:772
↓ 25 callersFunctionextract_session_id
Extract the session_id from parsed input, returning a default if missing.
atomic-agent/src/hooks/claude_code/parse.rs:130
↓ 25 callersMethodkind
(&self)
atomic-core/src/diff/token/token_type.rs:123
↓ 25 callersMethodload
Load a session by ID. Returns `Ok(None)` if the session file doesn't exist (not an error). # Errors Returns `AgentError::SessionIdInvalid` if the I
atomic-agent/src/turn/session.rs:488
↓ 25 callersMethodparse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/cursor.rs:397
↓ 25 callersMethodregister_change
(&mut self, hash: &Hash)
atomic-core/src/pristine/txn/write/mod.rs:344
↓ 25 callersMethodwrite_change_header
Write the HEADER section containing the [`ChangeHeader`]. This is a required section and must be the first section after the hash table. The `ChangeH
atomic-core/src/change/format_v3/writer/state_machine.rs:281
↓ 24 callersMethodlast
Create options for getting the last N changes. # Arguments `n` - Number of recent changes to retrieve
atomic-repository/src/history/types.rs:297
↓ 24 callersMethodlen
Get the number of configured remotes.
atomic-repository/src/remote.rs:378
↓ 24 callersFunctionmake_hook
()
atomic-agent/src/hooks/gemini_cli.rs:838
↓ 24 callersMethodsave_change
Save a change to disk. The change is serialized, written to a temporary file, and then atomically renamed to its final path. The change is also added
atomic-repository/src/changestore/mod.rs:304
↓ 24 callersMethodtimestamp
Set the timestamp (defaults to now if not specified).
atomic-core/src/change/header.rs:355
↓ 23 callersFunctionmake_hook
()
atomic-agent/src/hooks/pi.rs:596
↓ 23 callersFunctionmake_hook
()
atomic-agent/src/hooks/devin.rs:436
↓ 23 callersMethodmessage
Set the change message (required).
atomic-core/src/change/header.rs:343
↓ 23 callersMethodpost
POST request with JSON body, unwrap `ApiResponse` envelope.
atomic-remote/src/storage.rs:108
↓ 23 callersMethodsave_change
Store a `Change` object into the redb store. This serializes the change to V3 format, then imports the sections into the redb tables. This is the pri
atomic-repository/src/redb_change_store/mod.rs:389
↓ 23 callersFunctionsemantic_diff
Compute a semantic diff between two byte slices. This is the main entry point for semantic diffing. It: 1. Splits content into lines 2. Computes line
atomic-core/src/diff/semantic/diff_impl.rs:32
↓ 23 callersFunctiontokenize
Tokenize a byte slice into owned [`MergeToken`]s. Uses the project's code-aware [`Tokenizer`] so that operators, strings, numbers, and comments are r
atomic-core/src/merge/three_way.rs:83
↓ 23 callersMethodvault_dir
Path to the vault directory (`.vault/` at the project root).
atomic-repository/src/repository/vault.rs:13
↓ 22 callersMethodas_u64
(self)
atomic-core/src/types/node_id.rs:56
↓ 22 callersFunctionencode_branch_id
(id: &BranchId)
atomic-core/src/crdt/tables.rs:284
↓ 22 callersMethodhash_table_entries
Set the number of unique hashes in the dedup table.
atomic-core/src/change/format_v3/types/builder.rs:62
↓ 22 callersMethodlines
Returns an iterator over tokenized lines. Lines are processed lazily as the iterator is consumed.
atomic-core/src/record/workflow/crdt/tokenize/mod.rs:77
↓ 22 callersFunctionmake_position
Helper: make a Position<Option<Hash>> with a specific hash.
atomic-core/src/change/format_v3/compact/tests.rs:25
↓ 22 callersMethodparse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/copilot.rs:265
↓ 22 callersFunctiontest_hash
()
atomic-core/src/change/credit.rs:720
↓ 22 callersFunctiontest_timestamp
()
atomic-core/src/change/credit.rs:724
↓ 22 callersFunctionwriter_with_metadata
Helper: create a minimal writer with preamble + metadata sections written.
atomic-core/src/change/format_v3/writer/tests.rs:28
↓ 21 callersFunctioncheck_min_version_header
Check the `X-Atomic-Min-Version` response header and warn if the current CLI version is older than the server's minimum requirement. Prints a warning
atomic-remote/src/version.rs:38
↓ 21 callersFunctionchunk_content
Split content into variable-size chunks using FastCDC. Returns a list of [`ContentChunk`] descriptors. Each chunk's data can be accessed via `&data[c
atomic-core/src/change/format_v3/chunking.rs:481
↓ 21 callersFunctioncreate_opts
Helper to build IntentCreateOptions with session info for tests.
atomic-repository/src/repository/vault_intent.rs:768
↓ 21 callersFunctioncreate_test_repo
()
atomic-repository/tests/content_roundtrip_fidelity_test.rs:20
↓ 21 callersFunctioncreate_test_store
Create a test change store in a temporary directory.
atomic-repository/src/changestore/tests.rs:16
↓ 21 callersFunctionencode_vertex
(change_id: u64, start: u64, end: u64)
atomic-core/src/pristine/tables.rs:783
↓ 21 callersMethodfinalize
Finalize the change file by writing the trailer. This computes the final blake3 content hash from all hashed sections written so far, writes the 32-b
atomic-core/src/change/format_v3/writer/state_machine.rs:420
↓ 21 callersMethodflag
(&self)
atomic-core/src/types/graph_edge.rs:235
↓ 21 callersMethodget_view_info
Get information about a view. Returns the view's metadata including its Merkle state and change count. # Arguments `name` - The name of the view to
atomic-repository/src/repository/views.rs:499
↓ 21 callersMethodparse
Parse a changelist entry from the protocol format. Format: `{sequence}.{hash}.{merkle}` or `{sequence}.{hash}.{merkle}.` # Examples ``` use atomic_
atomic-remote/src/types.rs:198
↓ 21 callersMethodsave
Save a session to disk atomically. Writes to a temporary file first, then renames to the final path. This prevents corruption if the process is kille
atomic-agent/src/turn/session.rs:521
↓ 21 callersMethodserialize
Serialize this change to a writer using the V3 format. Writes the complete V3 change file (header, hash table, sections, trailer) to the given writer
atomic-core/src/change/change.rs:307
↓ 21 callersFunctionsession_start_event
(session_id: &str)
atomic-agent/src/turn/orchestrator/tests.rs:26
↓ 21 callersMethodwith_tool_name
Set the tool name.
atomic-agent/src/provenance/types.rs:317
↓ 20 callersFunctionbuild_client
Build a [`StorageClient`] from global config and the resolved identity. - `org_override` — explicit `--org` flag value. - `server_override` — explici
atomic-cli/src/commands/client.rs:53
↓ 20 callersMethodcreate_view_from
Create a new view that inherits changes from another view. This creates a new view and copies all changes from the source view to the new view. The n
atomic-repository/src/repository/views.rs:256
↓ 20 callersFunctionencode_trunk_id
(id: &TrunkId)
atomic-core/src/crdt/tables.rs:245
↓ 20 callersMethodhunks
Get the hunks in this change.
atomic-core/src/change/change.rs:272
↓ 20 callersMethodinsert
Insert a change into the store. # Arguments `hash` - The hash to use as the key `change` - The change to store
atomic-core/src/change/store.rs:335
↓ 20 callersMethoditer_mut
(&mut self)
atomic-core/src/crdt/apply/conflict.rs:572
↓ 20 callersMethodmessage
Render an actionable, accurate error message for this issue. All messages point at registering an identity, since that is the single command that est
atomic-cli/src/commands/auth.rs:261
↓ 20 callersFunctionrecord_change
(repo: &Repository, message: &str)
atomic-repository/tests/content_roundtrip_fidelity_test.rs:35
↓ 20 callersMethodswitch_view
Switch to a different view and update the working copy. This is the primary method for switching views. It: 1. Validates the view exists 2. Updates t
atomic-repository/src/repository/switch.rs:91
↓ 20 callersMethodwrite_dependencies
Write the DEPS section containing dependency hash indices. This is a required section. It contains the list of dependency hashes as `HashIndex` value
atomic-core/src/change/format_v3/writer/state_machine.rs:324
↓ 20 callersFunctionwrite_file
(repo_path: &Path, name: &str, content: &str)
atomic-repository/tests/content_roundtrip_fidelity_test.rs:27
↓ 19 callersFunctionapply_branch_op
Applies a BranchOp to the pristine database. This is the main entry point for applying line-level operations. # Arguments `txn` - The transaction t
atomic-core/src/crdt/apply/branch.rs:93
↓ 19 callersFunctionapply_leaf_op
Applies a LeafOp to the pristine database. This is the main entry point for applying token-level operations. # Arguments `txn` - The transaction to
atomic-core/src/crdt/apply/leaf.rs:101
↓ 19 callersFunctioncompute_inline_diff
Compute an inline diff between two lines. This is the main entry point for inline diff computation. It tokenizes both lines, computes a word-level di
atomic-core/src/diff/inline.rs:601
↓ 19 callersFunctioncreate_test_change
(message: &str, content: &[u8])
atomic-core/src/change/store.rs:532
↓ 19 callersMethodfinish
Finish recording and produce a `Recorded` result. This consumes the builder and returns the accumulated state. # Returns A `Recorded` containing al
atomic-core/src/record/builder.rs:424
↓ 19 callersMethodis_empty
Check if no operations were performed. Returns `true` if no files were written, no directories created, and no files skipped. # Example ```rust use
atomic-core/src/output/repo/outcome.rs:147
↓ 19 callersMethoditer
Returns an iterator over all changes.
atomic-core/src/record/workflow/crdt/line_ops/analyzer.rs:148
↓ 19 callersMethodlen
(&self)
atomic-core/src/change/format_v3/compact/types.rs:84
↓ 19 callersFunctionmake_hook
()
atomic-agent/src/hooks/codex.rs:651
↓ 19 callersFunctionmake_test_change
Helper: create a simple test Change.
atomic-repository/src/redb_change_store/tests.rs:18
← previousnext →101–200 of 14,266, ranked by callers