MCPcopy Create free account

hub / github.com/atomicdotdev/atomic / functions

Functions14,266 in github.com/atomicdotdev/atomic

↓ 1,916 callersMethodunwrap
(self)
atomic-core/src/types/position.rs:105
↓ 501 callersMethodclone
(&self)
atomic-core/src/change/store.rs:408
↓ 482 callersMethodget
* Get the session state for `id`, creating it if it doesn't exist. * * This is the primary access method. Callers never need to check * exist
packages/opencode-atomic-hooks/src/session.ts:90
↓ 471 callersMethodpush
Add an operation to the result.
atomic-core/src/diff/ops.rs:420
↓ 292 callersFunctionwrite
(path: &Path, value: &Value)
atomic-agent/src/hooks/manifest.rs:347
↓ 274 callersMethodpath
Get the file path relative to the repository root.
atomic-repository/src/status.rs:333
↓ 228 callersMethoditer
Iterate over all operations.
atomic-core/src/diff/ops.rs:455
↓ 201 callersMethodpath
Get the file path where this conflict occurs.
atomic-core/src/output/mod.rs:301
↓ 164 callersMethodpath
Builder: set path filter.
atomic-cli/src/commands/log/command.rs:681
↓ 153 callersMethodas_ref
(&self)
atomic-core/src/diff/line.rs:360
↓ 139 callersMethodinsert
Create an Insert operation.
atomic-core/src/diff/ops.rs:123
↓ 135 callersMethodis_empty
(&self)
atomic-cli/src/commands/git/parallel.rs:236
↓ 134 callersMethodwrite_txn
Begin a read-write transaction Only one write transaction can be active at a time. The transaction must be explicitly committed with `commit()` or it
atomic-core/src/pristine/txn/pristine.rs:289
↓ 129 callersMethodcommit
(self)
atomic-core/src/pristine/txn/write/mod.rs:1150
↓ 127 callersMethodas_bytes
(&self)
atomic-core/src/types/hash.rs:107
↓ 111 callersMethodcontains
Check if a line number is in this range.
atomic-core/src/change/credit.rs:577
↓ 111 callersMethodcontains
Check if a remote with the given name exists.
atomic-repository/src/remote.rs:409
↓ 108 callersMethoditer
Iterate over all remotes.
atomic-repository/src/remote.rs:636
↓ 104 callersMethodread_txn
Begin a read-only transaction Read transactions can run concurrently with other read transactions and with a single write transaction.
atomic-core/src/pristine/txn/pristine.rs:279
↓ 100 callersFunctioncreate_temp_repo
()
atomic-repository/src/repository/tests/mod.rs:22
↓ 82 callersMethoditer
Get an iterator over file statistics.
atomic-cli/src/commands/diff/types.rs:231
↓ 81 callersMethodremove
* Remove a session from the store. No-op if it doesn't exist.
packages/opencode-atomic-hooks/src/session.ts:100
↓ 76 callersMethodlen
Get the number of cells in this row.
atomic-cli/src/output/table.rs:201
↓ 76 callersMethodlen
Number of cached entries.
atomic-remote/src/sync.rs:188
↓ 75 callersMethoditer
Returns an iterator over all registered agent adapters.
atomic-agent/src/hooks/mod.rs:410
↓ 75 callersMethodlen
Get the number of operations.
atomic-core/src/diff/ops.rs:425
↓ 74 callersMethodinsert
Insert a new entry into the cache.
atomic-remote/src/sync.rs:193
↓ 74 callersFunctionprint_success
Print a success message to stdout. The message is formatted in green with a checkmark prefix. # Arguments `message` - The message to print # Examp
atomic-cli/src/output/mod.rs:85
↓ 72 callersMethodis_none
(&self)
atomic-core/src/types/hash.rs:142
↓ 71 callersMethodkind
(&self)
atomic-core/src/crdt/leaf.rs:181
↓ 70 callersMethodlen
(&self)
atomic-core/src/record/workflow/crdt/tokenize/types.rs:68
↓ 66 callersMethodinsert
Insert an entry into the cache. If the cache is at capacity, the least recently used entry is evicted first.
atomic-repository/src/changestore/cache.rs:77
↓ 61 callersFunctionadded
Format added content in green. Use this for newly added files, lines, or content. # Arguments `text` - The text to format # Returns A styled obje
atomic-cli/src/output/colors.rs:276
↓ 61 callersMethodbuild
Build the `SessionEnvelope`.
atomic-agent/src/envelope.rs:551
↓ 61 callersMethodinto_iter
(self)
atomic-core/src/diff/ops.rs:551
↓ 61 callersMethodlen
(&self)
atomic-repository/src/changestore/cache.rs:119
↓ 59 callersMethodas_str
(&self)
atomic-core/src/pristine/vault.rs:23
↓ 58 callersMethodinit_vault
Initialize the vault in this repository. Creates the vault tables in the pristine database and the `.vault/` directory structure on disk. This is ide
atomic-repository/src/repository/vault.rs:43
↓ 58 callersMethodstatus
Get the file's status.
atomic-repository/src/status.rs:338
↓ 57 callersMethodlines
Create a line splitter using the default newline separator. Convenience method equivalent to `LineSplit::new(content, &Separator::Newline)`.
atomic-core/src/diff/split.rs:197
↓ 56 callersFunctiontemp_fs
Create a FileSystem rooted at a temporary directory.
atomic-core/src/output/filesystem/tests.rs:17
↓ 55 callersMethodis_dir
Check if this is a directory. # Returns `true` if this metadata represents a directory.
atomic-core/src/record/item.rs:387
↓ 54 callersMethodadd
Add a file or directory to tracking. This registers the file with the repository so it will be included in future changes. Adding a file does NOT cre
atomic-repository/src/repository/tracking.rs:40
↓ 54 callersMethodis_empty
Check if the view is empty (has no changes).
atomic-repository/src/repository/views.rs:38
↓ 53 callersMethodget_mut
Get a mutable reference to a remote by name.
atomic-repository/src/remote.rs:404
↓ 53 callersMethodparent
Get the parent directory of the path.
atomic-core/src/change/local.rs:104
↓ 52 callersMethodas_str
Returns the canonical string representation.
atomic-agent/src/turn/phase.rs:155
↓ 51 callersMethodas_str
Returns the string representation for use in query parameters.
atomic-remote/src/streaming/types.rs:62
↓ 51 callersMethodexists
Check if an identity exists in the store.
atomic-identity/src/store.rs:658
↓ 50 callersMethodcontains_key
Check if a key is in the cache without updating access time.
atomic-repository/src/changestore/cache.rs:101
↓ 50 callersFunctionfind_repository_root
Find the repository root by searching upward from the current directory. This function starts at the current working directory and walks up the direc
atomic-cli/src/commands/mod.rs:242
↓ 50 callersMethodpush
Push an element onto the path.
atomic-core/src/output/alive/order.rs:200
↓ 50 callersMethodwith_signature
Builder method to set signature
atomic-semantic/src/entity.rs:202
↓ 49 callersMethodadd
Add a key-value pair.
atomic-cli/src/output/table.rs:549
↓ 49 callersMethodget_view
(&self)
atomic-repository/src/record/options.rs:321
↓ 47 callersFunctiondeserialize
(deserializer: D)
atomic-remote/src/streaming/types.rs:183
↓ 47 callersFunctionmake_hook
()
atomic-agent/src/hooks/cline.rs:516
↓ 46 callersMethodbuild
Build the change header. # Panics Panics if no message has been set.
atomic-core/src/change/header.rs:377
↓ 46 callersMethodto_base32
(&self)
atomic-core/src/types/hash.rs:263
↓ 45 callersMethodnext
Compute the next state by incorporating another hash. This is the core operation for incremental Merkle state: `next_state = Hash(current_state || ch
atomic-core/src/types/hash.rs:127
↓ 44 callersMethodadd
Add a new remote. # Arguments `name` - The name for the new remote `entry` - The remote configuration # Errors Returns an error if: - A remote wit
atomic-repository/src/remote.rs:476
↓ 44 callersMethodclone
(&self)
atomic-core/src/record/context.rs:292
↓ 44 callersFunctionprint_warning
Print a warning message to stderr. The message is formatted in yellow with a warning prefix. # Arguments `message` - The message to print # Exampl
atomic-cli/src/output/mod.rs:121
↓ 44 callersMethodpush
Add an edge modification.
atomic-core/src/change/atom.rs:336
↓ 43 callersMethoditer
Returns an iterator over all (index, hash) pairs in table order. The iterator yields entries in index order (0, 1, 2, ...). # Examples ```rust use
atomic-core/src/change/format_v3/hash_table.rs:498
↓ 42 callersMethodchildren
Iterate over a span's children. This includes both the children in the shared array and any extra children attached to the span. # Arguments `id` -
atomic-core/src/output/alive/graph.rs:276
↓ 42 callersMethodcurrent_view
(&self)
atomic-repository/src/repository/mod.rs:571
↓ 42 callersMethodis_empty
Returns `true` if no agents are registered.
atomic-agent/src/hooks/mod.rs:371
↓ 42 callersFunctionprint_hint
Print a hint/suggestion message to stdout. The message is formatted in dim style, typically used for guiding users on what to do next. # Arguments
atomic-cli/src/output/mod.rs:157
↓ 42 callersMethodrecord
This is the main entry point for creating a change from working copy modifications. It detects changes, creates hunks, globalizes positions, and assem
atomic-repository/src/repository/record.rs:45
↓ 41 callersMethodvault_store
Store content in the vault. Creates a `VaultEntry` from the given parameters, stores it in the database, and updates the manifest atomically. Returns
atomic-repository/src/repository/vault.rs:156
↓ 40 callersMethodadd_file
Add a file with the given contents. This is a convenience method for testing. Creates parent directories automatically. # Example ```rust use atomi
atomic-core/src/output/memory.rs:314
↓ 40 callersMethodis_empty
Returns `true` if no files changed during this turn. An empty turn produces no Atomic change — the orchestrator silently skips recording.
atomic-agent/src/event.rs:517
↓ 39 callersMethodadd_file
Add a recorded file.
atomic-core/src/record/workflow/record/types.rs:545
↓ 39 callersFunctionmake_hash
Helper: create a hash filled with a single byte value.
atomic-core/src/change/format_v3/hash_table.rs:757
↓ 38 callersMethodclear
* Remove all sessions from the store.
packages/opencode-atomic-hooks/src/session.ts:163
↓ 38 callersMethodpath
Get the path being written.
atomic-core/src/output/filesystem/mod.rs:128
↓ 38 callersMethodto_base32
Encode the public key as base32
atomic-identity/src/keypair.rs:46
↓ 37 callersMethodcount
(&self)
atomic-core/src/crdt/apply/conflict.rs:554
↓ 37 callersFunctionmodified
Format modified content in yellow. Use this for changed files or content that has been modified. # Arguments `text` - The text to format # Returns
atomic-cli/src/output/colors.rs:318
↓ 36 callersMethodexists
Check if a path exists.
atomic-core/src/output/filesystem/mod.rs:92
↓ 36 callersMethodis_root
(&self)
atomic-core/src/crdt/ids.rs:84
↓ 36 callersFunctionmake_session
()
atomic-agent/src/turn/session.rs:687
↓ 35 callersFunctionmake_hook
()
atomic-agent/src/hooks/copilot.rs:504
↓ 35 callersFunctionmake_hook
()
atomic-agent/src/hooks/cursor.rs:795
↓ 35 callersFunctionmap_remote_error
Inspect a [`atomic_remote::RemoteError`] and convert HTTP 404 responses into a context-specific [`TeamsError`] using the provided constructor, and HTT
atomic-teams/src/error.rs:52
↓ 35 callersFunctiontransition
Compute the next phase and required actions given the current phase and an event. This is a **pure function** with no side effects. The caller (orche
atomic-agent/src/turn/phase.rs:452
↓ 35 callersMethodwalk
Recursive walker that stops descending into ignored directories.
atomic-repository/src/repository/switch.rs:379
↓ 35 callersMethodwith_all
(mut self, all: bool)
atomic-repository/src/record/options.rs:128
↓ 34 callersMethodparse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/cline.rs:231
↓ 34 callersMethodpush_vertex
Push a span onto the graph. Returns the `VertexId` assigned to this span. # Arguments `span` - The span to add # Returns The ID that can be used
atomic-core/src/output/alive/graph.rs:184
↓ 33 callersMethodbuild
(self)
atomic-core/src/crdt/apply/options.rs:514
↓ 33 callersFunctiondeleted
Format deleted content in red. Use this for removed files, lines, or content. # Arguments `text` - The text to format # Returns A styled object t
atomic-cli/src/output/colors.rs:297
↓ 33 callersMethodextend
(&mut self, iter: T)
atomic-core/src/crdt/apply/conflict.rs:663
↓ 33 callersFunctionhash
Format a hash in dim style. Use this for change hashes, state hashes, or other identifiers. # Arguments `text` - The hash to format # Returns A s
atomic-cli/src/output/colors.rs:383
↓ 33 callersFunctionmake_event
()
atomic-agent/src/record/tests.rs:27
↓ 33 callersFunctionmake_hook
()
atomic-agent/src/hooks/claude_code/tests.rs:15
↓ 33 callersFunctionmake_session
()
atomic-agent/src/record/tests.rs:19
↓ 32 callersMethodappend_goal
Append a goal node (human prompt). Returns the new node's ID.
atomic-agent/src/provenance/accumulator/append.rs:14
↓ 32 callersMethodauthor
Add an author.
atomic-core/src/change/header.rs:361
next →1–100 of 14,266, ranked by callers