Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ functions
Functions
14,266 in github.com/atomicdotdev/atomic
⨍
Functions
14,266
◇
Types & classes
1,144
↓ 1,916 callers
Method
unwrap
(self)
atomic-core/src/types/position.rs:105
↓ 501 callers
Method
clone
(&self)
atomic-core/src/change/store.rs:408
↓ 482 callers
Method
get
* 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 callers
Method
push
Add an operation to the result.
atomic-core/src/diff/ops.rs:420
↓ 292 callers
Function
write
(path: &Path, value: &Value)
atomic-agent/src/hooks/manifest.rs:347
↓ 274 callers
Method
path
Get the file path relative to the repository root.
atomic-repository/src/status.rs:333
↓ 228 callers
Method
iter
Iterate over all operations.
atomic-core/src/diff/ops.rs:455
↓ 201 callers
Method
path
Get the file path where this conflict occurs.
atomic-core/src/output/mod.rs:301
↓ 164 callers
Method
path
Builder: set path filter.
atomic-cli/src/commands/log/command.rs:681
↓ 153 callers
Method
as_ref
(&self)
atomic-core/src/diff/line.rs:360
↓ 139 callers
Method
insert
Create an Insert operation.
atomic-core/src/diff/ops.rs:123
↓ 135 callers
Method
is_empty
(&self)
atomic-cli/src/commands/git/parallel.rs:236
↓ 134 callers
Method
write_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 callers
Method
commit
(self)
atomic-core/src/pristine/txn/write/mod.rs:1150
↓ 127 callers
Method
as_bytes
(&self)
atomic-core/src/types/hash.rs:107
↓ 111 callers
Method
contains
Check if a line number is in this range.
atomic-core/src/change/credit.rs:577
↓ 111 callers
Method
contains
Check if a remote with the given name exists.
atomic-repository/src/remote.rs:409
↓ 108 callers
Method
iter
Iterate over all remotes.
atomic-repository/src/remote.rs:636
↓ 104 callers
Method
read_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 callers
Function
create_temp_repo
()
atomic-repository/src/repository/tests/mod.rs:22
↓ 82 callers
Method
iter
Get an iterator over file statistics.
atomic-cli/src/commands/diff/types.rs:231
↓ 81 callers
Method
remove
* Remove a session from the store. No-op if it doesn't exist.
packages/opencode-atomic-hooks/src/session.ts:100
↓ 76 callers
Method
len
Get the number of cells in this row.
atomic-cli/src/output/table.rs:201
↓ 76 callers
Method
len
Number of cached entries.
atomic-remote/src/sync.rs:188
↓ 75 callers
Method
iter
Returns an iterator over all registered agent adapters.
atomic-agent/src/hooks/mod.rs:410
↓ 75 callers
Method
len
Get the number of operations.
atomic-core/src/diff/ops.rs:425
↓ 74 callers
Method
insert
Insert a new entry into the cache.
atomic-remote/src/sync.rs:193
↓ 74 callers
Function
print_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 callers
Method
is_none
(&self)
atomic-core/src/types/hash.rs:142
↓ 71 callers
Method
kind
(&self)
atomic-core/src/crdt/leaf.rs:181
↓ 70 callers
Method
len
(&self)
atomic-core/src/record/workflow/crdt/tokenize/types.rs:68
↓ 66 callers
Method
insert
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 callers
Function
added
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 callers
Method
build
Build the `SessionEnvelope`.
atomic-agent/src/envelope.rs:551
↓ 61 callers
Method
into_iter
(self)
atomic-core/src/diff/ops.rs:551
↓ 61 callers
Method
len
(&self)
atomic-repository/src/changestore/cache.rs:119
↓ 59 callers
Method
as_str
(&self)
atomic-core/src/pristine/vault.rs:23
↓ 58 callers
Method
init_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 callers
Method
status
Get the file's status.
atomic-repository/src/status.rs:338
↓ 57 callers
Method
lines
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 callers
Function
temp_fs
Create a FileSystem rooted at a temporary directory.
atomic-core/src/output/filesystem/tests.rs:17
↓ 55 callers
Method
is_dir
Check if this is a directory. # Returns `true` if this metadata represents a directory.
atomic-core/src/record/item.rs:387
↓ 54 callers
Method
add
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 callers
Method
is_empty
Check if the view is empty (has no changes).
atomic-repository/src/repository/views.rs:38
↓ 53 callers
Method
get_mut
Get a mutable reference to a remote by name.
atomic-repository/src/remote.rs:404
↓ 53 callers
Method
parent
Get the parent directory of the path.
atomic-core/src/change/local.rs:104
↓ 52 callers
Method
as_str
Returns the canonical string representation.
atomic-agent/src/turn/phase.rs:155
↓ 51 callers
Method
as_str
Returns the string representation for use in query parameters.
atomic-remote/src/streaming/types.rs:62
↓ 51 callers
Method
exists
Check if an identity exists in the store.
atomic-identity/src/store.rs:658
↓ 50 callers
Method
contains_key
Check if a key is in the cache without updating access time.
atomic-repository/src/changestore/cache.rs:101
↓ 50 callers
Function
find_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 callers
Method
push
Push an element onto the path.
atomic-core/src/output/alive/order.rs:200
↓ 50 callers
Method
with_signature
Builder method to set signature
atomic-semantic/src/entity.rs:202
↓ 49 callers
Method
add
Add a key-value pair.
atomic-cli/src/output/table.rs:549
↓ 49 callers
Method
get_view
(&self)
atomic-repository/src/record/options.rs:321
↓ 47 callers
Function
deserialize
(deserializer: D)
atomic-remote/src/streaming/types.rs:183
↓ 47 callers
Function
make_hook
()
atomic-agent/src/hooks/cline.rs:516
↓ 46 callers
Method
build
Build the change header. # Panics Panics if no message has been set.
atomic-core/src/change/header.rs:377
↓ 46 callers
Method
to_base32
(&self)
atomic-core/src/types/hash.rs:263
↓ 45 callers
Method
next
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 callers
Method
add
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 callers
Method
clone
(&self)
atomic-core/src/record/context.rs:292
↓ 44 callers
Function
print_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 callers
Method
push
Add an edge modification.
atomic-core/src/change/atom.rs:336
↓ 43 callers
Method
iter
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 callers
Method
children
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 callers
Method
current_view
(&self)
atomic-repository/src/repository/mod.rs:571
↓ 42 callers
Method
is_empty
Returns `true` if no agents are registered.
atomic-agent/src/hooks/mod.rs:371
↓ 42 callers
Function
print_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 callers
Method
record
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 callers
Method
vault_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 callers
Method
add_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 callers
Method
is_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 callers
Method
add_file
Add a recorded file.
atomic-core/src/record/workflow/record/types.rs:545
↓ 39 callers
Function
make_hash
Helper: create a hash filled with a single byte value.
atomic-core/src/change/format_v3/hash_table.rs:757
↓ 38 callers
Method
clear
* Remove all sessions from the store.
packages/opencode-atomic-hooks/src/session.ts:163
↓ 38 callers
Method
path
Get the path being written.
atomic-core/src/output/filesystem/mod.rs:128
↓ 38 callers
Method
to_base32
Encode the public key as base32
atomic-identity/src/keypair.rs:46
↓ 37 callers
Method
count
(&self)
atomic-core/src/crdt/apply/conflict.rs:554
↓ 37 callers
Function
modified
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 callers
Method
exists
Check if a path exists.
atomic-core/src/output/filesystem/mod.rs:92
↓ 36 callers
Method
is_root
(&self)
atomic-core/src/crdt/ids.rs:84
↓ 36 callers
Function
make_session
()
atomic-agent/src/turn/session.rs:687
↓ 35 callers
Function
make_hook
()
atomic-agent/src/hooks/copilot.rs:504
↓ 35 callers
Function
make_hook
()
atomic-agent/src/hooks/cursor.rs:795
↓ 35 callers
Function
map_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 callers
Function
transition
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 callers
Method
walk
Recursive walker that stops descending into ignored directories.
atomic-repository/src/repository/switch.rs:379
↓ 35 callers
Method
with_all
(mut self, all: bool)
atomic-repository/src/record/options.rs:128
↓ 34 callers
Method
parse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/cline.rs:231
↓ 34 callers
Method
push_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 callers
Method
build
(self)
atomic-core/src/crdt/apply/options.rs:514
↓ 33 callers
Function
deleted
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 callers
Method
extend
(&mut self, iter: T)
atomic-core/src/crdt/apply/conflict.rs:663
↓ 33 callers
Function
hash
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 callers
Function
make_event
()
atomic-agent/src/record/tests.rs:27
↓ 33 callers
Function
make_hook
()
atomic-agent/src/hooks/claude_code/tests.rs:15
↓ 33 callers
Function
make_session
()
atomic-agent/src/record/tests.rs:19
↓ 32 callers
Method
append_goal
Append a goal node (human prompt). Returns the new node's ID.
atomic-agent/src/provenance/accumulator/append.rs:14
↓ 32 callers
Method
author
Add an author.
atomic-core/src/change/header.rs:361
next →
1–100 of 14,266, ranked by callers