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
↓ 2 callers
Method
set_last_provenance_hash
Record the hash of a saved ProvenanceGraph artifact so subsequent graphs chain to it via `previous`. Call this after `Repository::save_provenance_gra
atomic-agent/src/provenance/accumulator/convert.rs:132
↓ 2 callers
Method
set_line_hash
Sets the content hash.
atomic-core/src/crdt/branch.rs:204
↓ 2 callers
Method
set_metadata
Set the metadata for this item.
atomic-core/src/record/item.rs:679
↓ 2 callers
Method
set_old_line_count
Set the old (pristine) line count.
atomic-core/src/record/workflow/record/types.rs:226
↓ 2 callers
Method
set_opaque_generated
Mark this file as opaque generated content.
atomic-core/src/record/workflow/record/types.rs:358
↓ 2 callers
Method
set_parent
Set the parent of a position.
atomic-core/src/apply/workspace.rs:570
↓ 2 callers
Method
set_permissions
(&self, path: &str, permissions: u16)
atomic-core/src/output/memory.rs:660
↓ 2 callers
Method
set_url
Update the URL of an existing remote. # Arguments `name` - The name of the remote to update `url` - The new URL # Errors Returns an error if the r
atomic-repository/src/remote.rs:544
↓ 2 callers
Method
should_include
(&self, path: &str)
atomic-repository/src/record/options.rs:375
↓ 2 callers
Method
should_include_token
Check if a token should be included based on configuration.
atomic-core/src/diff/semantic_to_crdt.rs:558
↓ 2 callers
Method
sign_and_add
Sign and add to the set.
atomic-identity/src/signing.rs:311
↓ 2 callers
Method
skip_binary
(&self)
atomic-repository/src/record/options.rs:303
↓ 2 callers
Method
skipped_files
(&self)
atomic-repository/src/record/assemble.rs:291
↓ 2 callers
Function
some_position
()
atomic-core/src/apply/error.rs:631
↓ 2 callers
Method
startTool
* Record the start time of a tool invocation for duration tracking. * * @param id - Session ID * @param callId - Unique tool call identif
packages/opencode-atomic-hooks/src/session.ts:139
↓ 2 callers
Method
stats
Get statistics about the recording.
atomic-core/src/record/builder.rs:449
↓ 2 callers
Method
stats
(&self)
atomic-core/src/record/workflow/record/types.rs:605
↓ 2 callers
Method
stats
Get statistics about the workspace state.
atomic-core/src/apply/workspace.rs:679
↓ 2 callers
Method
stats
(&self)
atomic-core/src/change/format_v3/reader/mod.rs:435
↓ 2 callers
Method
stats
Returns the current writer statistics. Statistics are updated after each section write.
atomic-core/src/change/format_v3/writer/state_machine.rs:197
↓ 2 callers
Function
strip_unhashed
Strip transcript and reasoning from a change for privacy. Replaces the unhashed turn data with a minimal stub that has `redacted: true`. The change h
atomic-agent/src/transcript/storage.rs:152
↓ 2 callers
Function
success_style
Get the success completion style. Format: `✓ Message` (in green)
atomic-cli/src/output/progress.rs:314
↓ 2 callers
Method
suggestion
Returns a user-facing suggestion for how to fix the error, if applicable.
atomic-agent/src/error.rs:337
↓ 2 callers
Method
supported_hooks
(&self)
atomic-agent/src/hooks/pi.rs:517
↓ 2 callers
Method
tagged_only
Only include tagged changes.
atomic-repository/src/history/types.rs:287
↓ 2 callers
Method
tags_only
Builder: set tags-only filter.
atomic-cli/src/commands/log/command.rs:675
↓ 2 callers
Function
test_hash_position
Helper to create test positions
atomic-core/src/change/graph_op.rs:655
↓ 2 callers
Function
test_new_vertex
()
atomic-core/src/change/change.rs:882
↓ 2 callers
Function
test_position
()
atomic-core/src/output/repo/writer.rs:479
↓ 2 callers
Method
timeout
Create a timeout error.
atomic-remote/src/error.rs:236
↓ 2 callers
Function
timestamp
Format a timestamp in dim style. Use this for dates, times, and timestamps. # Arguments `text` - The timestamp to format # Returns A styled objec
atomic-cli/src/output/colors.rs:425
↓ 2 callers
Method
to_assembly_options
(&self)
atomic-repository/src/record/options.rs:398
↓ 2 callers
Method
to_author
Convert this identity to an Author for change headers. This creates an Author struct compatible with atomic-core's change header format.
atomic-identity/src/identity.rs:361
↓ 2 callers
Method
to_base32
Encode the signature as base32.
atomic-identity/src/signing.rs:73
↓ 2 callers
Method
to_bytes
Encode as bytes for use as a redb key. Layout: [inode: 8 bytes][change: 8 bytes][start: 8 bytes][end: 8 bytes]
atomic-core/tests/inode_graph_test.rs:73
↓ 2 callers
Method
to_hex
Convert to a hex string (lowercase)
atomic-core/src/types/hash.rs:147
↓ 2 callers
Method
to_hunk_options
(&self)
atomic-core/src/record/workflow/record/options.rs:294
↓ 2 callers
Method
to_local
Convert to a simple `Local` (dropping byte and inode info).
atomic-core/src/change/local.rs:216
↓ 2 callers
Method
to_managed_run_context
Convert to the orchestrator context injected by the hook handler.
atomic-cli/src/commands/agent/lifecycle.rs:174
↓ 2 callers
Method
to_query_value
Serialize to a query parameter value. Returns `"all"` if all three layers are selected, otherwise returns a comma-separated list of layer names in ca
atomic-remote/src/streaming/layers.rs:160
↓ 2 callers
Method
to_raw
(self)
atomic-core/src/change/format_v3/types/header.rs:67
↓ 2 callers
Function
token_byte_range
Calculate the byte range for a token at a given index.
atomic-core/src/diff/semantic/diff_impl.rs:419
↓ 2 callers
Method
tokens
(&self)
atomic-core/src/diff/semantic/types.rs:77
↓ 2 callers
Method
tool
Create a tool invocation entry.
atomic-agent/src/transcript/types.rs:77
↓ 2 callers
Method
tool_definitions
(&self)
atomic-repository/src/ai/tools.rs:704
↓ 2 callers
Method
total_added
Total items added.
atomic-cli/src/commands/add.rs:537
↓ 2 callers
Method
total_bytes
Total bytes (transferred + skipped).
atomic-remote/src/streaming/progress.rs:168
↓ 2 callers
Method
total_changes
Get the total number of changed lines.
atomic-cli/src/commands/diff/types.rs:145
↓ 2 callers
Method
total_operations
(&self)
atomic-core/src/crdt/apply/context.rs:321
↓ 2 callers
Method
total_token_ops
Returns the total number of token operations.
atomic-core/src/change/ops.rs:773
↓ 2 callers
Method
total_uploaded
(&self)
atomic-cli/tests/push_integration_test.rs:77
↓ 2 callers
Method
track_conflicts
(&self)
atomic-core/src/crdt/apply/options.rs:290
↓ 2 callers
Function
truncateOutput
(output: string | undefined)
packages/opencode-atomic-hooks/src/handlers/tool.ts:287
↓ 2 callers
Function
truncate_hash
Truncate a base32 hash string to a short prefix for use as an identifier.
atomic-repository/src/repository/vault_kg_enrich.rs:939
↓ 2 callers
Function
truncate_result
Truncate a tool result to [`MAX_TOOL_RESULT_BYTES`].
atomic-repository/src/ai/tools.rs:1151
↓ 2 callers
Function
truncate_string
Truncate a string to a maximum length, adding ellipsis if needed. This function handles Unicode characters correctly by counting grapheme clusters ra
atomic-cli/src/commands/log/command.rs:563
↓ 2 callers
Function
truncate_string
Truncate a string to a maximum length, adding ellipsis if needed.
atomic-cli/src/commands/change/command.rs:760
↓ 2 callers
Method
trunk
(&self)
atomic-core/src/crdt/branch.rs:182
↓ 2 callers
Method
try_build
Try to build the provenance, returning an error if required fields are missing.
atomic-core/src/change/provenance/builder.rs:241
↓ 2 callers
Method
turn_ended_at
(mut self, ts: i64)
atomic-agent/src/envelope.rs:495
↓ 2 callers
Method
turn_started_at
(mut self, ts: i64)
atomic-agent/src/envelope.rs:488
↓ 2 callers
Method
uncompressed_len
(&self)
atomic-core/src/change/format_v3/chunking.rs:306
↓ 2 callers
Method
uninstall
(&self, repo_root: &Path)
atomic-agent/src/hooks/codex.rs:293
↓ 2 callers
Function
uninstall_from_manifest
Remove the manifest's hooks from its target settings file. Only entries whose command contains the manifest's `command_prefix` are removed; the file
atomic-agent/src/hooks/manifest.rs:147
↓ 2 callers
Function
uninstall_hooks_at
(path: &Path)
atomic-agent/src/hooks/codex.rs:357
↓ 2 callers
Method
unrecord_last
Unrecord the last change from the current view. This is a convenience method for unrecording the most recent change. # Arguments `options` - Option
atomic-repository/src/repository/history.rs:317
↓ 2 callers
Function
untracked
Format untracked content in red (same as deleted for visibility). Use this for files that are not yet tracked by the repository. # Arguments `text`
atomic-cli/src/output/colors.rs:339
↓ 2 callers
Method
untracked_count
Count of untracked files.
atomic-repository/src/status.rs:549
↓ 2 callers
Method
unwrap
Unwrap the optional change ID. # Panics Panics if the change ID is None.
atomic-core/src/types/graph_node.rs:170
↓ 2 callers
Method
update_branch_state
( &mut self, id: BranchId, state: BranchState, )
atomic-core/src/crdt/apply/traits.rs:589
↓ 2 callers
Method
update_branch_state
( &mut self, id: BranchId, state: BranchState, )
atomic-core/src/crdt/apply/branch.rs:583
↓ 2 callers
Method
update_from_changelist
Update the cache by replacing entries from the divergence point with new entries from the remote.
atomic-remote/src/sync.rs:237
↓ 2 callers
Method
update_leaf_state
(&mut self, id: LeafId, state: LeafState)
atomic-core/src/crdt/apply/traits.rs:641
↓ 2 callers
Method
update_leaf_state
(&mut self, id: LeafId, state: LeafState)
atomic-core/src/crdt/apply/leaf.rs:584
↓ 2 callers
Function
update_manifest_for_store
Update the manifest when a vault entry is stored.
atomic-repository/src/repository/vault.rs:567
↓ 2 callers
Method
update_reverse_indexes
(&self)
atomic-core/src/crdt/apply/options.rs:308
↓ 2 callers
Method
update_trunk_state
( &mut self, id: TrunkId, state: TrunkState, )
atomic-core/src/crdt/apply/traits.rs:528
↓ 2 callers
Method
update_trunk_state
( &mut self, id: TrunkId, state: TrunkState, )
atomic-core/src/crdt/apply/trunk.rs:414
↓ 2 callers
Method
upload_change_streamed
Upload a change file by streaming from disk. Uses reqwest's streaming body support to avoid loading the entire file into memory. The `Content-Length
atomic-remote/src/http/upload.rs:303
↓ 2 callers
Method
url
Get the base URL.
atomic-remote/src/http/mod.rs:246
↓ 2 callers
Function
uuid_short
Generate a short hex string for fallback session IDs. Only used when Copilot fails to provide a session_id, which should be rare. Uses timestamp bits
atomic-agent/src/hooks/copilot.rs:483
↓ 2 callers
Function
uuid_short
Generate a short hex string for fallback session IDs. Only used when Cline fails to provide a `taskId`, which should be rare. Uses timestamp bits for
atomic-agent/src/hooks/cline.rs:495
↓ 2 callers
Function
uuid_short
Generate a short hex string for fallback session IDs. This is only used when the Pi extension fails to provide a session_id, which should be rare. Us
atomic-agent/src/hooks/pi.rs:551
↓ 2 callers
Function
uuid_short
Generate a short hex string for fallback session IDs. This is only used when the OpenCode plugin fails to provide a session_id, which should be rare.
atomic-agent/src/hooks/opencode.rs:633
↓ 2 callers
Function
uuid_short
Generate a short hex string for fallback session IDs. This is only used when the bridge scripts fail to provide a session_id, which should be rare. U
atomic-agent/src/hooks/devin.rs:396
↓ 2 callers
Function
uuid_short
Generate a short hex string for fallback session IDs. Only used when Cursor fails to provide a conversation_id or session_id, which should be rare. U
atomic-agent/src/hooks/cursor.rs:753
↓ 2 callers
Method
validate
Validate that the header fields are internally consistent. # Checks - `hash_table_entries` <= `MAX_HASH_TABLE_ENTRIES` - If `HAS_SEMANTIC` flag is s
atomic-core/src/change/format_v3/types/header.rs:381
↓ 2 callers
Method
validate_dependencies
(mut self, validate: bool)
atomic-core/src/record/workflow/assembly/types.rs:246
↓ 2 callers
Function
validate_remote_name
Validate a remote name. Remote names must: - Not be empty - Contain only alphanumeric characters, hyphens, and underscores - Not start with a hyphen
atomic-repository/src/remote.rs:655
↓ 2 callers
Function
validate_target_path
Validate that the target path is suitable for cloning. Checks that: 1. The path doesn't already exist as a directory 2. The path doesn't already exis
atomic-cli/src/commands/clone/helpers.rs:148
↓ 2 callers
Method
vault_auto_index
Automatically index a vault entry into the KG and embed it. Called as a side effect of `vault_store` and `vault_store_entry`. Best-effort — logs on f
atomic-repository/src/repository/vault.rs:233
↓ 2 callers
Method
vault_embed_all
Embed all vault entries.
atomic-repository/src/repository/vault_embeddings.rs:132
↓ 2 callers
Method
vault_goal_list
List vault goals. Optionally filtered by status (`"active"`, `"completed"`, `"suspended"`, or `"all"`). Passing `None` returns all goals.
atomic-repository/src/repository/vault_goal.rs:421
↓ 2 callers
Method
vault_goal_resume
Resume a suspended or completed goal. Sets the goal status back to "active" and returns the goal metadata for loading into context. This is a pure v
atomic-repository/src/repository/vault_goal.rs:335
↓ 2 callers
Method
vault_install_defaults
Install default vault content (prompts, skills, memory index). Called automatically by `init_vault()`. Idempotent — skips entries that already exist.
atomic-repository/src/repository/vault_defaults.rs:51
↓ 2 callers
Method
vault_kg_node
Get a single KG node by ID.
atomic-repository/src/repository/vault_triples.rs:487
↓ 2 callers
Method
vault_search
Search vault embeddings for similar content.
atomic-repository/src/repository/vault_embeddings.rs:159
↓ 2 callers
Method
vault_store_kg
Store KG nodes and edges for a vault entry, replacing any existing nodes/edges derived from that path.
atomic-repository/src/repository/vault_triples.rs:79
↓ 2 callers
Function
vendor_from_agent_name
Infer the AI vendor from the agent name. Used as a fallback when `session.agent_vendor` is not set.
atomic-agent/src/record/provenance.rs:161
↓ 2 callers
Function
verify_dependencies
Verify that all dependencies of a change are present in the repository. Before a change can be applied, all changes it depends on must already be reg
atomic-core/src/apply/change.rs:62
← previous
next →
2,201–2,300 of 14,282, ranked by callers