MCPcopy Create free account

hub / github.com/atomicdotdev/atomic / functions

Functions14,282 in github.com/atomicdotdev/atomic

↓ 8 callersFunctionsplit_lines
(content: &[u8])
atomic-core/src/diff/split.rs:280
↓ 8 callersMethodstats
(&self)
atomic-repository/src/record/assemble.rs:255
↓ 8 callersMethodto_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 callersMethodtoken_changes
Get the token changes for this line change.
atomic-core/src/diff/semantic/types.rs:354
↓ 8 callersMethodtrunk_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 callersMethodtrunk_op
(&self)
atomic-core/src/change/ops.rs:200
↓ 8 callersMethodtxn
(&self)
atomic-core/src/record/workflow/globalize/context.rs:222
↓ 8 callersMethodvalidate_ordering
(&self)
atomic-core/src/crdt/apply/options.rs:278
↓ 8 callersMethodvalidate_references
(&self)
atomic-core/src/crdt/apply/options.rs:284
↓ 8 callersMethodview
Builder: set view filter.
atomic-cli/src/commands/log/command.rs:687
↓ 8 callersMethodwalk_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 callersMethodwarn
(message: string, extra?: Record<string, unknown>)
packages/opencode-atomic-hooks/src/log.ts:56
↓ 8 callersMethodwith_ancestor
Sets the common ancestor vertex via builder pattern.
atomic-core/src/merge/types.rs:63
↓ 8 callersMethodwith_change_header
Attach a header to this entry.
atomic-repository/src/history/types.rs:162
↓ 8 callersMethodwith_context
Builder: set the number of context lines.
atomic-cli/src/commands/diff/types.rs:311
↓ 8 callersMethodwith_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 callersMethodwrite_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 callersMethodadd_conflict
Add a conflict to the result.
atomic-core/src/output/repo/repository/mod.rs:92
↓ 7 callersMethodadd_files_touched
Add files to the accumulated files_touched list (deduplicating).
atomic-agent/src/turn/session.rs:336
↓ 7 callersMethodadd_trunk_created
(&mut self)
atomic-core/src/crdt/apply/context.rs:125
↓ 7 callersMethodadd_trunk_op
Adds a trunk operation.
atomic-core/src/record/workflow/crdt/convert/types.rs:366
↓ 7 callersMethodadd_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 callersMethodalloc_inode
(&mut self)
atomic-core/src/pristine/txn/write/mod.rs:1031
↓ 7 callersMethodappend_content
Appends content and returns the byte range.
atomic-core/src/record/workflow/crdt/convert/types.rs:384
↓ 7 callersMethodapply
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 callersMethodas_str
Returns the canonical string representation of this hook type.
atomic-agent/src/event.rs:227
↓ 7 callersMethodas_str
Returns the token content as a string (lossy UTF-8 conversion).
atomic-core/src/record/workflow/crdt/tokenize/types.rs:56
↓ 7 callersMethodat_line
(mut self, line: u32)
atomic-core/src/output/repo/conflict.rs:341
↓ 7 callersFunctionbasePayload
( sessionId: string, directory: string, )
packages/opencode-atomic-hooks/src/cli.ts:161
↓ 7 callersMethodbranch_idx
(&self)
atomic-core/src/crdt/ids.rs:166
↓ 7 callersMethodbuild
Build the provenance. # Panics Panics if vendor or model is not set.
atomic-core/src/change/provenance/builder.rs:214
↓ 7 callersFunctionbuild_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 callersMethodbuild_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 callersMethodclear_cache
(&self)
atomic-repository/src/changestore/mod.rs:562
↓ 7 callersFunctioncollect_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 callersFunctioncompress_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 callersMethodcontent
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 callersMethodcreate
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 callersFunctioncreate_test_hash
()
atomic-cli/src/commands/log/tests.rs:389
↓ 7 callersFunctioncreate_test_merkle
()
atomic-cli/src/commands/log/tests.rs:393
↓ 7 callersFunctiondecode_branch_id
(bytes: &[u8; 12])
atomic-core/src/crdt/tables.rs:293
↓ 7 callersFunctiondecode_vertex
(key: &[u8; 24])
atomic-core/src/pristine/tables.rs:793
↓ 7 callersFunctionencode_change_file_key
(change_hash: &[u8; 32], file_index: u32)
atomic-core/src/pristine/tables.rs:761
↓ 7 callersFunctionencode_session_event_key
(provenance_id: u64, seq: u64)
atomic-core/src/change/session.rs:193
↓ 7 callersMethodextract
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 callersMethodfile_idx
(&self)
atomic-core/src/crdt/ids.rs:78
↓ 7 callersFunctionformat_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:445
↓ 7 callersFunctionformat_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:470
↓ 7 callersMethodget_branch
(&self, id: BranchId)
atomic-core/src/crdt/apply/branch.rs:564
↓ 7 callersMethodget_path
(&self, _inode: Inode)
atomic-core/src/record/context.rs:848
↓ 7 callersMethodget_trunk_by_path
(&self, _path: &str)
atomic-core/src/crdt/apply/leaf.rs:489
↓ 7 callersMethodget_vertex
(&self, id: VertexId)
atomic-core/src/output/alive/graph.rs:238
↓ 7 callersFunctionhash_a
()
atomic-core/src/apply/error.rs:622
↓ 7 callersMethodinclude_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 callersMethodinit_inode_adj
( &self, inode: Inode, node: GraphNode<NodeId>, min_flag: EdgeFlags, m
atomic-core/src/pristine/txn/read.rs:1538
↓ 7 callersMethodinsert_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 callersMethodinstall
(&self, repo_root: &Path)
atomic-agent/src/hooks/gemini_cli.rs:704
↓ 7 callersFunctioninstall_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 callersMethodinto_iter
(self)
atomic-core/src/record/workflow/record/types.rs:650
↓ 7 callersFunctioninvokeHook
( $: Shell, verb: HookVerb, payload: HookPayload, directory: string, )
packages/opencode-atomic-hooks/src/cli.ts:60
↓ 7 callersMethodis_empty
(&self)
atomic-core/src/record/workflow/globalize/file.rs:83
↓ 7 callersMethodis_empty
Check if this replacement has any effect.
atomic-core/src/diff/ops.rs:346
↓ 7 callersMethodis_empty
(&self)
atomic-core/src/change/atom.rs:227
↓ 7 callersMethodlen
(&self)
atomic-core/src/diff/inline.rs:238
↓ 7 callersMethodlen
Get the number of changes in the store.
atomic-core/src/change/store.rs:372
↓ 7 callersMethodlen_vertices
(&self)
atomic-core/src/output/alive/graph.rs:148
↓ 7 callersFunctionlifecycle
(run_id: &str, owner: &str, workdir: &Path, expires_at: i64)
atomic-cli/src/commands/agent/lifecycle.rs:600
↓ 7 callersFunctionmake_branch
()
atomic-core/src/crdt/branch.rs:556
↓ 7 callersFunctionmake_change
Create a change with the given content bytes and return its hash.
atomic-core/src/merge/engine.rs:415
↓ 7 callersFunctionmake_external_vertex
(hash: Option<Hash>, start: u64, end: u64)
atomic-core/src/apply/position.rs:329
↓ 7 callersFunctionmake_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 callersMethodmark_visited
(&mut self)
atomic-core/src/output/alive/vertex.rs:369
↓ 7 callersMethodmax_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 callersFunctionmock_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 callersMethodnext_inode_adj
( &self, adj: &mut crate::pristine::InodeAdjState, )
atomic-core/src/pristine/txn/read.rs:1572
↓ 7 callersMethodnode_text
Get the text content of a node.
atomic-semantic/src/parsers/python.rs:346
↓ 7 callersMethodpath
Get a reference to the guarded path.
atomic-cli/src/commands/clone/helpers.rs:292
↓ 7 callersMethodpeek_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 callersMethodprefix
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 callersMethodprefix
Set the prefix filter.
atomic-core/src/output/repo/repository/types.rs:97
↓ 7 callersMethodpublic_key_base32
Get the public key as a base32 string.
atomic-identity/src/identity.rs:330
↓ 7 callersMethodput_inode_graph
( &mut self, inode: Inode, node: GraphNode<NodeId>, edge: SerializedGraphEdge,
atomic-core/src/pristine/txn/write/mod.rs:384
↓ 7 callersMethodrecord_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 callersFunctionremove_atomic_hooks
(matchers: &mut Vec<ClaudeHookMatcher>)
atomic-agent/src/hooks/claude_code/settings.rs:196
↓ 7 callersMethodrun
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 callersMethodserialize
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 callersFunctionserialize_edge
(edge: &SerializedGraphEdge)
atomic-core/src/pristine/txn/helpers.rs:20
↓ 7 callersFunctionsession_end_event
(session_id: &str)
atomic-agent/src/turn/orchestrator/tests.rs:38
↓ 7 callersMethodset_columns
Set the columns with full configuration. Use this when you need to customize alignment or width constraints. # Arguments `columns` - The column con
atomic-cli/src/output/table.rs:358
↓ 7 callersMethodset_current_view
Set the current view (internal, does not update working copy). Update the view pointer on disk without materializing. This updates both the in-memor
atomic-repository/src/repository/mod.rs:614
↓ 7 callersMethodset_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 callersMethodset_position
Set the position.
atomic-core/src/record/workflow/record/types.rs:327
↓ 7 callersFunctionsuccess
Format a success message in green. Use this for positive outcomes, confirmations, and success states. # Arguments `text` - The text to format # Re
atomic-cli/src/output/colors.rs:168
↓ 7 callersMethodsuggestion
Get a suggestion for how to resolve this error. Returns a human-readable suggestion that can help users understand what action to take to resolve the
atomic-cli/src/error.rs:485
↓ 7 callersMethodto_postcard_bytes
Serialize this payload to postcard bytes. This is a convenience wrapper around [`postcard::to_allocvec`]. The caller typically compresses the result
atomic-core/src/change/format_v3/sections.rs:280
↓ 7 callersFunctiontokenize_for_fts
Tokenize text for the FTS inverted index. Extracts lowercase alphanumeric words of length >= 3, filtering out stop words (common English + programmin
atomic-core/src/pristine/tables.rs:733
↓ 7 callersMethodtrunk
(self, trunk_id: TrunkId)
atomic-core/src/crdt/apply/conflict.rs:440
↓ 7 callersMethodtry_get_vertex
(&self, id: VertexId)
atomic-core/src/output/alive/graph.rs:254
↓ 7 callersMethodvault_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:529
↓ 7 callersMethodwith_change
(mut self, hash: Hash)
atomic-core/src/output/repo/conflict.rs:291
← previousnext →601–700 of 14,282, ranked by callers