Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ functions
Functions
15,895 in github.com/atomicdotdev/atomic
⨍
Functions
15,895
◇
Types & classes
1,311
↓ 8 callers
Method
validate_references
(&self)
atomic-core/src/crdt/apply/options.rs:284
↓ 8 callers
Method
vault_scan_working_copy
Scan the vault working copy for changed files. Walks `.vault/` and compares each markdown file against its stored entry in redb. Returns a list of pa
atomic-repository/src/repository/vault.rs:554
↓ 8 callers
Method
verify
Verify that the declared state equals the fold of the change log.
atomic-repository/src/manifest.rs:132
↓ 8 callers
Method
walk_files
Walk the directory tree recursively. Yields all files (not directories) under the given path, respecting ignore patterns. The `.atomic` directory is
atomic-core/src/output/filesystem/walk.rs:42
↓ 8 callers
Method
warn
(message: string, extra?: Record<string, unknown>)
packages/opencode-atomic-hooks/src/log.ts:56
↓ 8 callers
Method
with_ancestor
Sets the common ancestor vertex via builder pattern.
atomic-core/src/merge/types.rs:63
↓ 8 callers
Method
with_change_header
Attach a header to this entry.
atomic-repository/src/history/types.rs:162
↓ 8 callers
Method
with_context
Builder: set the number of context lines.
atomic-cli/src/commands/diff/types.rs:311
↓ 8 callers
Method
with_unhashed
Mark that this change has an unhashed section. Automatically sets the `HAS_UNHASHED` flag.
atomic-core/src/change/format_v3/types/builder.rs:104
↓ 8 callers
Method
write_marker
Write a conflict marker line. The format is: `MARKER ID [HASH]` followed by a newline.
atomic-core/src/output/repo/writer.rs:298
↓ 7 callers
Method
add_conflict
Add a conflict to the result.
atomic-core/src/output/repo/repository/mod.rs:95
↓ 7 callers
Method
add_line
Add a line to this graph_op.
atomic-cli/src/commands/diff/types.rs:390
↓ 7 callers
Method
add_trunk_created
(&mut self)
atomic-core/src/crdt/apply/context.rs:125
↓ 7 callers
Method
add_trunk_op
Adds a trunk operation.
atomic-core/src/record/workflow/crdt/convert/types.rs:366
↓ 7 callers
Method
add_up_context
Add an up-context position (predecessor). Up-context vertices are the predecessors where new content will be inserted after.
atomic-core/src/apply/workspace.rs:434
↓ 7 callers
Method
alloc_inode
(&mut self)
atomic-core/src/pristine/txn/write/mod.rs:1552
↓ 7 callers
Method
append_content
Appends content and returns the byte range.
atomic-core/src/record/workflow/crdt/convert/types.rs:384
↓ 7 callers
Method
apply
Apply this alignment to a string within a given width. # Arguments `text` - The text to align `width` - The total width to fill # Returns A string
atomic-cli/src/output/table.rs:82
↓ 7 callers
Function
apply_agent_help
Recursively apply the agent-native help layout to a command and every one of its (transitive) subcommands. clap does not propagate `help_template` to
atomic-cli/src/main.rs:137
↓ 7 callers
Method
apply_deps
Set whether to insert dependencies automatically.
atomic-repository/src/apply/types.rs:185
↓ 7 callers
Method
as_str
Returns the canonical string representation of this hook type.
atomic-agent/src/event.rs:235
↓ 7 callers
Method
as_str
Returns the token content as a string (lossy UTF-8 conversion).
atomic-core/src/record/workflow/crdt/tokenize/types.rs:56
↓ 7 callers
Function
assemble
Join lines with '\n' and a trailing newline (the well-supported shape).
atomic-repository/src/repository/tests/merge_property_tests.rs:68
↓ 7 callers
Method
at_line
(mut self, line: u32)
atomic-core/src/output/repo/conflict.rs:341
↓ 7 callers
Function
attestation_vault_path
The tracked-vault path for a memory's attestation: `attestations/memory/<sanitized-id>/attested.md`. NOTE the `attestations/memory/` sub-namespace: a
atomic-cli/src/commands/memory/bridge.rs:153
↓ 7 callers
Function
basePayload
( sessionId: string, directory: string, )
packages/opencode-atomic-hooks/src/cli.ts:161
↓ 7 callers
Method
branch_idx
(&self)
atomic-core/src/crdt/ids.rs:166
↓ 7 callers
Method
build
Build the provenance. # Panics Panics if vendor or model is not set.
atomic-core/src/change/provenance/builder.rs:214
↓ 7 callers
Function
build_client_with_org
Build a [`StorageClient`] and return the resolved org slug alongside it. Useful for commands that also need to resolve org-scoped state (e.g. per-org
atomic-cli/src/commands/client.rs:117
↓ 7 callers
Function
build_content_index
Build (or rebuild) the content search index for the repository. Indexes files in the working copy while respecting `.gitignore`, `.ignore`, `.atomici
atomic-repository/src/content_search.rs:25
↓ 7 callers
Method
build_history_options
Build history options from command settings. Converts the command's settings into `HistoryOptions` for querying the repository. # Returns `HistoryO
atomic-cli/src/commands/log/command.rs:194
↓ 7 callers
Method
clear_cache
(&self)
atomic-repository/src/changestore/mod.rs:562
↓ 7 callers
Function
collect_files_for_tracking
Collect all files in a directory for tracking. This walks the directory tree and returns paths relative to the given root. Files matching `.atomicign
atomic-repository/src/tracking/helpers.rs:177
↓ 7 callers
Function
compress_chunks_parallel
Compress all chunks in parallel using rayon and zstd. Each chunk is compressed independently on a rayon worker thread. This utilizes all available CP
atomic-core/src/change/format_v3/chunking.rs:602
↓ 7 callers
Function
create_test_hash
()
atomic-cli/src/commands/log/tests.rs:389
↓ 7 callers
Function
create_test_merkle
()
atomic-cli/src/commands/log/tests.rs:393
↓ 7 callers
Function
decode_branch_id
(bytes: &[u8; 12])
atomic-core/src/crdt/tables.rs:293
↓ 7 callers
Function
decode_vertex
(key: &[u8; 24])
atomic-core/src/pristine/tables.rs:833
↓ 7 callers
Method
dot_dir
(&self)
atomic-repository/src/repository/mod.rs:606
↓ 7 callers
Function
encode_change_file_key
(change_hash: &[u8; 32], file_index: u32)
atomic-core/src/pristine/tables.rs:801
↓ 7 callers
Function
encode_session_event_key
(provenance_id: u64, seq: u64)
atomic-core/src/change/session.rs:432
↓ 7 callers
Method
enrich_kg
(mut self, enrich: bool)
atomic-repository/src/record/options.rs:244
↓ 7 callers
Function
ensure_workspace_dir
Ensure the workspace directory for a view exists. Creates `.atomic/workspaces/<view_name>/` and any intermediate directories. This is called from `i
atomic-repository/src/repository/switch.rs:17
↓ 7 callers
Method
extract
Extract entities from a source file. Automatically selects the right parser based on the file extension. Returns an empty list if the language is not
atomic-semantic/src/parsers/mod.rs:289
↓ 7 callers
Method
file_idx
(&self)
atomic-core/src/crdt/ids.rs:78
↓ 7 callers
Function
format_timestamp
Format a timestamp for display. Converts a UTC timestamp to local time and formats it in a human-readable format. # Arguments `timestamp` - The UTC
atomic-cli/src/commands/mod.rs:460
↓ 7 callers
Function
format_timestamp_relative
Format a timestamp in a relative format (e.g., "2 hours ago"). This provides a more conversational representation of time that's easier to understand
atomic-cli/src/commands/mod.rs:485
↓ 7 callers
Method
get_branch
(&self, id: BranchId)
atomic-core/src/crdt/apply/branch.rs:564
↓ 7 callers
Method
get_trunk_by_path
(&self, _path: &str)
atomic-core/src/crdt/apply/leaf.rs:489
↓ 7 callers
Method
get_vertex
(&self, id: VertexId)
atomic-core/src/output/alive/graph.rs:238
↓ 7 callers
Function
hash_a
()
atomic-core/src/apply/error.rs:622
↓ 7 callers
Method
include_deleted
Set whether to include deleted vertices. When true, vertices marked as deleted will be included in the graph. This is useful for showing conflict con
atomic-core/src/output/alive/retrieve/options.rs:113
↓ 7 callers
Method
index
(self)
atomic-core/src/output/alive/order.rs:94
↓ 7 callers
Method
insert_change_rec
Insert a change with automatic dependency resolution. This method attempts to insert a change and all its missing dependencies. Dependencies are inse
atomic-repository/src/repository/insert.rs:1969
↓ 7 callers
Method
install
(&self, repo_root: &Path)
atomic-agent/src/hooks/gemini_cli.rs:704
↓ 7 callers
Method
into_iter
(self)
atomic-core/src/record/workflow/record/types.rs:650
↓ 7 callers
Method
into_iter
(self)
atomic-core/src/crdt/apply/conflict.rs:648
↓ 7 callers
Function
invokeHook
( $: Shell, verb: HookVerb, payload: HookPayload, directory: string, )
packages/opencode-atomic-hooks/src/cli.ts:60
↓ 7 callers
Method
is_empty
Check if this replacement has any effect.
atomic-core/src/diff/ops.rs:346
↓ 7 callers
Method
is_empty
(&self)
atomic-core/src/change/atom.rs:227
↓ 7 callers
Function
item
(name: &str, score: f64, body: &str)
atomic-cli/src/commands/vault/context.rs:953
↓ 7 callers
Method
iter_attestations
Iterate over all attestation hashes on disk.
atomic-repository/src/changestore/attestation.rs:137
↓ 7 callers
Method
len
(&self)
atomic-core/src/diff/inline.rs:238
↓ 7 callers
Method
len
Get the number of changes in the store.
atomic-core/src/change/store.rs:372
↓ 7 callers
Method
len_vertices
(&self)
atomic-core/src/output/alive/graph.rs:148
↓ 7 callers
Function
lifecycle
(run_id: &str, owner: &str, workdir: &Path, expires_at: i64)
atomic-cli/src/commands/agent/lifecycle.rs:600
↓ 7 callers
Method
list_tracked_files
List all tracked files in the repository. # Example ```rust,ignore for file in repo.list_tracked_files()? { println!("{}: inode {}", file.path.displ
atomic-repository/src/repository/tracking.rs:508
↓ 7 callers
Method
list_views
(&self)
atomic-core/src/record/context.rs:903
↓ 7 callers
Method
load_provenance_graph
Load a provenance graph from the repository by hash.
atomic-repository/src/repository/changes.rs:1115
↓ 7 callers
Function
make_branch
()
atomic-core/src/crdt/branch.rs:556
↓ 7 callers
Function
make_change
Create a change with the given content bytes and return its hash.
atomic-core/src/merge/engine.rs:527
↓ 7 callers
Function
make_external_vertex
(hash: Option<Hash>, start: u64, end: u64)
atomic-core/src/apply/position.rs:329
↓ 7 callers
Function
make_serialized
Build a `SerializedGraphEdge` with the given flags and arbitrary but deterministic dest / introduced_by values.
atomic-core/src/types/edge_kind.rs:371
↓ 7 callers
Method
mark_visited
(&mut self)
atomic-core/src/output/alive/vertex.rs:369
↓ 7 callers
Method
max_vertices
Set the maximum number of vertices to process. # Arguments `max` - Maximum span count # Example ```rust use atomic_core::output::repo::FileOutputO
atomic-core/src/output/repo/file.rs:203
↓ 7 callers
Function
mock_with_all_edges
Helper: build a `MockGraph` with one vertex that has every valid edge kind.
atomic-core/src/pristine/traits/tests/graph_tests.rs:95
↓ 7 callers
Method
name
Create a new name conflict. Name conflicts occur when a file has been renamed by concurrent changes.
atomic-core/src/output/mod.rs:289
↓ 7 callers
Method
node_text
Get the text content of a node.
atomic-semantic/src/parsers/python.rs:346
↓ 7 callers
Function
output_graph_content_resolved
Output graph content with semantic-merge resolution. This is the merge-aware counterpart of [`output_graph_content`]. For every SCC whose lead verte
atomic-core/src/output/repo/content.rs:515
↓ 7 callers
Method
peek_section_type
Peek at the next section's type without consuming it. Reads the section header from the source and stashes it internally. The next call to [`next_sec
atomic-core/src/change/format_v3/reader/sections.rs:22
↓ 7 callers
Method
position
Get the current byte position in the original content.
atomic-core/src/diff/split.rs:204
↓ 7 callers
Method
position_inode
(&self, _pos: Position<NodeId>)
atomic-core/src/record/context.rs:856
↓ 7 callers
Method
prefix
Set the prefix filter. # Arguments `prefix` - Path prefix to filter # Example ```rust use atomic_core::output::repo::TreeCollectOptions; let opts
atomic-core/src/output/repo/tree.rs:172
↓ 7 callers
Method
prefix
Set the prefix filter.
atomic-core/src/output/repo/repository/types.rs:97
↓ 7 callers
Method
public_key_base32
Get the public key as a base32 string.
atomic-identity/src/identity.rs:330
↓ 7 callers
Method
put_inode_graph
( &mut self, inode: Inode, node: GraphNode<NodeId>, edge: SerializedGraphEdge,
atomic-core/src/pristine/txn/write/mod.rs:858
↓ 7 callers
Function
record_all
(repo: &Repository, message: &str)
atomic-repository/src/repository/tests/rename_tests.rs:17
↓ 7 callers
Method
record_skip
Record a skipped file. # Arguments `path` - The path of the file that was skipped # Example ```rust use atomic_core::output::repo::OutputOutcome;
atomic-core/src/output/repo/outcome.rs:270
↓ 7 callers
Function
remove_atomic_hooks
(matchers: &mut Vec<ClaudeHookMatcher>)
atomic-agent/src/hooks/claude_code/settings.rs:196
↓ 7 callers
Function
repo
A fresh repo+vault.
atomic-cli/src/commands/memory/list.rs:388
↓ 7 callers
Method
resolve_server_mut
Resolve the effective server config mutably, honouring the optional name override. Mirrors the resolution order of [`resolve_server`](Self::resolve_s
atomic-config/src/lib.rs:313
↓ 7 callers
Function
row_for
Compute a single row using an explicit verifier keypair (no global store). Reads the row's kind tag from the manifest, exactly as `build_rows` does.
atomic-cli/src/commands/intent/list.rs:445
↓ 7 callers
Method
run
Execute the status command. This method: 1. Finds and opens the repository 2. Computes the working copy status 3. Displays the status in the requeste
atomic-cli/src/commands/status.rs:491
↓ 7 callers
Method
serialize
Serialize the attestation to bytes. Format: `[MAGIC: 4 bytes][postcard payload]` The hash is computed over the entire serialized output.
atomic-core/src/change/attestation.rs:193
↓ 7 callers
Function
serialize_edge
(edge: &SerializedGraphEdge)
atomic-core/src/pristine/txn/helpers.rs:39
↓ 7 callers
Function
session_end_event
(session_id: &str)
atomic-agent/src/turn/orchestrator/tests.rs:38
↓ 7 callers
Method
set_first_prompt
Set the first prompt if not already set. Truncates to MAX_PROMPT_LENGTH. Also updates `current_prompt` on every call so the change message reflects th
atomic-agent/src/turn/session.rs:313
↓ 7 callers
Method
set_position
Set the position.
atomic-core/src/record/workflow/record/types.rs:327
↓ 7 callers
Method
split_view
Split a set of changes out of a view into a new Draft view. This is a pure metadata operation guarded by a reverse-dependency check: a change cannot
atomic-repository/src/repository/split.rs:263
↓ 7 callers
Function
store_memory
Store a memory via the GENERIC vault path (as `memory write`/attest do).
atomic-cli/src/commands/memory/list.rs:396
← previous
next →
701–800 of 15,895, ranked by callers