MCPcopy Create free account

hub / github.com/atomicdotdev/atomic / functions

Functions25,138 in github.com/atomicdotdev/atomic

↓ 47 callersMethodget_file_content_on_view
Get the recorded content for a tracked file on a specific view. Like `get_file_content`, but reads from the specified view instead of the current vie
atomic-repository/src/repository/content.rs:303
↓ 47 callersFunctiongit_ok
(root: &Path, args: &[&str])
atomic-cli/tests/it/git_adoption_cb7b_test.rs:85
↓ 47 callersFunctionmake_hook
()
atomic-agent/src/hooks/cline.rs:524
↓ 46 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:85
↓ 45 callersMethodcanonicalize
(&mut self)
atomic-core/src/operation/mod.rs:196
↓ 45 callersMethodchildren
Iterate over a span's children. This includes both the children in the shared array and any extra children attached to the span. # Arguments `id` -
atomic-core/src/output/alive/graph.rs:299
↓ 45 callersMethodfile_name
Get the file name portion of the path.
atomic-core/src/change/local.rs:99
↓ 45 callersFunctionmake_options
(session: &'a AgentSession, event: &'a TurnEvent)
atomic-agent/src/record/tests.rs:31
↓ 45 callersMethodtimestamp
Set the timestamp (defaults to now if not specified).
atomic-core/src/change/header.rs:355
↓ 44 callersMethodadd_file
Add a recorded file.
atomic-core/src/record/workflow/record/types.rs:697
↓ 44 callersMethodc0
(&self)
atomic-cli/tests/it/git_adoption_cb7b_test.rs:165
↓ 44 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:781
↓ 44 callersMethoditer_changes
Iterate over all change hashes stored in the repository. This scans the changes directory and yields the hash of each change file found. The iteratio
atomic-repository/src/repository/changes.rs:1280
↓ 44 callersFunctionoptions
( session: &'a AgentSession, event: &'a TurnEvent, turn_number: u32, prompt: &str, )
atomic-agent/tests/record_view_mismatch_regression.rs:21
↓ 43 callersFunctionatomic
(root: &Path, home: &Path, args: &[&str])
atomic-cli/tests/it/git_adoption_cb7b_test.rs:36
↓ 43 callersFunctioninit_repo_with_vault
(dir: &std::path::Path)
atomic-repository/src/repository/vault_intent.rs:1435
↓ 43 callersMethodpermissions
Get the permission bits. # Returns The Unix permission bits.
atomic-core/src/record/item.rs:378
↓ 42 callersMethodensure_project_identity
Mint once, before projecting project-qualified resources. Upgrade opens never load a private key. Repository creation may sign with the default identi
atomic-repository/src/repository/project_identity.rs:106
↓ 42 callersMethodopen_or_create_view
(&mut self, name: &str)
atomic-core/src/pristine/txn/write/mod.rs:1253
↓ 42 callersMethodtree
(&self, view: &str)
libatomic/tests/sandbox_service_test.rs:173
↓ 41 callersMethodcapture
Capture pending-edit evidence (`atomic status` through the Reconcile boundary).
atomic-cli/tests/it/git_adoption_cb7b_test.rs:268
↓ 41 callersFunctioncurrent_operation_timestamp_ms
()
atomic-repository/src/repository/operation.rs:4541
↓ 41 callersFunctionmake_session
()
atomic-agent/src/turn/session.rs:1462
↓ 41 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:1042
↓ 41 callersMethodsave_change
Save a change to the repository. The change is serialized and written to the `.atomic/changes/` directory using a content-addressed two-level directo
atomic-repository/src/repository/changes.rs:165
↓ 40 callersFunctioncolocated
Colocated fixture: an Atomic repository over a Git repository with one commit on `dev`.
atomic-repository/src/repository/anchor.rs:1743
↓ 40 callersFunctiondeleted
Format deleted content in red. Use this for removed files, lines, or content. # Arguments `text` - The text to format # Returns A styled object t
atomic-cli/src/output/colors.rs:297
↓ 40 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:2420
↓ 40 callersMethodis_empty
Check if there are no remotes configured.
atomic-repository/src/remote.rs:373
↓ 40 callersMethoditer_dependency_first
Iterate the closure in deterministic dependency-first order.
atomic-core/src/pristine/traits/view.rs:251
↓ 40 callersMethodlen
Get the number of elements in the path.
atomic-core/src/output/alive/order.rs:210
↓ 40 callersMethodput_change
( &mut self, view: &mut ViewState, change_id: NodeId, change_hash: &Hash,
atomic-core/src/pristine/txn/write/mod.rs:1345
↓ 39 callersMethodappend_goal
Append a goal node (human prompt). `timestamp` is Unix epoch milliseconds, as on every accumulator node. Returns the new node's ID.
atomic-agent/src/provenance/accumulator/append.rs:16
↓ 39 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:723
↓ 39 callersFunctiongit_error
(message: impl Into<String>)
atomic-cli/src/commands/git/hooks.rs:1802
↓ 39 callersFunctionmake_hash
Helper: create a hash filled with a single byte value.
atomic-core/src/change/format_v3/hash_table.rs:757
↓ 38 callersMethodencode
Encode the envelope for storage in `HashedChange.metadata`. Format: `[MAGIC: 4 bytes][postcard payload]` # Errors Returns `SessionEnvelopeError` if
atomic-core/src/change/envelope.rs:256
↓ 38 callersFunctionlift_intent
Lift an intent from its frontmatter spine and markdown body.
atomic-canonical/src/lift.rs:41
↓ 38 callersMethodpath
Get the path being written.
atomic-core/src/output/filesystem/mod.rs:150
↓ 38 callersFunctionrun
(repo_dir: &Path, home_dir: &Path, args: &[&str])
atomic-cli/tests/it/routing_parity_test.rs:28
↓ 38 callersMethodsave_provenance_graph
Save a provenance graph to the repository. Serializes the graph to disk, registers it in the pristine database with `node_type::PROVENANCE`, and reco
atomic-repository/src/repository/changes.rs:1438
↓ 38 callersMethodtruncate
Truncate text to fit within a maximum width.
atomic-cli/src/output/table.rs:422
↓ 37 callersMethodadd_file
Add a file with the given contents. This is a convenience method for testing. Creates parent directories automatically. # Example ```rust use atomi
atomic-core/src/output/memory.rs:314
↓ 37 callersMethodcount
(&self)
atomic-core/src/crdt/apply/conflict.rs:554
↓ 37 callersMethodfinalize_operation_verified
Append the deterministic operation-level `Verified` receipt immediately.
atomic-repository/src/repository/operation.rs:2173
↓ 37 callersMethodis_empty
Check if this row has no cells.
atomic-cli/src/output/table.rs:206
↓ 37 callersFunctionmake_event
()
atomic-agent/src/record/tests.rs:27
↓ 37 callersMethodoperation_details
Return full operation data, receipts, verification, and current head scopes.
atomic-repository/src/repository/operation.rs:323
↓ 37 callersMethodpush_vertex
Push a span onto the graph. Returns the `VertexId` assigned to this span. # Arguments `span` - The span to add # Returns The ID that can be used
atomic-core/src/output/alive/graph.rs:184
↓ 37 callersMethodwalk
( root: &Path, dir: &Path, worktree_rules: &crate::ignore::IgnoreRules,
atomic-repository/src/repository/switch.rs:1639
↓ 37 callersFunctionworking_copy_state_ref
(record: WorkingCopyRecord)
atomic-repository/src/repository/operation.rs:4655
↓ 36 callersMethodbuild
Build the change header. # Panics Panics if no message has been set.
atomic-core/src/change/header.rs:377
↓ 36 callersFunctiongit
(root: &Path, args: &[&str])
atomic-cli/tests/it/git_import_cb9b_test.rs:84
↓ 36 callersFunctionmake_session
()
atomic-agent/src/record/tests.rs:19
↓ 36 callersFunctionmap_remote_error
Inspect a [`atomic_remote::RemoteError`] and convert HTTP 404 responses into a context-specific [`TeamsError`] using the provided constructor, and HTT
atomic-teams/src/error.rs:52
↓ 36 callersMethodoperation
(&self)
atomic-repository/src/repository/operation.rs:156
↓ 36 callersMethodput_change_deps
(&mut self, change_id: NodeId, deps: &[Hash])
atomic-core/src/pristine/txn/write/mod.rs:2080
↓ 36 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:569
↓ 36 callersFunctionsession_start_event
(session_id: &str)
atomic-agent/src/turn/orchestrator/tests.rs:30
↓ 36 callersMethodtext
Get the full text if available.
atomic-core/src/change/provenance/types.rs:483
↓ 36 callersMethodto_hex
Lowercase hex encoding, as used in Git refs and messages.
atomic-repository/src/git_binding/codec.rs:125
↓ 36 callersMethodvault_dir
Path to the vault directory (`.vault/` at the project root).
atomic-repository/src/repository/vault.rs:13
↓ 35 callersMethodall
(&self)
atomic-repository/src/record/options.rs:395
↓ 35 callersFunctionatomic_ok
(root: &Path, home: &Path, args: &[&str])
atomic-cli/tests/it/git_shim_daily_workflow_regression.rs:87
↓ 35 callersMethodchange
The change this blocker applies to (base32).
atomic-repository/src/repository/provenance_gate.rs:165
↓ 35 callersMethodchange_path
Get the path where a change file should be stored. Changes are stored in a two-level directory structure based on their hash: `.atomic/changes/AB/CDE
atomic-repository/src/repository/mod.rs:1430
↓ 35 callersFunctiondecode
( bytes: &[u8], mut lookup: impl FnMut(&[u8; 32]) -> PristineResult<Option<[u8; 64]>>, )
atomic-core/src/pristine/git_closure.rs:83
↓ 35 callersFunctionencode_branch_id
(id: &BranchId)
atomic-core/src/crdt/tables.rs:284
↓ 35 callersFunctionfixture
A fresh repo + vault with an isolated HOME carrying a default identity (the attestation flow needs one).
atomic-cli/tests/it/routing_parity_test.rs:40
↓ 35 callersFunctiongit_error
(message: impl Into<String>)
atomic-cli/src/commands/git/shim.rs:3347
↓ 35 callersMethoditer
Iterate over recorded files.
atomic-core/src/record/workflow/record/types.rs:780
↓ 35 callersFunctionmake_hook
()
atomic-agent/src/hooks/copilot.rs:499
↓ 35 callersFunctionmake_hook
()
atomic-agent/src/hooks/cursor.rs:800
↓ 35 callersMethodmessage
(mut self, message: impl Into<String>)
atomic-repository/src/record/options.rs:248
↓ 35 callersMethodskip
Record a skipped path.
atomic-repository/src/tracking/mod.rs:336
↓ 35 callersMethodstatus
(&self, options: StatusOptions)
atomic-repository/src/repository/tests/mod.rs:166
↓ 35 callersFunctiontransition
Compute the next phase and required actions given the current phase and an event. This is a **pure function** with no side effects. The caller (orche
atomic-agent/src/turn/phase.rs:452
↓ 35 callersMethodwith_prompt
(mut self, prompt: impl Into<String>)
atomic-agent/src/event.rs:359
↓ 34 callersMethodas_u64
(self)
atomic-core/src/types/node_id.rs:56
↓ 34 callersFunctionatomic_ok
(root: &Path, home: &Path, args: &[&str])
atomic-cli/tests/it/git_import_cb9b_test.rs:74
↓ 34 callersMethodchange_id
(&self)
atomic-core/src/crdt/ids.rs:72
↓ 34 callersFunctioncreate_opts
Helper to build IntentCreateOptions with session info for tests.
atomic-repository/src/repository/vault_intent.rs:1442
↓ 34 callersFunctiongit_commit
(root: &Path, message: &str)
atomic-cli/tests/it/git_import_cb9b_test.rs:105
↓ 34 callersMethodload_by_name
Load an identity by name.
atomic-identity/src/store.rs:547
↓ 34 callersMethodparse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/cline.rs:233
↓ 34 callersMethodproject_tree
Build the canonical repository manifest and Git tree from recorded view state. Stored bytes are used verbatim; no smudge filter or working-copy read o
atomic-repository/src/repository/project_tree.rs:1189
↓ 34 callersFunctionresponse_meta
(meta: &Option<RequestMeta>)
libatomic/src/daemon/services_agent.rs:1233
↓ 34 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:503
↓ 33 callersMethodbuild
(self)
atomic-core/src/crdt/apply/options.rs:514
↓ 33 callersFunctioncommit_all
(root: &Path, message: &str)
atomic-cli/tests/it/git_shim_daily_workflow_regression.rs:175
↓ 33 callersMethodcomponents
(&self)
atomic-repository/src/repository/project_tree.rs:51
↓ 33 callersMethodflag
(&self)
atomic-core/src/types/graph_edge.rs:235
↓ 33 callersFunctiongit_error
(message: impl Into<String>)
atomic-cli/src/commands/git/parallel.rs:2159
↓ 33 callersFunctionmake_hook
()
atomic-agent/src/hooks/claude_code/tests.rs:15
↓ 33 callersMethodreference
The display reference: `stash@{index}`.
atomic-repository/src/repository/stash.rs:200
↓ 33 callersFunctionrequest_meta
()
atomic-cli/src/commands/rpc.rs:182
↓ 33 callersMethodreverse
Create the reverse edge modification. This creates an edge that undoes this modification: - Swaps `previous` and `flag` - Uses the given `introduced_
atomic-core/src/change/atom.rs:417
↓ 32 callersMethodadd_path
Add a single path to tracking.
atomic-cli/src/commands/add.rs:275
↓ 32 callersFunctionchange
(name: &str, amount: u64, request: &str)
atomic-repository/src/workflow_usage.rs:629
↓ 32 callersMethodget_session_ledger
Read the Atomic-native indexed ledger for a session. Unlike `find_provenance_for_session`, this reads only the session index and turn records; it doe
atomic-repository/src/repository/changes.rs:1678
← previousnext →201–300 of 25,138, ranked by callers