Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ functions
Functions
14,282 in github.com/atomicdotdev/atomic
⨍
Functions
14,282
◇
Types & classes
1,144
↓ 3 callers
Method
session_graph_dir
Get the session directory for provenance graph storage. Returns `{sessions_dir}/{session_id}/` — a subdirectory alongside the session's JSON file. Th
atomic-agent/src/turn/orchestrator/provenance.rs:36
↓ 3 callers
Method
session_path
Returns the path to a session's JSON file.
atomic-agent/src/turn/session.rs:625
↓ 3 callers
Method
sessions_dir
Returns the sessions directory path.
atomic-agent/src/turn/session.rs:630
↓ 3 callers
Method
set_applied
Mark as applied with new state.
atomic-repository/src/record/assemble.rs:313
↓ 3 callers
Method
set_default
Set the default remote.
atomic-cli/src/commands/remote/mod.rs:271
↓ 3 callers
Method
set_default_for_usage
Set the default identity for a specific usage.
atomic-identity/src/store.rs:89
↓ 3 callers
Method
set_encoding
Sets the trunk's encoding.
atomic-core/src/crdt/trunk.rs:238
↓ 3 callers
Method
set_parent_view
Set the parent view name (the view that was current when this session started). Only sets the value if it hasn't been set already (first call wins).
atomic-agent/src/turn/session.rs:284
↓ 3 callers
Method
set_saved
Mark as saved.
atomic-repository/src/record/assemble.rs:308
↓ 3 callers
Method
short
Enable short format.
atomic-cli/src/commands/status.rs:567
↓ 3 callers
Method
short
Get a short form of the ID for display (first 8 characters).
atomic-identity/src/identity.rs:89
↓ 3 callers
Function
spinner_style
Get the default spinner style. Format: `⠋ Message...`
atomic-cli/src/output/progress.rs:293
↓ 3 callers
Method
state_base32
Get the Merkle state as a base32-encoded string.
atomic-repository/src/repository/views.rs:23
↓ 3 callers
Method
stats
Get statistics about this graph.
atomic-core/src/output/alive/graph.rs:356
↓ 3 callers
Method
stats
Get statistics for this file.
atomic-core/src/change/credit.rs:662
↓ 3 callers
Function
summarize_from_transcript
Extract a one-line commit message from the agent's transcript file. Reads the transcript JSONL, condenses it into structured entries, then looks for
atomic-agent/src/record/message.rs:76
↓ 3 callers
Function
test_hash2
()
atomic-core/src/apply/change.rs:245
↓ 3 callers
Function
test_hash_position
(pos: u64)
atomic-core/src/change/change.rs:878
↓ 3 callers
Function
test_repo
Initialize a repository in a temp dir. Returns the guard, repo, and root.
atomic-cli/src/commands/restore.rs:657
↓ 3 callers
Method
timestamp
Set the timestamp (Unix epoch seconds). Defaults to now.
atomic-core/src/change/attestation.rs:642
↓ 3 callers
Method
to_base32
Encode the identity ID as base32.
atomic-identity/src/identity.rs:66
↓ 3 callers
Method
to_edge
(&self)
atomic-core/src/types/graph_edge.rs:257
↓ 3 callers
Method
to_identity
Convert to an Identity.
atomic-identity/src/store.rs:163
↓ 3 callers
Method
to_tokenize_options
Converts to tokenize options for the tokenizer.
atomic-core/src/record/workflow/crdt/convert/types.rs:123
↓ 3 callers
Method
to_tracking_options
Convert to TrackingOptions.
atomic-cli/src/commands/remove.rs:188
↓ 3 callers
Method
tokenize_all
Tokenizes all content and returns the result with statistics. This eagerly processes all lines and collects statistics.
atomic-core/src/record/workflow/crdt/tokenize/mod.rs:89
↓ 3 callers
Method
tokens
Set token usage.
atomic-core/src/change/provenance/builder.rs:119
↓ 3 callers
Method
total_tokens
Total tokens across all models (input + output + cache).
atomic-core/src/change/attestation.rs:265
↓ 3 callers
Method
total_uncompressed
Set the total uncompressed size for progress reporting.
atomic-core/src/change/format_v3/types/builder.rs:88
↓ 3 callers
Method
truncate_from
Remove all entries at or after a given sequence number. Used when the remote has diverged and we need to discard our stale cache entries.
atomic-remote/src/sync.rs:207
↓ 3 callers
Function
truncate_prompt
Truncate a prompt string for display, preserving word boundaries where possible.
atomic-agent/src/provenance/accumulator/helpers.rs:68
↓ 3 callers
Function
truncate_to_char_boundary
Find the largest byte index ≤ `max_bytes` that falls on a UTF-8 char boundary. Prevents panics when truncating strings that contain multi-byte charac
atomic-semantic/src/lib.rs:27
↓ 3 callers
Method
try_build
Try to build the change header, returning an error if invalid. This is a non-panicking alternative to `build()`.
atomic-core/src/change/header.rs:389
↓ 3 callers
Method
try_merge
Try to merge with another hunk of the same kind. Returns `Some(merged)` if the hunks are adjacent and same kind, `None` otherwise.
atomic-core/src/diff/inline.rs:265
↓ 3 callers
Method
uninstall
(&self, repo_root: &Path)
atomic-agent/src/hooks/gemini_cli.rs:709
↓ 3 callers
Method
uninstall
(&self, repo_root: &Path)
atomic-agent/src/hooks/claude_code/mod.rs:234
↓ 3 callers
Method
update_file_index
(mut self, update: bool)
atomic-repository/src/record/options.rs:208
↓ 3 callers
Method
use_replace_ops
Set whether to use Replace operations.
atomic-core/src/diff/semantic_to_crdt.rs:128
↓ 3 callers
Function
validate_run_id
(run_id: &str)
atomic-cli/src/commands/agent/lifecycle.rs:416
↓ 3 callers
Function
validate_view_name
Validate a view name. View names must: - Not be empty - Not exceed 255 characters - Not contain invalid characters (/, \, :, *, ?, ", <, >, |, space,
atomic-cli/src/commands/view/new.rs:91
↓ 3 callers
Method
vault_goal_show
Show a goal's full content. Returns the [`VaultEntry`] for the goal's `_goal.md` file.
atomic-repository/src/repository/vault_goal.rs:454
↓ 3 callers
Method
vault_materialize_all
Materialize all vault entries to disk. Reads every entry from redb and writes it as a markdown file. Also writes the manifest as `_manifest.json`. T
atomic-repository/src/repository/vault.rs:375
↓ 3 callers
Function
vendor_from_agent_name
Infer vendor from the agent registry name. The model comes from the agent's hook payload (e.g., SessionStart sends `"model": "claude-sonnet-4-5-20250
atomic-agent/src/turn/orchestrator/mod.rs:371
↓ 3 callers
Method
verify
Verify this signature against a message and public key.
atomic-identity/src/signing.rs:87
↓ 3 callers
Method
vertex_mut
(&mut self, id: VertexId)
atomic-core/src/output/alive/graph.rs:248
↓ 3 callers
Function
vertex_to_bytes
Encode a Span as 24 bytes for use as a redb key.
atomic-core/tests/inode_graph_test.rs:231
↓ 3 callers
Method
visible_file_paths
Compute the set of file paths visible on a view. Visibility includes the view's own changes AND all changes inherited through the parent chain. A dr
atomic-repository/src/repository/materialize.rs:21
↓ 3 callers
Function
walk
(v: unknown, depth: number)
packages/opencode-atomic-hooks/src/index.ts:18
↓ 3 callers
Method
walk_backward
Walk backward from a node through its causal chain. Returns node IDs in reverse-causal order: the target node first, then its causes, then their caus
atomic-core/src/change/provenance_graph/mod.rs:404
↓ 3 callers
Function
warning
Format a warning message in yellow. Use this for warnings, cautions, or situations that need attention but aren't errors. # Arguments `text` - The
atomic-cli/src/output/colors.rs:190
↓ 3 callers
Method
with_algorithm
Sets the diff algorithm to use. - `Myers`: Faster, good for most cases - `Patience`: Better for code with many similar lines
atomic-core/src/record/workflow/crdt/line_ops/types.rs:81
↓ 3 callers
Method
with_archive_size
Set the archive size and compute compression ratio.
atomic-repository/src/archive.rs:604
↓ 3 callers
Method
with_bytes_written
Set the bytes written count. # Arguments `bytes` - Number of bytes written
atomic-core/src/output/repo/file.rs:395
↓ 3 callers
Method
with_cache_read
Set cache read tokens.
atomic-core/src/change/attestation.rs:490
↓ 3 callers
Method
with_category
(mut self, category: impl Into<String>)
atomic-agent/src/transcript/reasoning.rs:215
↓ 3 callers
Method
with_changes
(mut self, hashes: Vec<Hash>)
atomic-core/src/output/repo/conflict.rs:319
↓ 3 callers
Method
with_check_mtime
Set whether to use mtime optimization. # Arguments `check` - Whether to check mtime before comparing content
atomic-core/src/record/detect.rs:195
↓ 3 callers
Method
with_content_range
(mut self, start: ChangePosition, end: ChangePosition)
atomic-core/src/change/ops.rs:545
↓ 3 callers
Method
with_dependencies
Create options that will insert dependencies automatically.
atomic-repository/src/apply/types.rs:169
↓ 3 callers
Method
with_dry_run
Builder: set the dry-run flag.
atomic-cli/src/commands/mv.rs:123
↓ 3 callers
Method
with_dry_run
Builder: set the dry-run flag.
atomic-cli/src/commands/restore.rs:141
↓ 3 callers
Method
with_dry_run
Builder: set the dry-run flag.
atomic-cli/src/commands/push/command.rs:181
↓ 3 callers
Method
with_dry_run
Builder: set the dry-run flag.
atomic-cli/src/commands/pull/command.rs:213
↓ 3 callers
Method
with_duration_ms
Set the duration.
atomic-agent/src/provenance/types.rs:329
↓ 3 callers
Method
with_edges_traversed
Set the edges traversed count. # Arguments `count` - Number of edges traversed
atomic-core/src/output/repo/file.rs:415
↓ 3 callers
Method
with_end_line
(mut self, end_line: u32)
atomic-agent/src/transcript/reasoning.rs:208
↓ 3 callers
Method
with_force
Builder: set the force flag.
atomic-cli/src/commands/mv.rs:129
↓ 3 callers
Method
with_force_rediff
Set whether to force re-diffing. # Arguments `force` - Whether to bypass optimizations
atomic-core/src/record/workflow/options.rs:231
↓ 3 callers
Method
with_from_view
Builder: set the remote view to pull from.
atomic-cli/src/commands/pull/command.rs:207
↓ 3 callers
Method
with_full_hash
Builder: set full-hash flag.
atomic-cli/src/commands/change/command.rs:135
↓ 3 callers
Method
with_function
(mut self, function: impl Into<String>)
atomic-agent/src/transcript/reasoning.rs:201
↓ 3 callers
Method
with_include_untracked
Builder: set the include-untracked flag.
atomic-cli/src/commands/stash.rs:259
↓ 3 callers
Method
with_insecure
Builder: set the insecure flag.
atomic-cli/src/commands/push/command.rs:199
↓ 3 callers
Method
with_insecure
Builder: set the insecure flag.
atomic-cli/src/commands/pull/command.rs:225
↓ 3 callers
Method
with_max_size
Builder: set the max file size.
atomic-cli/src/commands/record/mod.rs:327
↓ 3 callers
Method
with_max_tokenize_size
Sets the maximum content size to tokenize.
atomic-core/src/record/workflow/crdt/convert/types.rs:87
↓ 3 callers
Method
with_message
Builder: set the message.
atomic-cli/src/commands/stash.rs:253
↓ 3 callers
Method
with_new_line_num
Set the new line number.
atomic-core/src/change/ops.rs:513
↓ 3 callers
Method
with_no_edit
Builder: set the no-edit flag.
atomic-cli/src/commands/revise.rs:274
↓ 3 callers
Method
with_old_line_num
Set the old line number.
atomic-core/src/change/ops.rs:507
↓ 3 callers
Method
with_options
Set detection options. # Arguments `options` - Detection options to use # Example ```rust,ignore use atomic_core::diff::Algorithm; let ctx = Dete
atomic-core/src/record/context.rs:208
↓ 3 callers
Method
with_output
Set output tokens.
atomic-core/src/change/attestation.rs:484
↓ 3 callers
Method
with_preserve_whitespace
Sets whether to preserve whitespace as separate tokens.
atomic-core/src/record/workflow/crdt/convert/types.rs:69
↓ 3 callers
Method
with_recursive
Builder: set the recursive flag.
atomic-cli/src/commands/remove.rs:167
↓ 3 callers
Method
with_reference
Builder: set the reference.
atomic-cli/src/commands/revise.rs:256
↓ 3 callers
Method
with_show_deps
Builder: set show-deps flag.
atomic-cli/src/commands/change/command.rs:123
↓ 3 callers
Method
with_show_hunks
Builder: set show-hunks flag.
atomic-cli/src/commands/change/command.rs:129
↓ 3 callers
Method
with_size
Set the file size.
atomic-core/src/record/context.rs:748
↓ 3 callers
Method
with_source
Builder: set the source view to split from.
atomic-cli/src/commands/split.rs:143
↓ 3 callers
Method
with_switch
Builder: set the switch flag.
atomic-cli/src/commands/split.rs:149
↓ 3 callers
Method
with_timestamp
(mut self, timestamp: DateTime<Utc>)
atomic-agent/src/event.rs:371
↓ 3 callers
Method
with_to_view
Builder: set the remote view to push to.
atomic-cli/src/commands/push/command.rs:169
↓ 3 callers
Method
with_tokenize_content
Sets whether to tokenize content into leaves.
atomic-core/src/record/workflow/crdt/convert/types.rs:63
↓ 3 callers
Method
with_tool_name
(mut self, name: impl Into<String>)
atomic-agent/src/event.rs:357
↓ 3 callers
Method
with_truncated
Set the truncation flag. # Arguments `truncated` - Whether retrieval was truncated
atomic-core/src/output/repo/file.rs:425
↓ 3 callers
Method
with_vertices_processed
Set the vertices processed count. # Arguments `count` - Number of vertices processed
atomic-core/src/output/repo/file.rs:405
↓ 3 callers
Method
with_view
Builder: set the view.
atomic-cli/src/commands/change/command.rs:111
↓ 3 callers
Method
with_view
Set the view to compare against. By default, detection compares against the repository's current view. Use this method to compare against a specific
atomic-core/src/record/context.rs:185
↓ 3 callers
Function
workspace_path
Return the workspace directory path for a given view. The path is `.atomic/workspaces/<view_name>/`. View names may contain `/` (e.g. `agent/ses_abc
atomic-repository/src/repository/switch.rs:8
↓ 3 callers
Method
write_file
(&self, _path: &str, _inode: Inode)
atomic-core/src/output/traits.rs:608
← previous
next →
1,601–1,700 of 14,282, ranked by callers