Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ functions
Functions
14,765 in github.com/atomicdotdev/atomic
⨍
Functions
14,765
◇
Types & classes
1,204
↓ 8 callers
Function
make_external_vertex
(change: Option<Hash>, start: u64, end: u64)
atomic-core/src/apply/edge.rs:461
↓ 8 callers
Function
make_position
(change: Option<Hash>, pos: u64)
atomic-core/src/apply/edge.rs:439
↓ 8 callers
Function
make_trunk
()
atomic-core/src/crdt/trunk.rs:461
↓ 8 callers
Function
make_vertex
Create a test span
atomic-core/src/output/repo/content.rs:746
↓ 8 callers
Function
memory_id
The `<id>` stem for a bare id or any accepted path form. Used both to build the human-facing messages and (sanitized) to KEY the attestation path.
atomic-cli/src/commands/memory/bridge.rs:76
↓ 8 callers
Method
model
Set the model identifier.
atomic-core/src/change/provenance/builder.rs:49
↓ 8 callers
Method
modified
Create statistics for a modified file. # Arguments `path` - The file path `insertions` - Number of lines added `deletions` - Number of lines deleted
atomic-cli/src/commands/diff/types.rs:140
↓ 8 callers
Method
node_text
Get the text content of a node.
atomic-semantic/src/parsers/go.rs:321
↓ 8 callers
Function
normalize_memory_path
Normalize a bare id, a `memory/<id>` path, an `<id>.md` name, or a full `memory/<id>.md` path all to the canonical vault path `memory/<id>.md`. This
atomic-cli/src/commands/memory/bridge.rs:68
↓ 8 callers
Method
output_conflict_marker
( &mut self, marker: &str, id: usize, changes: Option<&[Hash]>, )
atomic-core/src/output/traits.rs:680
↓ 8 callers
Method
parse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/kilo.rs:189
↓ 8 callers
Function
parse_project_path
Parse a combined `workspace/project` slug into its two components. # Errors Returns [`CliError::InvalidArgument`] if the input does not contain exac
atomic-cli/src/commands/project/mod.rs:53
↓ 8 callers
Method
peek
(&self)
atomic-core/src/diff/token/tokenizer.rs:174
↓ 8 callers
Function
position_to_option_hash_resolved
Convert a Position<NodeId> to Position<Option<Hash>>, resolving external change hashes. Unlike `position_to_option_hash`, this function looks up the
atomic-core/src/record/workflow/globalize/helpers.rs:62
↓ 8 callers
Function
print_next_steps
Print a "next steps" section to guide users. This function formats a list of suggested commands that the user might want to run next. It's designed t
atomic-cli/src/output/mod.rs:215
↓ 8 callers
Method
put_change_deps
(&mut self, change_id: NodeId, deps: &[Hash])
atomic-core/src/pristine/txn/write/mod.rs:985
↓ 8 callers
Function
read_intent
Read an intent by ID from the vault and return its lift inputs. `vault_intent_show` normalizes the ID (`"PIMO-1"` / `"pimo-1"` / `"1"`) and resolves
atomic-cli/src/commands/intent/bridge.rs:75
↓ 8 callers
Function
read_memory
Read a memory by id (or path) from the vault and return its lift inputs.
atomic-cli/src/commands/memory/bridge.rs:99
↓ 8 callers
Function
read_settings
( settings_path: &Path, )
atomic-agent/src/hooks/claude_code/settings.rs:52
↓ 8 callers
Function
record_all
(repo: &Repository, message: &str)
atomic-repository/src/repository/tests/cross_view_merge_tests.rs:27
↓ 8 callers
Method
record_trunk_created
(&mut self)
atomic-core/src/crdt/apply/context.rs:523
↓ 8 callers
Function
request
()
atomic-cli/src/commands/vault/context.rs:863
↓ 8 callers
Method
run
(&self)
atomic-cli/src/commands/view/new.rs:318
↓ 8 callers
Method
run
Execute the change command. This method: 1. Finds the repository root 2. Resolves the change identifier to a hash 3. Loads the change from the store
atomic-cli/src/commands/change/command.rs:784
↓ 8 callers
Method
save
Save an identity to the store.
atomic-identity/src/store.rs:410
↓ 8 callers
Function
serialize_view_state
Serialize a ViewState to bytes Layout (v2): [id:8][name_len:4][name:var][merkle:32][change_count:8][kind:1][parent:8] The `kind` and `parent` fields
atomic-core/src/pristine/txn/helpers.rs:62
↓ 8 callers
Method
set_content
Set the content.
atomic-core/src/record/workflow/record/types.rs:312
↓ 8 callers
Method
set_header
Set the header row from simple string values. This creates columns with default settings from header strings.
atomic-cli/src/output/table.rs:316
↓ 8 callers
Method
skip_section
Skip the next section without decompressing it. Reads the section header and compressed payload from the source but does not decompress. The compress
atomic-core/src/change/format_v3/reader/sections.rs:186
↓ 8 callers
Function
split_lines
(content: &[u8])
atomic-core/src/diff/split.rs:280
↓ 8 callers
Method
stats
(&self)
atomic-repository/src/record/assemble.rs:255
↓ 8 callers
Method
to_option
Convert this atom to use `Option<H>` for the change references. This is useful when building a change that references itself (using None for self-ref
atomic-core/src/change/atom.rs:143
↓ 8 callers
Method
token_changes
Get the token changes for this line change.
atomic-core/src/diff/semantic/types.rs:354
↓ 8 callers
Method
trunk_id
Returns the trunk ID this operation affects, if any. Returns `None` for `Create` since the ID is assigned later.
atomic-core/src/crdt/trunk.rs:328
↓ 8 callers
Method
trunk_op
(&self)
atomic-core/src/change/ops.rs:200
↓ 8 callers
Method
txn
(&self)
atomic-core/src/record/workflow/globalize/context.rs:222
↓ 8 callers
Function
validate_memory
Validate a canonical Memory node against `MemoryShape`. Mirrors the doc's shape: `memoryKind` and `status` are closed value sets (exactly one each), `
atomic-canonical/src/gate.rs:170
↓ 8 callers
Method
validate_ordering
(&self)
atomic-core/src/crdt/apply/options.rs:278
↓ 8 callers
Method
validate_references
(&self)
atomic-core/src/crdt/apply/options.rs:284
↓ 8 callers
Method
vault_record_working_copy
Deflate changed vault files from disk into redb. Scans the vault working copy, detects changes, and updates the database. Returns the list of paths t
atomic-repository/src/repository/vault.rs:650
↓ 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:550
↓ 8 callers
Method
view
Builder: set view filter.
atomic-cli/src/commands/log/command.rs:687
↓ 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:92
↓ 7 callers
Method
add_files_touched
Add files to the accumulated files_touched list (deduplicating).
atomic-agent/src/turn/session.rs:336
↓ 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
align_to_view
Align the view pointer without materializing the working copy. This persists the new view name to `.atomic/current_view` so that subsequent `status()
atomic-repository/src/repository/mod.rs:661
↓ 7 callers
Method
alloc_inode
(&mut self)
atomic-core/src/pristine/txn/write/mod.rs:1031
↓ 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
Method
as_str
Returns the canonical string representation of this hook type.
atomic-agent/src/event.rs:227
↓ 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
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:140
↓ 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:65
↓ 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:190
↓ 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
Method
content
Get the content bytes regardless of outcome type. For conflicts, returns the left side (caller should check [`is_conflict`](Self::is_conflict) first)
atomic-core/src/merge/mod.rs:89
↓ 7 callers
Method
create
Creates a file creation operation. # Arguments `trunk_id` - The trunk ID for the new file `path` - The file path `encoding` - Optional text encoding
atomic-core/src/change/ops.rs:132
↓ 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:802
↓ 7 callers
Function
encode_change_file_key
(change_hash: &[u8; 32], file_index: u32)
atomic-core/src/pristine/tables.rs:770
↓ 7 callers
Function
encode_session_event_key
(provenance_id: u64, seq: u64)
atomic-core/src/change/session.rs:193
↓ 7 callers
Function
entry_subject
Derive a subject URI from a vault path and entry type.
atomic-repository/src/repository/vault_triples.rs:748
↓ 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:451
↓ 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:476
↓ 7 callers
Method
get_branch
(&self, id: BranchId)
atomic-core/src/crdt/apply/branch.rs:564
↓ 7 callers
Method
get_path
(&self, _inode: Inode)
atomic-core/src/record/context.rs:848
↓ 7 callers
Method
get_trunk_by_path
(&self, _path: &str)
atomic-core/src/crdt/apply/leaf.rs:489
↓ 7 callers
Method
get_vault_entry
(&self, path: &str)
atomic-core/src/pristine/txn/read.rs:667
↓ 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:95
↓ 7 callers
Method
init_inode_adj
( &self, inode: Inode, node: GraphNode<NodeId>, min_flag: EdgeFlags, m
atomic-core/src/pristine/txn/read.rs:1538
↓ 7 callers
Method
insert_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
↓ 7 callers
Method
install
(&self, repo_root: &Path)
atomic-agent/src/hooks/gemini_cli.rs:704
↓ 7 callers
Function
install_from_manifest
Merge the manifest's hooks into its target settings file. Existing entries whose command contains the manifest's `command_prefix` are removed first,
atomic-agent/src/hooks/manifest.rs:95
↓ 7 callers
Method
into_iter
(self)
atomic-core/src/record/workflow/record/types.rs:650
↓ 7 callers
Function
invokeHook
( $: Shell, verb: HookVerb, payload: HookPayload, directory: string, )
packages/opencode-atomic-hooks/src/cli.ts:60
↓ 7 callers
Method
is_empty
(&self)
atomic-core/src/record/workflow/globalize/file.rs:83
↓ 7 callers
Method
is_empty
(&self)
atomic-core/src/change/atom.rs:227
↓ 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
← previous
next →
601–700 of 14,765, ranked by callers