MCPcopy Create free account

hub / github.com/atomicdotdev/atomic / functions

Functions15,895 in github.com/atomicdotdev/atomic

↓ 7 callersFunctionsuccess
Format a success message in green. Use this for positive outcomes, confirmations, and success states. # Arguments `text` - The text to format # Re
atomic-cli/src/output/colors.rs:168
↓ 7 callersMethodto_postcard_bytes
Serialize this payload to postcard bytes. This is a convenience wrapper around [`postcard::to_allocvec`]. The caller typically compresses the result
atomic-core/src/change/format_v3/sections.rs:280
↓ 7 callersMethodtrunk
(self, trunk_id: TrunkId)
atomic-core/src/crdt/apply/conflict.rs:440
↓ 7 callersMethodvault_intent_list
List vault intents. Optionally filtered by status. Pass `Some("all")` or `None` for all intents.
atomic-repository/src/repository/vault_intent.rs:456
↓ 7 callersFunctionverify_memory
Verify an attested memory's content hash and signature against a public key.
atomic-canonical/src/lib.rs:98
↓ 7 callersMethodwith_change
(mut self, hash: Hash)
atomic-core/src/output/repo/conflict.rs:291
↓ 7 callersMethodwith_count
Builder: set the count limit.
atomic-cli/src/commands/log/command.rs:133
↓ 7 callersMethodwith_deleted
(mut self, files: Vec<PathBuf>)
atomic-agent/src/event.rs:509
↓ 7 callersMethodwith_format
Builder: set the output format.
atomic-cli/src/commands/log/command.rs:157
↓ 7 callersMethodwith_old_line_num
Set the old line number.
atomic-core/src/record/workflow/crdt/builder/branch.rs:101
↓ 7 callersMethodwith_prefix
Set the path prefix filter. Only files under this prefix will be processed. # Arguments `prefix` - Path prefix (e.g., "src/", "tests/") # Example
atomic-core/src/record/workflow/options.rs:209
↓ 7 callersMethodwith_recursive
Builder: set the `--recursive` flag.
atomic-cli/src/commands/add.rs:236
↓ 7 callersMethodwith_short
Builder: set short output mode.
atomic-cli/src/commands/status.rs:219
↓ 7 callersMethodwith_stat
Builder: set the stat flag.
atomic-cli/src/commands/diff/command.rs:135
↓ 7 callersMethodwith_view
Builder: set the view name.
atomic-cli/src/commands/log/command.rs:139
↓ 7 callersMethodwrite
(&mut self, buf: &[u8])
atomic-repository/src/archive.rs:714
↓ 7 callersMethodwrite_to
Write the hash table to a writer. Writes `len() × 32` bytes: each hash in index order, raw (no compression). The caller is responsible for writing th
atomic-core/src/change/format_v3/hash_table.rs:584
↓ 6 callersMethodadd
Add an entry to the manifest.
atomic-repository/src/archive.rs:507
↓ 6 callersMethodadd_added
Add an added file to the result.
atomic-core/src/record/workflow/detect/types.rs:299
↓ 6 callersMethodadd_branch_inserted
(&mut self)
atomic-core/src/crdt/apply/context.rs:151
↓ 6 callersMethodadd_dependency_by_id
Add a dependency by node ID, looking up the hash. # Arguments `node_id` - Internal ID of the change # Returns Ok(()) if the dependency was added,
atomic-core/src/record/workflow/globalize/context.rs:161
↓ 6 callersMethodadd_hunk
Add a graph_op to this file.
atomic-core/src/record/workflow/record/types.rs:307
↓ 6 callersMethodadd_leaf_inserted
(&mut self)
atomic-core/src/crdt/apply/context.rs:171
↓ 6 callersMethodadd_line
Add a line credit (will merge with adjacent ranges if possible).
atomic-core/src/change/credit.rs:633
↓ 6 callersMethodadd_token
Adds a token to this line.
atomic-core/src/output/crdt.rs:144
↓ 6 callersMethodagent_vendor
Set the AI vendor identifier.
atomic-core/src/change/provenance_graph/builder.rs:105
↓ 6 callersMethodallocate_inode
Allocate a new unique inode. Each call returns a different inode value. # Example ```rust use atomic_core::output::Memory; let wc = Memory::new();
atomic-core/src/output/memory.rs:293
↓ 6 callersMethodarchive
This exports the working copy state at the current (or specified) Merkle state to the given destination. # Arguments `destination` - Path to the out
atomic-repository/src/repository/archive.rs:29
↓ 6 callersMethodas_bytes
(&self)
atomic-core/src/types/set_id.rs:139
↓ 6 callersMethodas_bytes
Get the raw bytes of the public key
atomic-identity/src/keypair.rs:33
↓ 6 callersMethodas_directory
Mark this entry as a directory.
atomic-core/src/record/workflow/collect.rs:134
↓ 6 callersFunctionassert_content_matches
Assert that the content retrieved via overlay matches the expected bytes.
atomic-repository/tests/content_roundtrip_fidelity_test.rs:49
↓ 6 callersFunctionatomic
Run `atomic <args>` inside `dir`.
atomic-cli/tests/insert_promote_integration_test.rs:18
↓ 6 callersFunctionattest_with
Lift+attest a stored intent with a given keypair, returning the node.
atomic-cli/src/commands/intent/list.rs:413
↓ 6 callersMethodbegin_turn
Mark the start of a new turn.
atomic-agent/src/turn/session.rs:350
↓ 6 callersFunctionbranch
(change: u64, idx: u32)
atomic-core/src/crdt/queries.rs:155
↓ 6 callersFunctionbuild_decision_edges
Build edges connecting a decision node to the surrounding context. The decision node gets: - An edge from the most recent goal (if any precedes the s
atomic-agent/src/provenance/consolidate.rs:676
↓ 6 callersFunctionbuild_report
Build the canonical triage report for `feature` relative to `target`.
atomic-cli/src/commands/triage/project.rs:80
↓ 6 callersFunctionbuild_view_chain
Build the ancestor chain for a view, ordered root → leaf. Walks `parent_of` from the leaf upward, guarding against cycles with a visited set. A root
atomic-cli/src/commands/push/helpers.rs:62
↓ 6 callersFunctionbuild_walkthrough
Group the candidate modifications into ordered semantic layers. Pure and deterministic: clusters modified paths by [`layer_key`], orders clusters fou
atomic-cli/src/commands/triage/project.rs:847
↓ 6 callersFunctioncheck_embedded_directives
Reject a REGISTERED directive name embedded mid-prose with an attrs brace (e.g. `… ::file-ref{path=x} …` inside a sentence). The block parser only rea
atomic-canonical/src/directive.rs:215
↓ 6 callersFunctioncollect_visible_change_ids_with_deps
Collect all change `NodeId`s visible from a view and expand their indexed dependency closure without loading `.change` files. This is the dependency-
atomic-repository/src/repository/filter.rs:114
↓ 6 callersFunctioncombined
Combined stdout + stderr as a lossy string, for substring assertions.
atomic-cli/tests/insert_promote_integration_test.rs:27
↓ 6 callersFunctioncompare_content
Compare two byte slices and produce diff operations. This function handles the actual diffing of file content. # Arguments `old_content` - Content
atomic-core/src/record/detect.rs:721
↓ 6 callersFunctioncontent_config
(repo_root: &Path)
atomic-repository/src/content_search.rs:350
↓ 6 callersFunctioncosine_similarity
Compute cosine similarity between two vectors. Returns 0.0 if the vectors have different lengths, are empty, or if either has zero magnitude.
atomic-core/src/pristine/txn/write/embeddings.rs:19
↓ 6 callersMethodcrdt_ops
(&self)
atomic-core/src/record/workflow/record/types.rs:412
↓ 6 callersFunctioncreate_intent
The core create logic, factored out so it can be unit-tested against an explicit [`Repository`] (the [`Command::run`] impl resolves the repo from the
atomic-cli/src/commands/intent/new.rs:134
↓ 6 callersFunctioncreate_test_change
Create a simple test change with the given message.
atomic-repository/src/repository/tests/mod.rs:36
↓ 6 callersFunctioncreate_test_entry_without_header
()
atomic-cli/src/commands/log/tests.rs:397
↓ 6 callersFunctioncreate_test_identities
()
atomic-identity/src/delegation.rs:588
↓ 6 callersMethoddanger_accept_invalid_certs
Skip TLS certificate verification (dangerous!). Only use this for testing or when connecting to servers with self-signed certificates that you trust.
atomic-remote/src/http/mod.rs:124
↓ 6 callersMethoddecode
Decode a `SessionEnvelope` from `HashedChange.metadata` bytes. Validates the magic prefix and schema version before deserializing. # Errors Returns
atomic-agent/src/envelope.rs:254
↓ 6 callersFunctiondecode_embedding_key
(key: &str)
atomic-core/src/pristine/tables.rs:789
↓ 6 callersFunctiondecode_leaf_value
(bytes: &[u8; 22])
atomic-core/src/crdt/tables.rs:646
↓ 6 callersMethoddel_change
( &mut self, view: &mut ViewState, change_id: NodeId, _change_hash: &Hash,
atomic-core/src/pristine/txn/write/mod.rs:1029
↓ 6 callersMethoddel_directory
(&mut self, inode: Inode)
atomic-core/src/pristine/txn/write/mod.rs:1563
↓ 6 callersMethoddel_embeddings
(&mut self, path: &str)
atomic-core/src/pristine/txn/write/embeddings.rs:187
↓ 6 callersMethoddel_file_index
Remove a file from the FILE_INDEX. Call this when a file is deleted (e.g., during git import cleanup) so that `status` doesn't show it as a stale ent
atomic-repository/src/repository/tracking.rs:526
↓ 6 callersMethoddel_inode
(&mut self, inode: Inode)
atomic-core/src/pristine/txn/write/mod.rs:1458
↓ 6 callersFunctionderive_agent_author
Derive the agent author from the user's identity. Constructs: `{agent_name}+{session_short} <{user_email}>` If the user has no email, uses the agent
atomic-agent/src/identity.rs:115
↓ 6 callersMethoddetect_raw_renames
(mut self, detect: bool)
atomic-repository/src/record/options.rs:281
↓ 6 callersMethodembed_sync
Synchronous embed using a throwaway tokio runtime (for use in non-async contexts). When called from within an existing Tokio runtime (e.g., from hook
atomic-repository/src/ai/mod.rs:163
↓ 6 callersFunctionencode_position
(change_id: u64, pos: u64)
atomic-core/src/pristine/tables.rs:863
↓ 6 callersFunctionencode_session_todo_key
(provenance_id: u64, todo_id: &str)
atomic-core/src/change/session.rs:457
↓ 6 callersMethodensure_metadata_complete
Ensure that the required metadata sections (HEADER + DEPS) have been written.
atomic-core/src/change/format_v3/writer/helpers.rs:25
↓ 6 callersFunctionerror
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
↓ 6 callersFunctionevaluate_push_credentials
Pure decision core for [`check_push_credentials`], split out so it can be unit-tested without touching the on-disk identity store. `explicit` — wheth
atomic-cli/src/commands/auth.rs:464
↓ 6 callersFunctionextract_content_edges
Extract edges from content text (wiki-links, file paths).
atomic-repository/src/repository/vault_triples.rs:1267
↓ 6 callersFunctionextract_file
Extract a file path from a node's detail or summary.
atomic-agent/src/provenance/consolidate.rs:601
↓ 6 callersMethodfilter_file_diffs
Filter computed file diffs down to the paths given on the command line, rebuilding the aggregate stats from the surviving entries. This is a no-op wh
atomic-cli/src/commands/diff/helpers.rs:95
↓ 6 callersMethodfind_intent_path
Find the vault path for an intent by its resolved manifest key. First checks the manifest's `vault_path` field (fast path), then falls back to scanni
atomic-repository/src/repository/vault_intent.rs:1105
↓ 6 callersFunctionfind_repository_root_from
Find the repository root starting from a specific path. Like [`find_repository_root`], but starts from the given path instead of the current working
atomic-cli/src/commands/mod.rs:284
↓ 6 callersFunctionfirst_conflict_marker_line
Return the 1-based line number of the first Atomic conflict-start marker (`>>>>>>>`) in `content`, or `None` if the content has no markers. This is t
atomic-repository/src/repository/materialize.rs:10
↓ 6 callersMethodformat_default
Format entries for default output. # Arguments `entries` - History entries to format `hash_length` - Number of hash characters to display # Returns
atomic-cli/src/commands/log/command.rs:243
↓ 6 callersFunctionformat_hash_with_length
Format a hash for display with custom length. Like [`format_hash`], but allows specifying the truncation length. # Arguments `hash` - The hash to f
atomic-cli/src/commands/mod.rs:431
↓ 6 callersMethodformat_json
Format entries for JSON output. # Arguments `entries` - History entries to format # Returns Formatted JSON string.
atomic-cli/src/commands/log/command.rs:398
↓ 6 callersMethodformat_json
Format the change for JSON output.
atomic-cli/src/commands/change/command.rs:656
↓ 6 callersMethodformat_short
Format entries for short output. # Arguments `entries` - History entries to format `hash_length` - Number of hash characters to display # Returns
atomic-cli/src/commands/log/command.rs:312
↓ 6 callersMethodget_change_at_seq
( &self, _view: &ViewState, _seq: u64, )
atomic-core/src/record/context.rs:930
↓ 6 callersMethodget_crdt_branch
( &self, key: &[u8; 12], )
atomic-core/src/pristine/txn/read.rs:1344
↓ 6 callersMethodget_file_inode
Get the inode for a tracked file. Returns `None` if the file is not tracked. # Arguments `path` - Path to look up
atomic-repository/src/repository/tracking.rs:485
↓ 6 callersMethodget_session_manifest
Load an immutable session manifest by content hash.
atomic-core/src/pristine/txn/read.rs:661
↓ 6 callersMethodget_tracking_options
Convert command options to TrackingOptions.
atomic-cli/src/commands/add.rs:251
↓ 6 callersMethodget_view
(&self, _name: &str)
atomic-core/src/record/context.rs:899
↓ 6 callersMethodhash
Get the change hash.
atomic-repository/src/history/types.rs:436
↓ 6 callersFunctionhash_file
Blake3 hex digest of a file's contents.
atomic-agent/src/integrations/receipt.rs:171
↓ 6 callersFunctioninfo
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
↓ 6 callersMethodinode
(&self)
atomic-core/src/crdt/trunk.rs:193
↓ 6 callersMethodinsert_change
Insert a change, computing its hash automatically. # Arguments `change` - The change to store # Returns The computed hash. # Errors Returns an e
atomic-core/src/change/store.rs:352
↓ 6 callersMethodinstall
(&self, repo_root: &Path)
atomic-agent/src/hooks/claude_code/mod.rs:209
↓ 6 callersFunctionintent_substance_hash
The `intentSubstanceHash` — a `blake3:<hex>` hash of the intent's reviewable definition ([`CanonicalNode::substance_value`]), stable across review act
atomic-canonical/src/node.rs:378
↓ 6 callersMethodinto_iter
(self)
atomic-core/src/record/workflow/graph_op/hunk.rs:481
↓ 6 callersMethodis_clean
Returns `true` if the outcome is [`Clean`](Self::Clean).
atomic-core/src/merge/mod.rs:70
↓ 6 callersMethodis_draft
Whether the view is a draft view.
atomic-remote/src/types.rs:658
↓ 6 callersMethodis_empty
Returns `true` if the graph has no nodes.
atomic-agent/src/provenance/accumulator/mod.rs:272
↓ 6 callersMethodis_empty
(&self)
atomic-core/src/record/workflow/globalize/file.rs:83
↓ 6 callersMethodis_empty
(&self)
atomic-core/src/diff/inline.rs:244
↓ 6 callersMethodis_replaced
(&self)
atomic-core/src/diff/semantic/types.rs:195
↓ 6 callersFunctionis_supported
Check if a file path is supported for AST extraction.
atomic-semantic/src/parsers/mod.rs:156
← previousnext →801–900 of 15,895, ranked by callers